Selecting the Appropriate DTD at Runtime
DTDs are available for use during runtime of the LoadFromFile and LoadFileSet utilities. Refer to the Windchill installation for the complete list of DTDs. The following DTDs are located in the <Windchill>\codebase\registry\ixb\dtds\standardX20.dtd directory:
• csvmapfile.dtd—Describes data converted from CSV format, as well as some basic definitions such as those for containers
• netmarkets.dtd—Provides Windchill ProjectLink definitions
• pdmlink.dtd—Provides Windchill PDMLink definitions
• coreobjects.dtd—DTD for import and export
• search.dtd—DTD for import and export of saved searches
• logiccomponent.dtd—Defines the configuration logic of the configurable part
These DTDs are appended together at runtime and form a single DTD file. To specify the DTD in an XML data file, add the following line:
<!DOCTYPE NmLoader SYSTEM "standardX20.dtd">
|
Internally, the load framework locates the directory <Windchill>\codebase\registry\ixb\dtds\standardX20.dtd and creates a combined DTD from all DTD files in the folder. Ensure that this folder does not contain backup files. All backups should be placed in a separate location.
|
To obtain the validation DTD that is synchronized with the runtime DTD, run the following command:
windchill wt.load.util.UpdateEditDTDUtility