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

Re: Data Relativity Question

Subject: Re: Data Relativity Question
From: "Bob Portnell" <simply.bobp@xxxxxxxxx>
Date: Wed, 6 Sep 2006 13:40:52 -0700
Re:  Data Relativity Question
Which I seem to have done, without recognizing what a good idea it was. :-)

Neat, thanks.

On 9/6/06, Michael Kay <mike@xxxxxxxxxxxx> wrote:
I generally find that if you're doing a join then it help to point a
variable at both the inputs, and avoid relying too heavily on context.

That still leaves the question of which should be your inner loop and which
your outer loop. If you use keys, or if your processor does join
optimization, it shouldn't matter too much.

Michael Kay
http://www.saxonica.com/

> -----Original Message-----
> From: Bob Portnell [mailto:simply.bobp@xxxxxxxxx]
> Sent: 06 September 2006 21:03
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  Data Relativity Question
>
> Here's a weird notion that just crossed my mind.
>
> My XTVD listings filter is now finished (or at least working
> satisfactorily). The input file is the fairly large file of
> XTVD listings. Most of the execution is in <xsl:for-each>
> loops on the elements of a fairly small outside file of
> titles, people and things that I want to look out for. Those
> loops establish a context outside the input file that I'm
> continually having to step around (thanks to the variable
> trick pointed out by several here). And, as I said, what I
> have works amply well.
>
> Though it wouldn't give me any different visual result, would
> I be better served by using my watch list as the input and
> then go out of that context to get the data in the xtvd file?
> Hmm. Now that I think about it, it probably isn't going to
> make that much difference is it?
> I mean, there's no way around the fact that I'm dealing with
> two files here, and I'm going to run into context issues no
> matter how I slice them.
>
> Wisdom of the List welcome,
>
> Bob P
> simply.bobp@xxxxxxxxx

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.