[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Appending to an XML document

Subject: Re: Appending to an XML document
From: Phil Lanch <phil@xxxxxxxxxxxxxxx>
Date: Mon, 13 Dec 1999 11:38:41 +0000
simple script to append xml
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.