14.7 Converting graphics for generic XML

In all important respects, graphics output for XML is the same as for XHTML or HTML; see §23 Including graphics in HTML. However, when you use Save As XML in FrameMaker, the image references produced look like the following:

<IMAGE xml:link="simple" href="some.gif" show="embed" actuate="auto"/>

To reproduce this effect when you convert to XML with Mif2Go, or to provide an equivalent, you can specify values for the following graphics options:

[Graphics]

;ImgTagElement = tag to use for all image elements, default is "img"

;ImgTagElement=img

;ImgSrcAttr = name to use for all image source attrs, default is "src"

;ImgSrcAttr=src

; XMLGraphAttrs = No (default)

;  or Yes to add attrs to XML <img .../> tags:

; xml:link="simple" show="embed" actuate="auto"

XMLGraphAttrs=No

Whatever values you specify apply to all graphics in your document.

To eliminate graphics from XML output, see §23.4.5 Omitting graphics from HTML or XML output.