In Delphi XE is it possible to use XPath with a TXmlDocument
component?
I'm aware I can use late binding to access the MSXML2 and then use XPath:
XML := CreateOleObject('MSXML2.DOMDocument.3.0') ;
XML.async := false;
XML.SetProperty('SelectionLanguage','XPath');
But I wanna know if TXmlDocument
installed with Delphi XE supports XPath.
I can't find anything in the TXMLDocument documentation about XPath.XML example, from the OmniXML XPath demo:
Try something like this:
Just as an FYI for others, I'll leave this in: OmniXML supports XPath, and has a demo that shows really well how to use it. It's also free, comes with source, supports Unicode, and has pretty good support through it's forums.