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

Re: Re: topological sort

Subject: Re: Re: topological sort
From: Joerg Pietschmann <joerg.pietschmann@xxxxxx>
Date: Fri, 05 Jan 2001 13:46:30 +0100
topological sort application

Jeni Tennison wrote:
> 
> Hi Joerg,
> 
> > Can one of the gurus please comment on the
> > "count(field/type/ref)=count(...)"
[...]
> So your construct count be replaced by:
> 
>   not(field/type/ref[not(. = $processed/name)])

Thank you for the hint.
In predicate calculus language, this is the application of the 
equivalence
  FORALL x: P(x) <=> not EXIST x: not P(x)

I should have thought of this by myself!

> I'm not sure whether this will be more efficient - it probably depends
> on the processor. [...]

Xalan shows a small but overall insignificant improvment. Some
trace messages indicate that the transformation time is dominated
by other processing steps, but even the step processing the structure
definitions is not much faster.

> I hope that helps,
It did!

Regards
J.Pietschmann

 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.