- From: Frank Scholten <franks@jteam.nl>
- Date: Fri, 16 Oct 2009 12:50:32 +0200
- To: xproc-dev@w3.org
Received on Friday, 16 October 2009 10:51:06 UTC
I solved this problem already, I used the writeTo(String port, XdmNode node) and readFrom(String port) methods on the XPipeline. XPipeline xPipeline = xProcRuntime.load(xplFilePath); XdmNode inputXml = xProcRuntime.getProcessor().newDocumentBuilder().build(new File("xproc/12345.rdf")); xPipeline.writeTo("source", inputXml); xPipeline.run(); XdmNode xdmNode = xPipeline.readFrom("result").read(); Regards, Frank Scholten
Received on Friday, 16 October 2009 10:51:06 UTC