Oxygen XML Editor
 
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] a bit of distraction ' quiz of XSLT 1.0 oddities'


Subject: RE: [xsl] a bit of distraction ' quiz of XSLT 1.0 oddities'
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Mon, 2 Jan 2006 23:21:19 -0000

> <img>
>         <height>12</height>
>        <xsl:attribute name="src"><xsl:value-of 
> select="some-value"/></xsl:attribute>
> </img>
> 
> will not.
> 
> This may seem obvious to some people, but it actually wasted a lot of 
> time for us.

It's actually a "recoverable error": the processor is allowed to report it
or ignore it. Saxon will by default give you a warning here in XSLT 1.0 (it
becomes a hard error in XSLT 2.0).

Michael Kay
http://www.saxonica.com/


Current Thread
 
© 2002-2008 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy
This website was created & generated with <oXygen/> XML Editor
Keywords