|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Attribute test
Hey mike What if my priority is not with numbers, and the letters that I'm using do not follow an ascending or descending order? :<xsl:variable name="max-priority"> : <xsl:for-each select="//@priority"> : <xsl:sort order="descending" data-type="number"/> : <xsl:if test="position()=1"><xsl:value-of select="."/></xsl:if> : </xsl:for-each> :</xsl:variable> : :Mike Kay : This would not really work, unless I somehow relate the letters to a number priority. That would be fine for one attribute, but I have multiple attributes that are implied and can appear, and each one has a certain priority to which it can place further ristrictions. I thought that xsl could do functions but I have yet to find an example or any indications in the W3C. (I know that lotusxsl and javascript can do it, but I don't want that) Eddy 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








