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

Re: Re: Default attribute value templates

Subject: Re: Re: Default attribute value templates
From: tcn@xxxxxxxxxxxxx (Trevor Nash)
Date: Thu, 28 Jun 2001 10:20:39 GMT
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


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.