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: Elliotte Harold <elharo AT metalab.unc.edu>
  • To: Michael Kay <mike AT saxonica.com>
  • 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 12:10:38 -0500

Michael Kay wrote:


It *must* be possible to pass in a XOM document as the value of the
parameter; ideally any node, or list of nodes.


I've though about this. It would be *very* useful. I'm not sure it's a must since XOM 1.0 proves you can survive without any parameters at all, but if I can figure out how to do this I would like to do it.

What does Saxon, both 6 and 8, expect as the type of node-set parameters? I'm assuming it won't just work with XOM Node and Nodes objects. Possibly I could wrap those inside something else. At first glance, Xalan seems to expect DOM Node and NodeIterator objects.

--
Elliotte Rusty Harold elharo AT metalab.unc.edu
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim




Archive powered by MHonArc 2.6.24.

Top of Page