[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Appending to an XML document
On Fri, 10 Dec 1999, Don Park wrote: > IMHO, this is a parser implementation problem. > I do not know of a single XML parser that expects > more than one XML document in a file or a stream > input. I tend to agree here. If a DOM parser encounters more than one root element, it could easily create a root element, say by grabbing the name of the file. If a SAX parser encounters more than one root element, it should just proceed by ending the first 'root' element, and then starting the next one. The only alternative is to have your log file open a root element and then never terminate it -- I think the parser should handle this as well. Why would this be a problem? Clark xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1 To unsubscribe, mailto:majordomo@i... the following message; unsubscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
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
|