Altova Mailing List Archives

Sorting Issue

From: "Jon Wynacht" <jwynacht@--------->
Date: 9/6/2000 1:04:00 AM

I have an xsl here:

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

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

Any help here is greatly appreciated, as always.



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

 XSL-List info and archive:


These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.