setSytemId for XdmNode
Replies (3)
Please register to reply
Please register to reply
Forums » Saxon/C Help and Discussions »
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.
Please register to reply
Good question, but I am afraid the SaxonC API for parsing from a string lacks the ability to provide a base URI.
Hi,
If you use the DocumentBuilder
you can set the base URI. See: DocumentBuilder.setBaseURI
Please register to reply