Testing DI Using the Sample Files
Testing Dynamic Import using the sample structured document files provided in the Contenta_home/encaps/di directory. Some modifications may be necessary.
allwell.xml
Top of document:
?xml version='1.0' standalone="yes" encoding="UTF-8"?
Choose DTD for the XML Option in the DI interface under the Global tab.
schema-sample-di.xml
This file’s wrapper references schema-sample.xsd:
<?xml version="1.0" encoding="utf-8"?>
<PLAY xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="$DI-PROGRAMDIR/SgmlFiles/schema-
sample.xsd">
The $DI-PROGRAMDIR path in xsi:noNamespaceSchemaLocation is automatically updated with the Contenta home directory path (as saved in the registry).
Choose SCHEMA for the XML Option in the DI interface under the Global tab.
wellformed.xml
Top of document:
<?xml version=’1.0’ standalone=“yes” encoding=“UTF-8”?><PLAY>...
Choose WELLFORMED for the XML Option in the DI interface under the Global tab.