[Laszlo-user] Your vote needed: Text formatting and datapaths
Jean-Baptiste BRIAUD
jb at briaud.net
Sat Jul 14 03:31:39 PDT 2007
+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()'}" />
>
>
More information about the Laszlo-user
mailing list