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

RE: Parameter Sorting Problem With Xalan

Subject: RE: Parameter Sorting Problem With Xalan
From: "Schwartz, Rechell R, NLCIO" <rrschwartz@xxxxxxx>
Date: Thu, 14 Jun 2001 13:13:14 -0400
xslt parameter sort problems
Gareth,

Thank you SO much! That did the trick! I have wasted days on this problem. 
I didn't know there was such a thing as stylesheet-level
parameters. Do you need to use them whenever you call the setParameter()
method?
When would you use local parameters?

Rechell Schwartz

-----Original Message-----
From: Gareth Sylvester-Bradley [mailto:gareth.sbradley@xxxxxxxxxxxxxxx]
Sent: Thursday, June 14, 2001 1:07 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE:  Parameter Sorting Problem With Xalan


If I understand your current stylesheet correctlyit defines parameters for
the data-element matching template. You need stylesheet parameters. I think
the answer is as simple as moving:

  <xsl:param name="sortcolumn" select="'COLUMN1'"/>
  <xsl:param name="sortorder" select="'ascending'"/>

from in the data-element template to just after:

<xsl:output method="xml" omit-xml-declaration="yes" indent="yes"/>

(That's if I've got my internal XSLT cribsheet in order!)

:G



*************************************************************************
The information contained in this message or any of its
attachments may be privileged and confidential and intended 
for the exclusive use of the addressee. If you are not the
addressee any disclosure, reproduction, distribution or other
dissemination or use of this communication is strictly prohibited
**************************************************************************

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

 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.