I'm trying to pass an XML string with custom TAG to a view, but I'm
having trouble with syntax.
Required XML Syntax:
<rows>
<row id="unique_rowid">
<cell>cell content</cell>
<cell>cell content</cell>
</row>
</rows>
The code string in the controller:
rowxml=TAG.rows(*[TAG.row(*[TAG.cell(r[f]) for f in rowflds]) for r in
rows])
The above code string creates the XML structure I need but I'm missing
the "unique_rowid". I have tried several ways to included _id=r but I
get syntax errors.
Can someone help me with the syntax to add id= in the <row>?
--Jay
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en.