|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: selecting multiple attributes
Try "and" E.g. <xsl:template match="sect1[@lang = 'ger' and @id = 'news']"> Note also that it is not permitted to have a VariableReference in your match attribute for the <xsl:template> element. This is to prevent circular references. Rgs, Ben -----Original Message----- From: Hubert Holtz [mailto:Turnhose_alt@xxxxxxx] Sent: 02 January 2003 13:29 To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx Subject: selecting multiple attributes Hy, how can I check an element for more than one attribute? Example: --- code ------- <sect1 id="news" lang="ger"> ------------------- I only know how to slect one : <xsl:template match="sect1[@lang= $lang]"> but is there something like an logical and? Thanks Homer30 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list 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
|

Cart








