Re: [xsl] Comma seperated parameter vals

Subject: Re: [xsl] Comma seperated parameter vals
From: Dimitre Novatchev <dnovatchev@xxxxxxxxx>
Date: Thu, 20 Feb 2003 00:46:03 -0800 (PST)
> I need help with parameters, and default values.  I am making a form 
> from XSL, and I need to pass in a set of default values to the 
> stylesheet that renders the form.  The form structure will be unkown,

> but I could pass a name/value pair.  However, I'm not sure how to 
> work with text like this.
> Would it be easy to split a named/value pair on lets say an "=" 
> character.
> The next step would be to pass a series of named value pairs, and 
> maybe split them on, lets say a "|" pipe character.
> Any ideas here?

Use the "str-split-to-words" template from FXSL.

There are many examples on this list, e.g. see:



Dimitre Novatchev. -- the home of FXSL

Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more

 XSL-List info and archive:

Current Thread