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

Sorting Issue

Subject: Sorting Issue
From: "Jon Wynacht" <jwynacht@xxxxxxxxx>
Date: Wed, 6 Sep 2000 08:03:33 -0700
jon wynacht cisco systems
Hi,

I have an xsl here:

http://www.switchlight2239.com/temp/vtreport_sort.txt

that I'm trying to get xsl:sort to work on. However, it's not working the
way I thought it would work.

I declare an xsl:param at the top of the page and set it to 1; this would
normally get set by a servlet, but for development I'm just setting it
manually.

My second template matches PXML and test for the value of $sort, the param,
and applies the other template and sorts it all by Title.

Or so I thought. It doesn't do that at all.

In the next template though, I have this statement <xsl:sort
select="Title"/> and if I uncomment it, things sort fine. However, I need to
be able to sort based on a passed parameter, which will correspond to sort
value.

Any help here is greatly appreciated, as always.

Thanks,

Jon

PS - I'm using the old namespace because I'm using the old parser (v0185)
but as soon as I solve this problem I'll be moving to Xalan.

------------------------------
Jon Wynacht
Web Developer/New Technologies
Field Operations Engineering
Cisco Systems
408-527-5261
jwynacht@xxxxxxxxx


 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.