[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()

Subject: RE: pre process xml that is imported via document()
From: "Andrew Welch" <awelch@xxxxxxxxxxxxxxx>
Date: Thu, 27 Jun 2002 14:16:23 +0100
pre process
>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


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.