XPath Selects
3 min
to learn more about xpath, please refer to w3schools xpath tutorial at http //www w3schools com/xpath/default asp http //www w3schools com/xpath/default asp select modes a select can be evaluated in one of three ways !select where the select is passed to the underlying datasource =evaluate where the select is evaluated by the macro evaluator 'value where the select is placed as a string of text in the output blueprint autotag uses a set of rules to guess as to which of the above modes to use however, you can explicitly force a specific mode by setting the first character of the select to !, =, or ' (as shown above on each item) autotag will always display the mode it is using on a select in the ui in the tag builder if you set it to force a mode, it will place the first character only if that is not the guessed mode for that select date comparisons xpath does not support inequality tests on dates therefore you cannot test /root/node < ${date} you can do = and != because it treats them as strings this is true even if you supply a schema and the node is set to xsd\ datetime, xsd\ date, or xsd\ time if you supply a variable such as ${date} that is a date object, it will be placed in the xsd\ date format for a select that is a value and in the xsd\ datetime format if the select is is a select or evaluate