[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
XML design for converting to and from JSON?
- From: "Costello, Roger L." <costello@mitre.org>
- To: "xml-dev@lists.xml.org" <xml-dev@lists.xml.org>
- Date: Mon, 15 Dec 2014 16:44:10 +0000
Hi Folks,
The ability to easily convert XML-formatted data into JSON-formatted data and vice versa is a good thing, I think.
If you were setting out to design some XML with a design goal that the XML can be easily converted to JSON, how would you design the XML?
Are there some features of XML that might inhibit its easy conversion to JSON? What about these features:
- Namespaces?
- Mixed content?
- Processing instructions?
- Comments?
- Attributes?
- DOCTYPE declaration?
- Entities?
- Other things?
Perhaps you have already created guidelines for XML design to enable easy conversion to JSON? If so, would you share your guidelines please?
/Roger
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]