[xquery-talk] Hashes

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


Brian Maso wrote:

  Hi

> 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.

  Regards,

--drkm



















	

	
		
___________________________________________________________________________ 
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. 
http://fr.answers.yahoo.com 



More information about the talk mailing list