On Wed, 12 Mar 2014, Daniel Gaspary wrote:
On Wed, Mar 12, 2014 at 2:23 PM, Michael Van Canneyt
<[email protected]> wrote:
Curious: How can XPath become dom independent ?
I thought the result of XPath was a series of DOM nodes ?
Yes, it is. But I'm thinking about using the XPath expressions in other classes.
Maybe a TXmlTextReader descendent with support to some kind of
"realtime XPath Filter"
Like executing an Event Procedure every time a specific XPath
Expression is matched.
I seriously doubt this is doable, since XPath works directly on the DOM tree ?
What can be achieved at the most seems to be the parsing of the expression and
the resulting parse tree.
Which, I agree, would be useful to have available as a separate set of classes.
Michael.
_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel