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

How To Access a param from style sheet

Subject: How To Access a param from style sheet
From: Bharat.Chintapally@xxxxxxxxxxxxxxxxx
Date: Wed, 18 Oct 2000 18:22:46 -0400
stylesheet param
Hello:
     I am new to XSLT and also to this list. I have a quick question about
accessing parameters from XSL style sheets. I am using Xalan XSLT processor
in my servlet to transform XML into HTML using XSL.  I am able to set the
stylesheet param using

     xslProcessor.setStylesheetParam("sortBy", "receiverId");

Now I am trying to access this param in the xsl stylesheet to do my
sorting.. I tried something like the following but I am not
having much (/any) luck..

<xsl:sort select="*[name() = $sortBy]"/>

Any help is really appreciated..

Thanks
-- bharat

---------------------------------------------------------------
Bharat Chintapally
CommerceQuest Inc.
bharat.chintapally@xxxxxxxxxxxxxxxxx
New Phone # 813-639-6478
---------------------------------------------------------------


 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.