XPath Error: Functions not supported
Posted: Thu Sep 07, 2017 2:44 pm
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
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