Skip to Content.
Sympa Menu

xom-interest - RE: [XOM-interest] XSLTransform setParameter

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: "'Elliotte Harold'" <elharo AT metalab.unc.edu>
  • Cc: 'xom-interest' <xom-interest AT lists.ibiblio.org>, 'John Cowan' <jcowan AT reutershealth.com>
  • Subject: RE: [XOM-interest] XSLTransform setParameter
  • Date: Thu, 10 Feb 2005 22:30:12 -0000

>
> What would Saxon do if a SAXSource were passed as the value
> argument to
> Transformer's setParameter method?

Any JAXP Source object that can be supplied as the first argument of
transform() can also be supplied as the value argument of setParameter().
>
> What would Saxon do if a DOM Node, NodeList, or NodeIterator
> were passed
> as the argument to Transformer's setParameter method?

That's in transition. In the past, Saxon has had knowledge of DOM built-in.
Because of the fiasco of DOM incompatibility from JDK 1.4 to 1.5, I'm taking
that out, and handling DOM (like XOM and JDOM) more at arm's length. The
situation is now that DOM Node and NodeList will be recognized provided that
the DOM object model manager can be loaded, which in turn depends on what's
on the classpath.

Michael Kay





Archive powered by MHonArc 2.6.24.

Top of Page