client0-side xml

Hello
With what recommended tool and what format would one create the data on the client side for a grid that has a customer coro different on every line? Is there a way to give the parse function xml w/o a file?

Here is the snippet of the xml with the select box options defined for the individual cells:

<rows> <row id="some1"> <cell> some </cell> <cell> some </cell> <cell xmlcontent="true"> 1 <option value="1">The first</option> <option value="2">The second</option> </cell> <cell> some </cell> </row> </rows>