xsl-list
[Top] [All Lists]

RE: a bit of distraction ' quiz of XSLT 1.0 oddities'

2006-01-02 16:21:19

<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/



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--