[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Fw: Match pattern
The pattern match="*[SomeElement]" does work, while match=".[SomeElement]" doesn't, at least in my version of XT. Thanks for everyone who replied. It still seems to me as though "./SomeElement" should be a valid match pattern, since I can't find a restriction of match petterns to absolute patterns. As Dieter correctly pointed out, however, this is equivalent to "SomeElement" under the current rules. Does anyone know why the rule isn't simply that: <xsl:template match="pattern">...</xsl:template> Would be equivalent to: <xsl:template match=everything> <xsl:if test="pettern">...</xsl:if> </xsl:template> What's the advantage of the current rule? Share & Enjoy, Oren Ben-Kiki XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|