Comments (3)
I'm having the same exact issue. I was hoping to pass-in a simple Json object and get a propper output, after all:
xmlObject
xmlObject is a _normal_ JavaScript Object/JSON object that defines the data for the XML string.
from node-xml.
Same problem.
from node-xml.
As far as I understand, JSON structure needs to be little more specific (as described in tutorial, nested objects). Each xml node should be an object itself, so, for example, in first case, proper JSON should be
var input = [{x:'abc},{y:'def'},{w:100}];
That would generate valid xml.
from node-xml.
Related Issues (20)
- XML namespace HOT 3
- Streams not ended properly HOT 2
- Elements with dashes "-" HOT 1
- Converting arrays HOT 2
- Self closing empty tags HOT 5
- Unable to stream to file HOT 2
- stream with multiple input HOT 1
- console log prettified xml? HOT 2
- Array with null elements crashes program HOT 1
- Support for doctypes and DTDs
- Processing instructions are incorrectly closed
- Multiple mixed content being ignored HOT 3
- ResultS of complicated content are wrong HOT 1
- Dependency on Stream Library HOT 2
- Self-closing tag HOT 1
- How to include a xsl stylesheet? HOT 3
- Contributions access
- It is giving error while working with keys having : in it HOT 1
- Security concern
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-xml.