Overall file structure
A Content Manager OnDemand XML file is an unformatted text file that can be created by the user.
Every Content Manager OnDemand XML file contains the following elements:
- xml identifier tag
- The XML identifier tag specifies the version of XML that is used
and the encoding that is used. The standard XML identifier is:
<?xml version="1.0" encoding="UTF-8"?>
- onDemand identifier tag
- The onDemand identifier tag specifies the purpose for which the
XML file is used. The standard onDemand identifier is:
<onDemand xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
Previous versions of Content Manager OnDemand included an
xsi:noNamespaceSchemaLocation
attribute on the onDemand identifier tag to indicate the location of the Content Manager OnDemand schema file. The schema file is now located in the /QIBM/ProdData/OnDemand/xml IFS directory. Content Manager OnDemand no longer looks for the schema file location based on thexsi:noNamespaceSchemaLocation
attribute in the input XML file. If thexsi:noNamespaceSchemaLocation
attribute is present in the XML file, it is ignored. - Content Manager OnDemand objects
- See XML objects in the Content Manager OnDemand XML file for objects and data model used in the XML file.
- onDemand ending tag
- The onDemand ending tag indicates the end
of the Content Manager OnDemand XML file.
The ending tag is:
</onDemand>
Every standard Content Manager OnDemand XML file looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<onDemand xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
... Content Manager OnDemand Objects ...
</onDemand>