[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Excluding text fragments
Hi, we have text in HTML as a part of our documents. Additionally we use attributes to express several special semantics of the HTML elment. Dependant on the value of such an attribute we want to exclude the text fragment in the output. So, i have the following xsl: ... <xsl:template match="*[@type='a'] | *[@type='b'] | ..."> </xsl:template> Instead of this the following would be possible: <xsl:template match="*[@type='a']"> </xsl:template> <xsl:template match="*[@type='b']"> </xsl:template> ... Which is the best (most efficient) way to exclude such text fragments? Best Regards Thomas.
|
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
|