Sylvain Wallez wrote:

Vadim Gritsenko wrote:

I've had for months an unfinished and therefore uncommitted XML datatype on my hard disk and the associated convertors. Want to finish them?

Tried to do a DocumentType (based on DOM Document), but ran into an issue: jxpath returns String instead of Document in ValueJXPathBinding:

  Object value = jxpc.getValue(this.xpath);


Were you able to get around this?

No, I didn't went that far...

Does this mean that jxpc.getValue() collects text nodes rather than returning the DOM?

Yes, a disturbing "feature" of JXPath that I have had problems with more than once. Use jxpc.getNode() instead.

/Daniel

Reply via email to