The DTD in the drive file
The following are the first lines in the drive file. They are the DTD for the drive file. These are followed by header fields then the processing instructions.
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE importcontrol [
<!ELEMENT ImportControl (PcmLoadLoc, PcmDocType,
LoadFileDir, PcmSecurity, Parent+)>
<!ATTLIST ImportControl
User CDATA #REQUIRED
Password CDATA #REQUIRED
Server CDATA #REQUIRED
Dbase CDATA #REQUIRED
DTDFile CDATA #REQUIRED
Socket CDATA #REQUIRED
ImportType CDATA #REQUIRED
RunTime CDATA #REQUIRED>
<!ELEMENT PcmLoadLoc (EMPTY)>
<!ATTLIST PcmLoadLoc
Path CDATA #REQUIRED>
<!ELEMENT PcmDocType (EMPTY)>
<!ATTLIST PcmDocType
Name CDATA #REQUIRED>
<!ELEMENT LoadFileDir (EMPTY)>
<!ATTLIST LoadFileDir
Path CDATA #REQUIRED>
<!ELEMENT PcmSecurity (EMPTY)>
<!ATTLIST PcmSecurity
Level CDATA #REQUIRED>
<!ELEMENT Parent (PcmInfo, AttrData?, Children)>
<!ATTLIST Parent
Action CDATA #REQUIRED
ItemNbr CDATA #IMPLIED>
<!ELEMENT Children ((Slice | Kid)*)>
<!ATTLIST Children
Parent CDATA #REQUIRED>
<!ELEMENT Slice (EMPTY)>
<!ATTLIST Slice
ItemNbr CDATA #IMPLIED
FileName CDATA #REQUIRED
FileType CDATA #REQUIRED>
<!ELEMENT Kid (PcmInfo, AttrData?, Slice*)>
<!ATTLIST Kid
Action CDATA #REQUIRED
MyItemNbr CDATA #IMPLIED>
<!ELEMENT PcmInfo (EMPTY)>
<!ATTLIST PcmInfo
PcmPath CDATA #REQUIRED
UsePcmObj CDATA #REQUIRED
HierType CDATA #REQUIRED
AppDat CDATA #REQUIRED
PropSht CDATA #REQUIRED
HasKids CDATA #IMPLIED>
<!ELEMENT AttrData (Attrs, PcmFields)>
<!ATTLIST AttrData
Pairs CDATA #REQUIRED>
<!ELEMENT Attrs (#PCDATA)>
<!ELEMENT PcmFields (#PCDATA)>
]>
The DTD information in the control file (above) is followed by data that contains instructions for the Import process—that is, instructions about how to fragment the file and the Contenta objects to create and which will house the data.