How to access scalar value in Context Store?

Context Store can hold XML datastructures or scalar values. When mapping to certain model reference, I am curious how should I access it with XPath?

Scalar values in Context Stores are stored in this manner:

<ROOT>
  <value>Scalar value</value>
</ROOT>

So XPath would be /ROOT/value or even string(.) should work as well.

1 Like