K. Tsang wrote:What does the server log say?
Paul Clapham wrote:And what did you find in the server log when you looked there?
g tsuji wrote:
Nodes students = XQueryUtil.xquery(doc, "//class/student/name[class[@name='B59B']]");
but it display <name><mark>and <grade> >
That is unlikely the outcomes of it, so not even sure why you said so.
how to just get '<name>'?
Ulf Dittmer wrote:Have you ever printed out the actual value of "node.getNodeName()"? You assume what it is, but it's better to ensure that it actually is what you think it is.
By the way, there's no point in quoting a previous message if you're the next one to reply - it is assumed that that's what you're referring to.
Ulf Dittmer wrote:But you haven't actually examined its value?