Project

Profile

Help

setSytemId for XdmNode

Added by Paul Greve 26 days ago

We use SaxonProcessor::parseXmlFromString() to parse xml source documents in memory. Is there any way to set the systemId in the resultant XdmNode? I could not find a way to do that.


Replies (3)

Please register to reply

RE: setSytemId for XdmNode - Added by Martin Honnen 26 days ago

Good question, but I am afraid the SaxonC API for parsing from a string lacks the ability to provide a base URI.

RE: setSytemId for XdmNode - Added by O'Neil Delpratt 26 days ago

Hi,

If you use the DocumentBuilder you can set the base URI. See: DocumentBuilder.setBaseURI

RE: setSytemId for XdmNode - Added by Paul Greve 25 days ago

Thanks O'Neil. I'll give it a try.

    (1-3/3)

    Please register to reply