|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Problems with sort.
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








