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

Re: Getting All Keys In A Key Table

Subject: Re: Getting All Keys In A Key Table
From: "W. Eliot Kimber" <eliot@xxxxxxxxxx>
Date: Tue, 29 Jan 2002 17:18:40 -0600
a key table
Michael Kay wrote:
> 
> > I'm trying to understand keys. Is there a way to get all the keys in a
> > given table (e.g., the equalivent of dict.keys() in Python)?
> 
> Yes, it would be useful, but it's not possible. Sorry!

Can you explain why it's not possible? Is it that there's no requirement
to populate the table in advance of references to keys? Given that
forward references are possible, I would think that the table must be
fully populated at some point--that is, that even in a lazy
implementation a call to keys("key-name") would have the effect of
forcing population of the table from which a list of the unique keys
could be retrieved.

Thanks,

Eliot

 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.