[xquery-talk] Hashes

Florent Georges darkman_spam at yahoo.fr
Thu Sep 21 00:05:59 PDT 2006

Brian Maso wrote:


> define variable $animals as (
>          <a>aardvark</a>,
>          <b>bandicoot</b>,
>          ...
> )

> (: and then later... :)
> $animals/a

  In such cases, I always used an attribute as key.  Using the name is
an interesting solution in some cases.  But the attribute is more
approriate when the key is not known statically at the use point.




Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! 
Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences. 

More information about the talk mailing list