The elegant way to get your content in an table is to transform your xml.
In this pdf
you can read all about making InDesign tables from xml.
thanks, i knew this document (-:
xsl-transformation for rowspan can get quite complicated. i'm looking for a scripting only solution to keep the dependencies low (and don't even try the built in xslt processor).
without the bug (?) a scripting only solution could be quite interesting, especially in combination with evaluating additional styling attributes.
I think there is an error because you try to move a XMLElement to Text.
You can move a XMLElement to another XMLElement.
The table is already autotagged, now you should move the right element to the right cell.
Beware: the structure changes evereytime you move a xmlelement, so you need to make a new reference to the table and the next element you want to move.
Another possibility is to move the text of the elements to the texts of the cells.
That way the structure does not change.
I hope this helps.
i tried both (see my first post point 3+4) either my command is wrong or this is an indesign bug with table/xml handling. especially given that in one case the table simply disappears without notice or exception.
if you move only the text into the cells you loose child elements.
I tried to move a xmlelement into a tagged table, but "computer says no".
I don't think InDesign allows you to move a xmlelement to a cell.