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

Re: xsl:param -- passing multiple values

Subject: Re: xsl:param -- passing multiple values
From: "J.Pietschmann" <j3322ptm@xxxxxxxx>
Date: Thu, 17 Jun 2004 23:02:38 +0200
passing multiple values to forms
Westin, Ken wrote:

Hello, I was wondering if someone could help me out with a problem I
have run into. I have a form where I want a list of products  listed
that is generated from an xml file where I pass the element position
to a checkbox value, the user can then check a box of 2-4 products,
click submit and I then want to pass the element positions as a
xsl:parm to the the stylesheet, so it will only show the 2-4 products
the user has selected.

One possiblity is to concatenate the positions, separated by a space or something, and parse this inside the XSLT. A variety of techniques for parsing is available form the XSL FAQ. An alternative solution is to build a DOM tree or something equivalent, but this depends heavily on the environment and the XSLT processor itself.

J.Pietschmann


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.