Re: Update source.xml
Hi, Ian, In a word, no. In more than a word, XSL cannot modify the source document. The names of the documents (particularly source.xml) in that post are probably confusing the issue, so let's use different names. Suppose you have an XML document named X and an XSL transform named Y and you want to create a new XML document (Z) by applying Y to X. That'll work. But suppose you want Y to change X. That won't work. X is the source document and its content can be transformed into a new document by Y, but Y can't change the source document, X. Of course, you can apply Y to X and get Z and then, outside of XSLT, replace X with Z. HTH Jay Bryant Bryant Communication Services (presently consulting at Synergistic Solution Technologies) "Powell, Ian" <ian.powell@xxxxxxxxxxxxxx> 11/17/2005 10:38 AM Please respond to xsl-list@xxxxxxxxxxxxxxxxxxxxxx To <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> cc Subject Update source.xml A couple of months ago there was a thread which updated one xml file from another. (The file to update was source.xml from update.xml) The xsl ran on source.xml and produced the correct result as xml. This question will sound stupid but is it possible to update the source.xml file directly? (from xsl). Sorry, but I'm new to this stuff... -- Ian
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