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

> > The one thing I really agonized over was what the type of the value
> > should be. Possibilities include:
> >
> > 1. A String, which most stylesheet engines can convert to
> numbers; but
> > not booleans; at least not in an obvious way. That is,
> "false" is true.
>
> I favor this. Most stylesheets probably expect string or numeric
> parameters, and it's easy to have the sheet coerce any boolean values
> correctly. I think that JAXP uses Object just to punt on the issue.


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

Michael Kay






Archive powered by MHonArc 2.6.24.

Top of Page