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

[no subject]

From: mbrown@xxxxxxxxxxxxx (Mike Brown)
Date: Thu, 9 Mar 2000 11:59:59 GMT
[no subject]
> Carmelo Montanez wrote:
> Is there any quick way to have the same xslt stylesshet
> read and process multiple xml files in sequence?

You can refer to multiple XML documents from within a stylesheet via the document() function, e.g. 

<xsl:variable name="doc1_root" select="document('doc1.xml')"/>
<xsl:variable name="doc2_root" select="document('doc2.xml')"/>
<xsl:text>&#xA;some data from doc1: </xsl:text>
<xsl:value-of select="$doc1_root/path/to/some/textnodes"/>
<xsl:text>&#xA;some data from doc2: </xsl:text>
<xsl:value-of select="$doc2_root/path/to/some/textnodes"/>

At least, I think that's what you're asking.

   - Mike
___________________________________________________________
Mike J. Brown, software engineer, Webb Interactive Services
XML/XSL stuff: http://www.skew.org/    http://www.webb.net/


 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.