|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Xpath AndExpr on attribute values?
Jürgen Hermann wrote: > On Tue, 6 Jun 2000 08:47:46 +0100, Michael Beddow wrote: > > ><xsl:apply-templates select="text/saying[@language='en'] and > >text/saying[@topic='morals']"/> > > "and" works on booleans, you applied it to node-sets. > Ok, I'm beginning to see the point about selects working because the empty node set counts as "false" and any populated node-set counts as "true". But I'm not quite there yet. I need some more help to really understand why my AndExp doesn't work when <xsl:apply-templates select="text/saying[@language='en']"/> does. Or, more complexly, how can I massage the returned node-sets from the two terms of my original expression so that I can validly use an "and" on them and get the result I'm looking for? Michael ------- Michael Beddow University of Leeds 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








