Altova Mailing List Archives>Archive Index >xsl-list Archive Home >Recent entries >Thread Prev - Re: [xsl] Proposed syntax for namespace binding in XPath >Thread Next - RE: [xsl] Proposed syntax for namespace binding in XPath Re: [xsl] Proposed syntax for namespace binding in XPathTo: 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 | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
