[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Create a node-set from a string parameter?

Subject: Create a node-set from a string parameter?
From: Jeff Lansing <jeff@xxxxxxxx>
Date: Tue, 11 Apr 2000 10:06:37 -0700
Create a node-set from a string parameter?
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.