This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: XSLT performance under Linux
Am Dienstag, 14. Mai 2002 10:19 schrieben Sie:
> It seems fully compliant with XSLT 1.0;
IMHO it [xsltproc] is not fully compliant. Try to overwrite
attributes. Normally the attribute with higher import precendence
should overwrite all other attributes with the same name (so i didnt
read the specs but michael kays xslt reference). So try something
like this [no working code]:
<xsl:attribute-set name="td.defaults">
<xsl:attribute name="valign">top</xsl:attribute>
</xsl:attribute-set>
<xsl:template match="td">
<xsl:copy use-attribute-sets="td.defaults">
<xsl:for-each select="@*">
<xsl:copy/>
</xsl:for-each>
<xsl:apply-templates/>
</xsl:copy>
</xsl:template>
if your originall td has an attribute "valign" the output will have
two of them. And thats not even valid XML! I already send a bug
report to daniel.
But afterall its still a fine xslt parser! a very fine xslt parser!
janning
--
Planwerk 6 /websolutions
Herzogstraße 86
40215 Düsseldorf
fon 0211-6015919
fax 0211-6015917
http://www.planwerk6.de
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list