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

RE: Parameters set by user

Subject: RE: Parameters set by user
From: "Technik" <technik@xxxxxxxxxxxxxxxxxx>
Date: Mon, 2 Sep 2002 21:01:24 +0200
clear request parameters
Hello Jeni,

never seen such a clear-cut, suitable-for-a-dummy-like-me explanation such
as yours...
And it makes me curious about one other aspect:

Is it possible, proceeding according to your 2nd alternative (below), to
pass more than one value for one and the same parameter?

Matthias


-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Jeni Tennison
Sent: Friday, August 30, 2002 12:50 AM
To: Technik
Cc: [LIST] XSL
Subject: Re:  Parameters set by user


Hi Matthias,

...

Cocoon can be set up to pass either particular parameters or all
request parameters into the stylesheet. To do either, you need to set
up the sitemap so that parameters are passed into the particular
transformation.

For example, you could have something like:

...

  <map:match pattern="search">
    <map:generate src="list.xml" />
    <map:transform src="list.xsl">
      <map:parameter name="use-request-parameters" value="true" />
    </map:transform>
    <map:serialize />
  </map:match>

which means that when the URL has request parameters, for example:

  .../search?search=a

then the request parameters are passed in as parameters to the
stylesheet as well. So the above URL would pass in the value "a" as
the value of the parameter $search.

...

Cheers,

Jeni


 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.