Omni Systems, Inc.

  

Mif2Go User's Guide, Version 55

  

Valid HTML 4.01!

 

Made with Mif2Go

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