[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: pre process xml that is imported via document()
>i need to pre process file2.xml before it can be processed in my main xslt [using document()] document() needs a valid file path, so I guess the only option with your current setup is to write the result of the 'pre process' to disk and then run the main transformation. Of course, depending the weight of the pre-processing to be done, you could probably do it all within a variable in your main stylesheet. (if you post some sample data and a sample result, someone will let you know) cheers andrew -----Original Message----- From: Joeri Belis [mailto:joeri.belis@xxxxxxxxxxxx] Sent: 26 June 2002 16:07 To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: pre process xml that is imported via document() ENV: Saxon, This is my processing structure: file1.xml file2.xml \ / \ document('file2.xml') \ / processing xslt now i need to pre process file2.xml before it can be processed in my main xslt file1.xml file2.xml \ / \ pre process \ / \ document('file2.xml') \ / processing xslt How can i do this in one go. I don't want to call saxon twice. The pre processing should add some nodes to file2.xml Thank you for any feedback, Joeri XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.350 / Virus Database: 196 - Release Date: 17/04/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.350 / Virus Database: 196 - Release Date: 17/04/2002 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
|