Subject: Re: Problems with sort. From: "Brian Burridge" <brian_burridge@xxxxxxxxxxxxx> Date: Mon, 12 Jun 2000 13:13:10 -0400 |
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: Problems with sort., Kay Michael | Thread | Unique set values, Carlos Sanchez |
Stylesheet vs. Transform, Mabry, F. DR | Date | Re: what if use of up-to-date xslt , Warren Hedley |
Month |