|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Appending to an XML document
Or use a simple wrapper script which, given the logfile name, outputs <log> ...the contents of the logfile... </log> and pass that script's output to your XML parser. Ross Bleakney wrote: > > The advantage of having the document be well-formed XML is that you can then > run it through just about any third party parser. I agree with Larry; this > is the root of the problem (or at least my problem since I want to use a > third party parser). > > -----Original Message----- > From: uche.ogbuji@xxxxxxxxxxxxxxx [mailto:uche.ogbuji@xxxxxxxxxxxxxxx] > > > The decision to make an XML document contain just a single element is the > > root of the problem. Perhaps the specification for future versions could > > accept multiple elements in a single document. This would make > concatenation > > simple and has worked well in the lisp world which operates on similar > > structures (s-expressions) both for representation of program and data. > > While this may be the root of other problems, and I do not claim to vouch > for > all such problems, it is _not_ the root of the particular problem in > question. > I see no reason why the log file must be a well-formed XML document. Can > you > tell me what is wrong with just treating it as an external parsed entity? -- cheers phil "that monotonous state of the soul halfway between fulfillment and futility which comes with life in the country" --- Musil XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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








