xsl-list
[Top] [All Lists]

RE: multiple xml files

2002-10-08 12:51:10
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



<Prev in Thread] Current Thread [Next in Thread>