Subject: Patterns usage in XSLT template rules
From: Ramkumar Menon <ramkumar.menon@xxxxxxxxx>
Date: Mon, 2 May 2005 17:43:25 +0530
|
I run into a compilation error while using this stylesheet..
<xsl:template match="(/)">
<o1:NeverPrints/>
</xsl:template>
The same repeats if the pattern were (/*), or, (child::*)
My question is:Why are these considered as invalid Patterns in XSLT ?
rgds,
Menon
It says invalid XSLT pattern. XTSE0340: XSLT Pattern syntax error at
char 0 in {(/}:
Unexpected token in pattern, found "("
--
Shift to the left, shift to the right!
Pop up, push down, byte, byte, byte!
-Ramkumar Menon
A typical Macroprocessor
|