Syntax
As an XML document, the part specification is comprised of one or more named elements organized in a nested hierarchy. An element has an opening tag, some data, and a closing tag.
A tag is an element name preceded by a less-than symbol (<) and followed by a greater-than (>) symbol.
For any given element, the name of the opening tag must match that of the closing tag.
A closing tag is identical to an opening tag except the less-than symbol (<) immediately follows the forward-slash (</).
Tag names are case-sensitive and should use the same case as defined in the DTD file.
This figure outlines a part specification.
Some elements (such as <FolderCondition>, <PICondition>, and <PIVCondition>) contain no data between the opening and closing tags. As such, you can end these opening tags with “/>” and leave out the closing tag all together. For example,
<PICondition Lookup= "name" Operator= "equal"
Value="bishop_b.asm"> </PICondition>
Is the same as, or becomes:
<PICondition Lookup= "name" Operator= "equal" Value= "bishop_b.asm"/>
這是否有幫助?