This has all opened a "can of worms" for me. I've been using XML and WordML for a little while, but this imagedata and relationship stuff is all new.
(1) Wouldn't this be simpler:
<w:p>
<w:r>
<w:pict>
<v:shape id="myShape2" type="#_x0000_t75" style="width:7.0in; height:4.67in">
<v:imagedata src="mypicture.wmf" o:title="my title"/>
</v:shape>
</w:pict>
</w:r>
</w:p>
This has the drawback that the picture must be available when the Word document is opened, since the picture is not embedded in the Word document.
So the picture file and the document file must be copied together if the directory location changes.
(2) I tried several things with the relationships stuff, and none of it worked. As I said, this is all new to me, so I'm sure I messed up something. I did create a "_rels" subdirectory and put document.xml.rels in that directory. The file had the relationship XML elements. The "rId6" and "rId5" didn't seem to work, although that may have been because my .rels file wasn't correct.
(3) By "Open your package", what do you mean? This is new, also.
(4) How do I create the embeddings part? That is, how do I create the oleObject1.bin file? And where does it go? What is distinct about this file compared with the mypicture.wmf file? Why 2 files for one picture?
(5) Doesn't this also have the disadvantage of not being embedded in the Word document? So if the document.xml file moves to another directory, the Visio file must also be moved.
(6) Are there good references on the Internet for the elements and attribute, say for w:object, w:dxaOrig, w:dyaOrig, v:shape id, o:OLEObject ProgID, o:title, etc.?
(7) I've been using Oxygen 9.1 on Windows XP for my XML work.
I know I have lots of questions, but I couldn't find good explanations or examples on the Internet.
Thanks for more help. Feel free to contact me via emal.
-- Mike