[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XSLT performance under Linux

Subject: Re: XSLT performance under Linux
From: Janning Vygen <vygen@xxxxxx>
Date: Tue, 14 May 2002 14:51:43 +0200
xslt parser linux download
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.