|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Getting All Keys In 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








