Hi!
I'm using the xalan-j implementation packaged with tomcat 5.5.9 - sorry,
I didn't search all logs to obtain the version.
I have templates like the following, embedding an <xsl:attribute> inside
an <xsl:copy>:
<xsl:template match="map/area">
<xsl:copy>
<xsl:apply-templates select="@coords"/>
<xsl:apply-templates select="@shape"/>
<xsl:attribute name="href">
<xsl:value-of select="$country_url"/>?c=<xsl:value-of select="@id"/>
</xsl:attribute>
</xsl:copy>
</xsl:template>
With each area element I get the following warning:
Compilerwarnungen:
file:///var/www/japplicoon/sungo/xslt/noreferer/regionList.xsl: line
60: Attribut 'href' befindet sich nicht in einem Element.
That is: "attribute 'href' is not inside an element"
Of course it is, after copying, and everything works fine, but my log is
full of these useless warnings. Is this fixed in a later version (which
one?) or is there really something strange with my code?
Thank you!
sonja
--
Sonja Löhr <[EMAIL PROTECTED]>