RE: [xsl] multiple xml files

Subject: RE: [xsl] multiple xml files
From: "Kevin Collins" <kcollins@xxxxxxx>
Date: Tue, 8 Oct 2002 15:51:10 -0400
Kate,

>     With xslTemplate
>         .input = xmlSource
>         .output = xmlResult
>         .addParameter "DocPath", "c:\temp\MyDoc.xml"
>         .transform
>     End With

This code just passes the path to the other xml file as a parameter to
the stylesheet. It could work for your purpose, and you could add as
many .addParameter calls (and matching <xsl:param> elements) as
necessary, but that would constrain you to a set number of external xml
files.

I think a better solution would be to add (dynamically) an xml section
to your source document containing URI references to the other xml
files, and then use document() in your xsl to access them.

Kevin 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread