Subject: Re: [xsl] XSLT performance under Linux From: Janning Vygen <vygen@xxxxxx> Date: Tue, 14 May 2002 14:51:43 +0200 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] XSLT performance under Li, Kurt Cagle | Thread | Re: [xsl] XSLT performance under Li, Janning Vygen |
Re: [xsl] XSLT/XPath 2.0 (was "Iden, Jeni Tennison | Date | Re: [xsl] why is this invalid in xm, Laura Jenkins |
Month |