|
Saxon will probably expect the parameter to be a
DOM node so you can use DOMWriter (in org.dom4j.io) to create a W3C DOM
node.
e.g.
Document doc = ...;
DOMWriter writer = new DOMWriter();
org.w3c.dom.Document domDoc = writer.write ( doc
);
You can also use a DOMDocumentFactory (in
org.dom4j.dom) to create dom4j documents which are also W3C DOM trees as well -
though this DOM implementation still needs a bit more work to be fully
conformant so the above is probably the safest option for now.
James
|
Title: Message
- [dom4j-user] Passing parameters to xslt David Hooker
- RE: [dom4j-user] Passing parameters to xslt James Strachan
- RE: [dom4j-user] Passing parameters to xslt David Hooker
- Re: [dom4j-user] Passing parameters to xslt James Strachan
