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

Controlling Sort with dynamic values

Subject: Controlling Sort with dynamic values
From: "Brian Burridge" <brian_burridge@xxxxxxxxxxxxx>
Date: Mon, 05 Jun 2000 10:52:57 -0400
dynamic values
I read your previous post and this is exactly what I'm doing. I got it to
work now, but have one thing left to figure out. How do I dynamically sort?
I have this code:

   <xsl:sort select="/PAGE/@sort"/>

It doesn't give an error, but isn't sorting by the value of "/PAGE/@sort".
Is there a way I can tell XSL to evaluate /PAGE/@sort and sort by that


Dan Morrison wrote:

> Brian Burridge wrote:
> > Anyway, what I want to do is add some control data in my xml document
> > that my xsl document can use to control the look of the
> > page.
> I agree with this approach.
> Refer http://www.mulberrytech.com/xsl/xsl-list/archive/msg12876.html
> to keep me from quoting myself.
> As for your Q,
> > It doesn't work, of course, because it thinks I'm referring to the
> > "team" in the projects node, but I want to test the "team" in the meta
> > node.
> your meta has to be within the root node, so try addressing "/meta/team"
> .dan.
> :=====================:====================:
> : Dan Morrison        : The Web Limited    :
> :  http://here.is/dan :  http://web.co.nz  :
> :  dman@xxxxxxxx      :  danm@xxxxxxxxx    :
> :  04 384 1472        :  04 495 8250       :
> :  025 207 1140       :                    :
> :.....................:....................:
> : If ignorance is bliss, why aren't more people happy?
> :.........................................:
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Brian N. Burridge
Internet Architect
Ext 3515
The Internet Group - ITSS
Cox Target Media

"Until a person can say deeply and honestly, "I am what I am today because
of the choices I made yesterday," that person cannot say, "I choose

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

Current Thread


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.
First Name
Last Name
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.