Re: How to make an XMLDocument as a parameter in a XSLT transformation ?

Peter Van der Beken <[email protected]>
Newsgroups gmane.comp.mozilla.devel.layout.xslt
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
Martin Honnen wrote:
> You could pass in the URL of the secondary XML to the stylesheet and 
> then in the stylesheet use the XSLT function named document e.g.
>   <xsl:param name="xmlURL" />
> 
>   <xsl:value-of select="document($xmlURL)//text[@id=current()/@id]"/>
> 
> That approach should be portable between XSLT processors.

Yes, that would be the most elegant solution. If you can't do that, 
you're stuck until https://bugzilla.mozilla.org/show_bug.cgi?id=248025 
is fixed.

Peter
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.