This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Variable in template atrribute "match" with Xalan and MSXML
- From: "Andrey Astakhov" <paranorm at yandex dot ru>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Fri, 15 Mar 2002 00:42:06 +0300 (MSK)
- Subject: [xsl] Variable in template atrribute "match" with Xalan and MSXML
- References: <A4E84C0DE2891541B51BC39A01B3C4D20D39D2@libra.swiftnet.tek>
- Reply-to: xsl-list at lists dot mulberrytech dot com
Hallo, All!
I have to work with Xalan and MSXML4.
I have such xsl style:
<xsl:param name="pMenuItemID"/>
...
<xsl:template match="id($pMenuItemID)">
...
<xsl:value-of select="@caption"/>
...
</xsl:template>
...
It works excelent with Xalan but it doesn't work with MSXML4. I get: "id($pMenuItemID)' is an invalid XPath expression."
Why so?
Best regards,
Andrey
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list