Altova Mailing List Archives>Archive Index >xsl-list Archive Home >Recent entries >Thread Prev - [xsl] a bit of distraction ' quiz of XSLT 1.0 oddities' >Thread Next - RE: [xsl] a bit of distraction ' quiz of XSLT 1.0 oddities' Re: [xsl] a bit of distraction ' quiz of XSLT 1.0 oddities'To: Date: 1/2/2006 10:58:00 PM Not too sure if this is an oddity of XSLT or of my parser (Xalan in cocoon) but I found that if the xsl:attribute value is not defined as the first thing, it is ignored completely. Eg .... <img> <xsl:attribute name="src"><xsl:value-of select="some-value"/></xsl:attribute> <height>12</height> </img> will work <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. | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
