|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Re: Default attribute value templates
>MSXML does not signal an error and interprets the lack of @order or an empty string
>value of @order exactly as you wanted -- the whole AVT is discarded and no "order"
>attribute is specified.
>
>I wonder if this is not a bug in MSXML 4.
>
Perhaps not a bug, but a workaround for just this difficulty. I am
using Saxon 6.2.2. I would be interested to hear what other
processors do with:
XML file:
<x><d>20</d><d>10</d></x>
XSLT:
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="x">
<xsl:apply-templates>
<xsl:sort order="{@order}"/>
</xsl:apply-templates>
</xsl:stylesheet>
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








