RE: how to select elements based on their children's names?2003-03-10 14:11:43Robert Day wrote: 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? "//*[book]" seems easier to me ;-) XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
|