xsl-list
[Top] [All Lists]

Patterns usage in XSLT template rules

2005-05-02 05:13:25
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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>