|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: selecting multiple attributes
On Thursday 02 January 2003 14:28, Hubert Holtz wrote: > how can I check an element for more than one attribute? ... > I only know how to slect one : <xsl:template match="sect1[@lang= $lang]"> > but is there something like an logical and? Try "and" (lowercase, without quotes), like <xsl:apply-templates select="sect1[@lang=$lang and @id='news']"/> BTW <xsl:template match="sect1[@lang= $lang]"> is invalid, variable references are not allowed in match patterns. 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








