[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Re: how to select elements based on their children
On Mon, 10 Mar 2003, Dimitre Novatchev 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 > > These are both wrong -- they match all elements whose *first* child's name > is "book". yup, this has been pointed out to me in no uncertain terms. live and learn. rday 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
|