PrimalXML Version 4.3.46
Windows 10 Pro, 64-bit
Hello Support,
If a query expression which uses parentheses is entered into the Simple XPath Search textbox, e.g. //item[not(@allocated) or @allocated='False'] , then an error is returned: "XPath Error: Functions not supported".
Using the same query expression as an argument to the SelectNodes method of the System.Xml.XmlDocument class within a PowerShell script returns the expected nodelist (i.e. all <item> nodes which have either no atttribute named 'allocated', or where that attribute's value is set to 'False')
Is this expected behaviour for this version of PrimalXML?
Regards,
Glenn
XPath Error: Functions not supported
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
- datacore.glenn
- Posts: 30
- Last visit: Fri Jan 11, 2019 1:31 pm
Re: XPath Error: Functions not supported
The Simple XPath search panel doesn't support all the constructs of XPath found in the XmlDocument. Hopefully in a future release we can add support for this.
David
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.