Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Converting a nu.xom.Document to aorg.w3c.dom.Document

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: "Michael Kay" <mike AT saxonica.com>
  • To: <christophe.marchand AT axyus.com>, "'XOM API for Processing XML with Java'" <xom-interest AT lists.ibiblio.org>
  • Subject: Re: [XOM-interest] Converting a nu.xom.Document to aorg.w3c.dom.Document
  • Date: Wed, 14 Oct 2009 15:00:58 +0100

If you run the transformation using Saxon interfaces, you can supply a XOM
document (wrapped in a Saxon-supplied wrapper) as the input to the
transformation, and supply a DOMResult as the destination.

Regards,

Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay

> -----Original Message-----
> From: xom-interest-bounces AT lists.ibiblio.org
> [mailto:xom-interest-bounces AT lists.ibiblio.org] On Behalf Of
> Christophe Marchand
> Sent: 14 October 2009 14:45
> To: xom-interest AT lists.ibiblio.org
> Subject: [XOM-interest] Converting a nu.xom.Document to
> aorg.w3c.dom.Document
>
> Hi,
>
> is there a way to convert a nu.xom.Document to a DOM Document ?
>
> After a XSL Transform, I need to give the result to Flying
> Saucer, which uses DOM. I would like to avoid a serialization
> / parsing...
>
> Another question : as transform alway produces a Nodes, there
> is no way to produce html, isn't it ?
>
> Regards,
> Christophe
> _______________________________________________
> XOM-interest mailing list
> XOM-interest AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/xom-interest





Archive powered by MHonArc 2.6.24.

Top of Page