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: http://sources.redhat.com/ml/xsl-list/2002-05/msg01295.html ===== Cheers, Dimitre Novatchev. http://fxsl.sourceforge.net/ -- the home of FXSL __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] ASP Server Side Add Name , Karl Stubsjoen | Thread | [xsl] Transformation problems with , Vishwajit Pantvaidya |
Re: [xsl] Re: Re: The Perils of Sud, Dimitre Novatchev | Date | Re: [xsl] variable scope and test d, Mike Brown |
Month |