Text Value Templates - xspec/xspec GitHub Wiki
Just like XSLT 3.0's Text Value Templates, { }
in embedded XML can be evaluated dynamically.
Enabling/disabling TVT is controlled by @expand-text
(or @x:expand-text
within embedded XML). For example:
<x:context expand-text="yes">
<test>{1 to 9}</test>
</x:context>
<x:context>
<test x:expand-text="yes">{1 to 9}</test>
</x:context>
In both cases, <test>
is expanded:
<test>1 2 3 4 5 6 7 8 9</test>
(@x:expand-text
is removed.)