This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Create a node-set from a string parameter?
- To: xsl-list at mulberrytech dot com
- Subject: Create a node-set from a string parameter?
- From: Jeff Lansing <jeff at dtai dot com>
- Date: Tue, 11 Apr 2000 10:06:37 -0700
- References: <200004101631.MAA19458@mulberrytech.com>
- Reply-To: xsl-list at mulberrytech dot com
Karen Super wrote:
> I am using XT and I am passing in a String parameter into my stylesheet. My
code looks like:
> String xmlFields =
>
"<xml><fields><field>001</field><field>012</field><field>018</field></fields></xml>";
> xslProcessor.setParameter("DISP", xmlFields);
It seems to me that you are skipping something here. If the string 'xmlFields' was
the input xml for the xsl processor, instead of a parameter, then you wouldn't be
having this (unsolvable) problem. Alternately you could write the 'xmlFields'
string to a file, and read it in as nodes using the 'document()' function.
Jeff
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list