I'm currently using word 2003 to markup word documents with xml from a custom schema.
What I need to do is put one of my custom xml tags around a table row or rows but can't seem to figure out how to do this.
Basically, when the document is saved as xml, It would need to look like this around selected table rows so they can be post processed.
<ns0:my_tag><w:tr>...</w:tr></ns0:my_tag>
I looked at placing an xml tag in the first table cell and programatically trying to find the parent <w:tr> node, but either you can not access word xml elements at design time or I am doing something wrong. The only thing that seems to come up here are my xml custom xml elements.
In code, how can you select a table row or rows and wrap the selection with your own custom xml tags Is it possible to manipulate or traverse the word xml nodes using something like selection.range.XMLNodes
I am using C# and Visual Studio .NET 2003.
Thanks for the assistance.

Word 2003 - Insert XML data around a table row(s)
bmoyno
Ok, I figured out that if you carefully select a row with the mouse, it will apply the custom xml tag to that row.
But... if you select multiple rows, it applies a tag to each row.
How would I go about applying the tag to multiple rows without marking up each row
Thanks
satya chappidi
You cannot have a tag span several rows. If you want your table to _look_ like it would if the tag spanned several tows, you can insert a nested table and have your tag span the whole table.
iouri
----
This posting is provided "AS-IS" and confers no rights.