+1
I don't like the #2 syntax but I like its power.
This proposition take the best of the two : the more OL syntax of #1
with the power of #2.
<text datapath="person/" textformat="'%s %s'" data="$path{'firstName/
text()'}, $path{'lastName/text()'}" />
Not Zippy wrote:
If the following works
<text datapath="cart/amount/text()" textformat="'$%6.2d"/>
Then I don't have an issue extending the syntax ability to allow
multiple inputs like.
<text datapath="person/" textformat="'%s %s'" data="$path{'firstName/
text()'}, $path{'lastName/text()'}" />