...
The actual graphic itself does not form part of the XML. Instead, the XML includes a pointer to the image file, represented by the @xlink
attribute of the graphic
element. By default, the filename in this pointer is constructed automatically from the manuscript ID entered during activation of the Word file and an incremental counter. In the example below, this givesĀ @xlink:href="123-f1"
for the first image in a document with ID 123.
If the images are embedded in the Word file and are retained in the file at the point that the document is exported to XML, these paragraphs should be styled as Non-XML Text in order to avoid parsing errors or the presence of extraneous elements in the XML.
Example
Info |
---|
This illustration is an excerpt from the sample document: Sample 2_Book Review.docx |
...