[Home] [By Thread] [By Date] [Recent Entries]
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@l... subscribe: xml-dev-subscribe@l... 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] |

Cart



