xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Patterns usage in XSLT template rules


Subject: [xsl] 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


Current Thread
Keywords
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor