Re: [xml] Default namespaces with XPath

On Thu, Dec 26, 2002 at 03:26:12PM +0100, Stefano Debenedetti wrote:
Can't you go:


  Well that doesn't have the same semantic as the initial expected query.

or even:


  Yup, that one work, but it's not pretty ...
Registering the namespace in the XPath evaluation context is less
portable but easier to understand. Note that the XPath specification
was not done with the expectation it would be used standalone but
always in a framework (XSLT and XPointer originally) which were 
defining the mechanism for the context initialization.


Daniel Veillard      | Red Hat Network
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]