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

Re: Problems with sort.

Subject: Re: Problems with sort.
From: "Brian Burridge" <brian_burridge@xxxxxxxxxxxxx>
Date: Mon, 12 Jun 2000 13:13:10 -0400
problems to sort out
For some reason I'm getting "XSL Error: Attribute: data-type has an illegal
value: $sortType", where $sortType is what I called the variable "$type"
from your example. I've tried both of these statements:

   <xsl:sort select="*[name()=/PAGE/@sort]" data-type="{$sortType}"/>
and
   <xsl:sort select="*[name()=/PAGE/@sort]" />
   <xsl:sort data-type="{$sortType}"/>

brian

Kay Michael wrote:

> > > b) How would I put the value of the global variable into
> > the data-type
> > > attribute of the sort? Would I use the same command you gave
> > > me for the select attribute?
> > <xsl:sort data-type="{type}"/>
>
> That should of course be
> <xsl:sort data-type="{$type}"/>
> >
> > Mike Kay
> >
> >
> >  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> >
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

--

Brian N. Burridge
Internet Architect
(727) 399-3000 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
otherwise."



 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.