Subject: Re: [xsl] Getting All Keys In A Key Table From: "W. Eliot Kimber" <eliot@xxxxxxxxxx> Date: Tue, 29 Jan 2002 17:18:40 -0600 |
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Getting All Keys In A Key, Michael Kay | Thread | RE: [xsl] Getting All Keys In A Key, Michael Kay |
RE: [xsl] Rendering XML Server Side, Stuart Celarier | Date | RE: [xsl] Transforming an XML docum, Purnima Fernando |
Month |