I keep running into the problem where I have something like this:
<attribute name="start" type="number" value="$path{'@start'}"/>
However, because the data is coming from XML, it doesn't seem to
actually be a number when I access it like 'object.start', rather it's a
string. Is it possible to coerce that value into being a number when it
loads? Something like:
<attribute name="start" type="number" value="${Number(path{'@start'})"/>

This would save me a lot of time debugging silly little issues every
time I forget about it :)

Cheers, Robin.
_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user

Reply via email to