MariusG 0 Posted July 15, 2020 Report Share Posted July 15, 2020 Hello, I am having the following situation: In a XML file, there is a parameter of ENUMERATION type (let's call it Time {AM, PM}). In an XPath expression, I need to evaluate the value of this parameter (as in Time != 'AM'). If the provider of the parameter Seasons decides to change the enum to {24H}, does my evaluation Time != 'AM' have any chance to return false? The only explanation for this would be that XPath does not check for the string itself, but for its value as a member of an enumeration (AM is expected to be 0 and 24H is indeed 0). Does anyone know how XPath makes these kind of evaluations, that involve enumerations? Thank you! Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.