Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


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

From: "Dimitre Novatchev" <dnovatchev@--------->
To:
Date: 4/1/2007 3:33:00 PM
On 3/31/07, Florent Georges <darkman_spam@xxxxxxxx> wrote:
Dimitre Novatchev wrote:



 Hi Dimitre



> What I would like added is the ability to define global bindings
> (define once, use always thereafter).

 In this case, you'll have to define precisely what means "global",
how glabally the bindings will be.  And IMHO it will be complex, while
not impossible, to do that in a general way.

 Should the binding be global in the whole application (what is an
application BTW)?  Should the binding be global in a module, related to
some documents (the documents we are evaluating expressions against),
or in some other way I didn't think about?




I have always associated locality with nesting.



As for where/when to specify special, non-on-the-fly-bindings, we
shouldn't forget that an XPath expression comes always embedded in
something else -- that is, it is already "local" to some outer scope
and anything defined in outer scopes will be "global" to the XPath
expression.

Most probably, any XPath engine has some *initialisation* phase, which
is performed once and forever. I think that a not bad definition for
the term "initialisation phase" would be: "A set of actions to build
the context for subsequent stages of the system".


--
Cheers,
Dimitre Novatchev
---------------------------------------
Truly great madness cannot be achieved without significant intelligence.
---------------------------------------
To invent, you need a good imagination and a pile of junk
-------------------------------------
You've achieved success in your field when you don't know whether what
you're doing is work or play


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent