Next in thread → Next in month →

Re: [xml-dev] XPath and prefix bindings

From
Fraser Goffin <>
To
Date
2012-08-16T10:05:30Z
ID
<>
Thread
Re: [xml-dev] XPath and prefix bindings
Phil,

thanks, nice tool, works whichever combination of prefixes are used in
the XPath expression as it should. Good work.

Fraser.

On 16 August 2012 10:46, Philip Fearon <> wrote:
> On Wed, Aug 15, 2012 at 11:28 PM, Fraser Goffin <> wrote:
> ...
>>  So from that I would assume that neither XMLSpy nor any of
>> the other online Xpath evaluators were actually providing the complete
>> set of prefix bindings prior to evaluation of the expression (except
>> for those declared on the root element).
> ...
> XMLQuire is an XPath evaluator that provides the complete set of
> prefix bindings for evaluation. There is a potential issue here when
> the same prefix may be bound (in the XML source) to more than 1
> namespace within different scopes. If this is the case then XMLQuire
> uses the first prefix declaration binding encountered by the XML
> parser by default - but the other declarations are still listed and
> this choice can be changed in the XPath editor's namespace manager.
> The full evaluation context, which includes namespaces, can also be
> saved to file (as XML) for reuse. Auto-generated XPaths (created each
> time an XML node is selected in the editor) also reflect the settings
> in the namespace manager.
>
> Phil Fearon
>
> _______________________________________________________________________
>
> XML-DEV is a publicly archived, unmoderated list hosted by OASIS
> to support XML implementation and development. To minimize
> spam in the archives, you must subscribe before posting.
>
> [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
> Or unsubscribe: 
> subscribe: 
> List archive: http://lists.xml.org/archives/xml-dev/
> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
>
Next in thread → Next in month →