[xml] Re: [xslt] Performance issue when matching text()|*



On Fri, Jan 28, 2005 at 06:31:30PM +0100, Kasimier Buchcik wrote:
Oops, if this is true then XSLT it's really not intuitive here, since
I would expect the expression to be evaluated from inner to outer; i.e.
"count(text())" to return a number first and _then_ this number to be
converted to a string, which is added to the output.
Strange it seems to me.

   Okay, I misunderstood the stylesheet <grin/> it was named templates
and not matching templates ... Scratch what I wrote about this, I though
it was again that annoying text node coalescing haunting me.

   Looking again I think it's not linear because growing the node set in
some way check for duplicate nodes in the set while this is not needed.
That may be avoidable, or not I would need to go deeper to assert what
is really going wrong, Jerome can you bugzilla this please ?

  thanks :-)

Daniel

-- 
Daniel Veillard      | Red Hat Desktop team http://redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]