No, it's not supported. Please read the header of OXmlXPath.pas - you find there a complete description of what is supported. I don't plan to support it in the near future.
You can use SelectNodes('/LIST/ELEMENT/ID') and then you'll have to check the text manually.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
View and moderate all "General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
Hello!
This code
SelectNode('/LIST/ELEMENT/ID[text()='+QuotedStr(id)+']')
is not supported? It is planned in the next version?
How i can simulate this with library OXml?
Last edit: Anonymous 2015-01-27
View and moderate all "General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
No, it's not supported. Please read the header of OXmlXPath.pas - you find there a complete description of what is supported. I don't plan to support it in the near future.
You can use SelectNodes('/LIST/ELEMENT/ID') and then you'll have to check the text manually.