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