Re: [xml] query - append DOM tree, identify leaf node

Lars Oppermann wrote:
Lars Oppermann wrote:

With leaf node I assume you mean an element node that has only text or attribute children but no other element children. A way of doing this in XPath is like this:


Which of course is equivalent to


As I realized shortly after pressing the send button ;)


It sounds like you've been doing a lot of reading. All I have to add here is a couple of URLs that might help to better understand the intricacies of XPath.

First: which has really good interactive tutorials on XML, XSLT, XPATH, etc.

Second: I like these too, and there are many more subjects available.

Best regards,

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]