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

Re: passing intermediate result while recursively buil

Subject: Re: passing intermediate result while recursively building nodeset
From: Jeni Tennison <jeni@xxxxxxxxxxxxxxxx>
Date: Fri, 10 May 2002 01:04:30 +0100
Re:  passing intermediate result while recursively buil
Hi Paul,

> Some of the values for this may be determined randomly -- for
> example, POINT's attribute's "x" and "y" -- and when creating a
> subsequent "x" element I may need to take a look at those values or
> I may need to look at the children of "EFFECTS" (or at both of them
> in combination) ... it's all very dynamic. I'm really not too
> concerned about the expressions that I'll need to access the
> particular child elements and/or attributes (I can probably figure
> that out when the time comes). I'm more concerned with just being
> able to access any of the previously created "x" elements. Did this
> help at all? Or did just confuse things further?

Hmm... to be honest, I'm not sure that XSLT is the tool for this
particular job. Perhaps you can make several passes over the list of
tokens, once to fix the values of x and y for some of them and not for
others, then pass over again to fix the values of others? But I'm not
sure you'd get any better performance from that than you would from
the kind of recursive solution that Mike suggested previously. If it's
that dynamic, then you should probably be using a procedural language,
which is based on doing dynamic kinds of things, rather than a
declarative language, which is based on doing predictable kinds of
things.

BTW, don't worry about David's "mind reading" comment; he's just
trying to be funny.

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/


 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.