This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Creating nodeset for parameters


The best way is to create an XML document (typically a DOM) containing the
information and pass the Document node to the stylesheet as a parameter.

Mike Kay

> -----Original Message-----
> From: owner-xsl-list@lists.mulberrytech.com
> [mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of Hunsberger,
> Peter
> Sent: 19 October 2001 23:19
> To: xsl-list@lists.mulberrytech.com
> Subject: [xsl] Creating nodeset for parameters
>
>
> I've got a group of related items with various names that I
> want to pass
> into an XSLt to direct how the processing is going to
> proceed.  Since I
> don't know the names of all the items in advance I need to
> group them under
> a single parameter name.  As such, in my servlet that is
> going to call the
> transform I presume I need to create a NodeSet (or result
> tree fragment?)
> and then assign this as the value for the parameter I am
> going to set? If
> this is true, how do I go about assembling the NodeSet (or
> RTF) to use as
> the value for the parameter?
>
> I'm running Xalan FWIW, but I believe this issue should pretty much be
> independent of the environment?
>
> Still feel like I'm missing something fundamental about how all this
> works...
>
> Peter Hunsberger
>
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]