[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
RE: [xml-dev] Towards XML 2.0
- From: "David Lee" <dlee@calldei.com>
- To: "'Andrew Welch'" <andrew.j.welch@gmail.com>, "'David Carlisle'" <davidc@nag.co.uk>
- Date: Thu, 9 Dec 2010 08:27:04 -0500
You cant do that with JSON either becaues you have to escape Quotes and \\
Quotes are prety commonly used in 'plain text'
====================
If it was just a string, you could construct the xml by concatenating
strings and then write it to disk, job done, no problems.
Currently you have to use a proper serialiser (because of namespaces,
encoding, escaping etc), and doing that requires a fair amount of
effort - you have to use (and learn) a library of some kind and write
lines and lines of code... all of which baffles and frustrates a
non-xml dev when all they want to do is create some simple xml.
--
Andrew Welch
http://andrewjwelch.com
_______________________________________________________________________
XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.
[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: xml-dev-unsubscribe@lists.xml.org
subscribe: xml-dev-subscribe@lists.xml.org
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]