Re: [fpc-pascal] Proposal for a XPath Namespace Resolver

2013-10-05 Thread Daniel Gaspary
On Sat, Oct 5, 2013 at 5:59 PM, Benito van der Zander wrote: > Alternatively, just use the XPath implementation of my Internet Tools > (http://www.benibela.de/sources_en.html#internettools). > > Works perfectly there. > > E.g. process(' > ', '//@u1:AnAttribute' ).toString > returns 'AttValue' I

Re: [fpc-pascal] Proposal for a XPath Namespace Resolver

2013-10-05 Thread Benito van der Zander
Alternatively, just use the XPath implementation of my Internet Tools (http://www.benibela.de/sources_en.html#internettools). Works perfectly there. E.g. process(' ', '//@u1:AnAttribute' ).toString returns 'AttValue' On 10/05/2013 07:08 PM, Daniel Gaspary wrote: (Let me know if bugtracke

[fpc-pascal] Proposal for a XPath Namespace Resolver

2013-10-05 Thread Daniel Gaspary
(Let me know if bugtracker is better to discuss the idea) Today the XPath Ns Resolver is marked as "Experimental" and is just an alias for TDomNode: TXPathNSResolver = TDOMNode {!!! experimental}; [1] The problem happens when the Namespace definition is not at the root of the XML being process