public void run() throws SaxonApiException { super.run(); String uris = getOption(_uri, (String) null); if (uris == null) { throw new XProcException("URI is required"); } baseURI = getOption(_uri).getBaseURI().resolve(uris); XdmNode doc = source.read(); tree = new TreeWriter(runtime); tree.startDocument(baseURI); for (XdmNode node : new AxisNodes(doc, Axis.CHILD)) { write(node,false); } tree.endDocument(); result.write(tree.getResult()); }
write(child,underXmlBase);
write(child,underXmlBase);
public void run() throws SaxonApiException { super.run(); String uris = getOption(_uri, (String) null); if (uris == null) { throw new XProcException("URI is required"); } baseURI = getOption(_uri).getBaseURI().resolve(uris); XdmNode doc = source.read(); tree = new TreeWriter(runtime); tree.startDocument(baseURI); for (XdmNode node : new AxisNodes(doc, Axis.CHILD)) { write(node,false); } tree.endDocument(); result.write(tree.getResult()); }