Omni Systems, Inc. |  | Mif2Go User's Guide, Version 55 |  |  |  |  |

> 14 Converting to generic XML > 14.3 Specifying generic XML output settings > 14.3.4 Specifying the root element and content type

### 14.3.4 Specifying the root element and content type

The default value for root is doc for generic XML. Because XML does not have <head> and <body> sections, the default is to omit these:

[HTMLOptions]

XMLRoot=doc

UseHeadAndBody=No

; ContentType = text/html (default for HTML and XHTML)

; or application/xml (default for XML); try not to use text/xml

; (for interoperability)

ContentType=application/xml

Content-Type is part of MIME, and is used by document-processing tools. Unless you know exactly what you want and need only a mechanism to specify it, leave this setting alone. For more information, see:

http://www.w3.org/Protocols/rfc1341/4_Content-Type.html

> 14 Converting to generic XML > 14.3 Specifying generic XML output settings > 14.3.4 Specifying the root element and content type

| Mif2Go User's Guide: 14.3.3 Specifying character encoding for generic XML |  | Mif2Go User's Guide: 14.3.5 Preventing arbitrary line breaks in XML text elements |