[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Proposed syntax for namespace binding in XPath


Subject: Re: [xsl] Proposed syntax for namespace binding in XPath
From: Florent Georges <darkman_spam@xxxxxxxx>
Date: Thu, 5 Apr 2007 18:37:05 +0200 (CEST)

Colin Adams wrote:

> >From: Florent Georges

> >   But the adding of the bindings can be done while compiling
> >the expression, before evaluating it, isn't it?

> No. They have to be present prior to compiling.

  So if you force the binding declarations to be at the beginning of
the expression (or "before" the expression, if you prefer), you can do
something like (pseudo-code):

    IF extract possibly present binding declarations
        add declarations to static context
    compile the expression

  Regards,

--drkm























	

	
		
___________________________________________________________________________ 
Dicouvrez une nouvelle fagon d'obtenir des riponses ` toutes vos questions ! 
Profitez des connaissances, des opinions et des expiriences des internautes sur Yahoo! Questions/Riponses 
http://fr.answers.yahoo.com


Current Thread