[Home] [By Thread] [By Date] [Recent Entries]

  • To: Jeff Lowery <jlowery@s...>
  • Subject: RE: Quick filter pattern question (XSLT)
  • From: Jeff Lowery <jlowery@s...>
  • Date: Wed, 4 Dec 2002 18:42:18 -0800
  • Cc: "'Xml-Dev (E-mail)'" <xml-dev@l...>

> <xsl:template match="any[@ID='typename\n']"> 

Call off the hounds. 

The expression:

<xsl:template match="any[starts-with(@ID, 'typename')]">

works fair enough. Doesn't enforce numerics at the end, though.  I suppose
there might be an ends-with expression that would do that, although I can't
think of what it would be.

Thank you for participating in XSLT 101.   Now back to our regular scheduled
programming....


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member