RE: [xsl] Parameter Sorting Problem With Xalan

Subject: RE: [xsl] Parameter Sorting Problem With Xalan
From: "Schwartz, Rechell R, NLCIO" <rrschwartz@xxxxxxx>
Date: Thu, 14 Jun 2001 13:13:14 -0400
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: [xsl] 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