Hi,

I was wondering if there is a way to render a dataset to a text view in a specific way.  I'm building a chat application and I'm trying to find a good way of rendering the following XML structure:

<chat>
   <message> <user> John: </user> Hi </message>
   <message> <user> Jen: </user> Hi, how are you? </message>
   ...
</chat>

Into:

John: Hi
Jen: Hi, how are you?
...

Where John and Jen are in bold.

I know that it is possible to use a different view to render each message and to stack these, but I was wondering if this can all be done in a text view (since I'm not sure if I get the scroll bar if I'm using multiple views).  Thanks in advance.

Wayne

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

Reply via email to