Re: Problem evaluating XPath expression into a NodeList

[email protected]
Newsgroups gmane.text.xml.xalan.java.user
Message-ID <OFA6BE9644.3CA1780D-ON85257657.00451E7F-85257657.00454979@lotus.com>
> /default:feed/default:entry/default:summary/text()

You're asking for text nodes. In the XPath view of the document, there is 
no such thing as an empty text node, so the empty elements have no 
children and do not contribute to this result.

If you want to see them, search for the elements and then ask each one for 
its text content as a separate operation.

______________________________________
"... Three things see no end: A loop with exit code done wrong,
A semaphore untested, And the change that comes along. ..."
  -- "Threes" Rev 1.1 - Duane Elms / Leslie Fish (
http://www.ovff.org/pegasus/songs/threes-rev-11.html)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.