Subject: Re: [xsl] how to select elements based on their children's names? From: Markus Spath <mspath@xxxxxxxx> Date: Mon, 10 Mar 2003 21:38:20 +0100 |
if i want to select all elements that have at least one, say, "book" child element, it seems i can do it this way:
//*[name(child::*) = "book"] long way //*[name(*) = "book"] shorter way
1) is this the easiest way to do it?
2) why doesn't the following work as well?
//*[name(node()) = "book"]
regards, markus
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] how to select elements based , Robert P. J. Day | Thread | Re: [xsl] how to select elements ba, Wendell Piez |
RE: [xsl] Which is more efficient?, Passin, Tom | Date | RE: [xsl] Conversions for PeopleSof, Shoe, Bridget |
Month |