Variable import or include
Mahomedalid <[email protected]> 4 May 2007 11:12:56 -0700
| Newsgroups | gmane.comp.mozilla.devel.layout.xslt |
|---|---|
| Organization | http://groups.google.com |
| Message-ID | <[email protected]> |
Anyone knows how i can import or include a xslt stylesheet with variable URI? Example: The value of the param "variable_uri" it's variable. (index.xml) <?xml version="1.0" encoding="ISO-8859-1"?> <?xslt-param name="variable_uri" value="some_uri.xslt"?> <?xml-stylesheet type="text/xsl" href="SomeXSLT.xslt" ?> <i:Page xmlns:i="http://www.innox.net/i" /> (other_page.xml) <?xml version="1.0" encoding="ISO-8859-1"?> <?xslt-param name="variable_uri" value="another_uri.xslt"?> <?xml-stylesheet type="text/xsl" href="SomeXSLT.xslt" ?> <i:Page xmlns:i="http://www.innox.net/i" /> (SomeXSLT.xslt) <?xml version="1.0" encoding="ISO-8859-1" ?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:output method="html" /> <!-- include variable xslt ??? --> <xsl:include href="..." ??? ... </xsl:stylesheet> ~