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

Re: Stylesheet to output XML Tags (node names)

Subject: Re: Stylesheet to output XML Tags (node names)
From: "António Mota" <amsmota@xxxxxxxxx>
Date: Thu, 20 Apr 2006 13:12:38 +0100
stylesheet output xml
I noticed that diference while using jEdit, so i think it was Xalan.
But the intended target will be browsers.

But from what you say, i think i can forget that, it probably won't
make a noticeable diference...

2006/4/20, Michael Kay <mike@xxxxxxxxxxxx>:
> > I did noticed (or so it seems to me) that changing the select
> > clauses to
> >
> > *[generat-id(.)=generate-id(key('tags', name())]
> >
> > will slow down the processing...
>
>
> I think Jeni Tennison did some comparison a while ago of the costs of the
> two different XSLT 1.0 approaches for comparing node identity (the XPath
2.0
> "is" operator), and found that some processors were much faster on
> count(A|B)=count(A), while others were faster on
> generate-id(A)=generate-id(B). So it depends which processor you are using.
>
> (It probably depends on the product version as well. After Jeni's study, I
> introduced an optimization into Saxon to recognize
> generate-id(A)=generate-id(B) and translate it directly into an identity
> comparison without actually generating the IDs.)
>
> Michael Kay
> http://www.saxonica.com/

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.