Subject: Re: Using for-each on user arguments
From: Florent Georges <lists@xxxxxxxxxxxx>
Date: Fri, 9 Nov 2007 15:45:01 +0100 (CET)
|
Mathieu Malaterre wrote:
> As far as I understand in both case I am loosing '.' from the XML I
> am parsing. In both case the for-each make me loose the current node
> from the XML I am parsing.
for-each changes the context item. If you want XPath expressions to
be anchored at different contexts, you have to use variables.
Regards,
--drkm
_____________________________________________________________________________
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail
|