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

Re: $variables with xsl:key()

Subject: Re: $variables with xsl:key()
From: Steve <subsume@xxxxxxxxx>
Date: Tue, 25 Jul 2006 14:57:11 -0400
Re:  $variables with xsl:key()
On 7/25/06, Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> wrote:
In the best case, we'd have a complete if reduced sample where
records would appear matching oldIDs you actually represented ...
this makes it much easier to run the XSLT engines we keep in our
heads, or even engines we run in our computers, to test everything.
(List participants have been known to test each other's code in live
processors from time to time.)

The numbers are hypothetical. Let it suffice that at the end of the day I need @oldID to match disabPrimary.

>What do you mean by "key declarations"?

By "key declaration" I mean the top-level element that sets up the
key and assigns it a name, as in

<xsl:key name="things-by-id" match="thing" use="@id"/>

Here goes....


<xsl:key name="types" match="option" use="@type" />
<xsl:key name="oldID" match="Record" use="disabPrimary" />

So, now that that obstacle is out of the way, howto match up to these
keys in a meaingful way?

-S

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.