|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Create XML
Title: RE: Create XML > -----Original Message-----
Why? No, seriously. For small/simple XML documents such as the OP's, I tend to use a for loop and a few print statements (mod your favourite language) rather than dragging in XML libraries and adding more complicated code. An obvious argument for using an XML API is the guarantee (?) of correct XML at the end. But for simple XML, it's not hard to do it with a string and a loop (or a string template and a replace) and get the same result. I'm certainly not advocating that using XML APIs to create documents is stupid, but surely there's a crossover point where the simplicity of the result doesn't justify the added complexity of an XML API compared to just building a string? Or have I just committed heresy? :-) PJDM
The information contained in this email and any attachments to it: (a) may be confidential and if you are not the intended recipient, any interference with, use, disclosure or copying of this material is unauthorised and prohibited; and (b) may contain personal information of the recipient and/or the sender as defined under the Privacy Act 1988 (Cth). Consent is hereby given by the recipient(s) to collect, hold and use such information and any personal information contained in a response to this email, for any reasonable purpose in the ordinary course of Spherion's business, including forwarding this email internally or disclosing it to a third party. All personal information collected by Spherion will be handled in accordance with Spherion's Privacy Policy. If you have received this email in error, please notify the sender and delete it. (c) you agree not to employ or arrange employment for any candidate(s) supplied in this email and any attachments without first entering into a contractual agreement with Spherion. You further agree not to divulge any information contained in this document to any person(s) or entities without the express permission of Spherion.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








