[jdom-interest] xni builder

Laurent Bihanic laurent.bihanic at atosorigin.com
Fri Nov 9 09:17:48 PST 2001


philip.nelson at omniresources.com wrote:

> "identity xslt transform?"  Sounds interesting but what is that.


This is a feature from JAXP that request every TransformerFactory 
implementation to be able to provide a Transformer configured with an XSLT 
stylesheet that simply copies the source XML to the result.

With this feature, you can convert a JDOM document into a DOM document by using:
    TransformerFactory.newInstance().newTransformer().transform(aJdomSource, 
aDomResult);

I'm not sure this is the fastest way to convert JDOM into DOM though.

Laurent





More information about the jdom-interest mailing list