Administration d'entreprise > Utilitaire de création d'articles > Using Elements to Create XML Scripts > Creating XML Scripts Using Elements: Before You Begin
  
Creating XML Scripts Using Elements: Before You Begin
Part selection criteria is defined in an XML file containing one or many PartAction elements. The Windchill Part Creation tool XML runtime file contains parts created according to the rules laid out in PartAction elements.
Think of the PartAction element as a filter that selects the CAD Documents you want and weeds out the ones that you do not want. The PartAction Element contains the following elements:
Folder Specification (FolderSpec)
Product Item Specification (PISpec)
Product Item Version Specification (PIVSpec)
These elements allow you to filter CAD Documents by folder location, product item attributes, and product item version attributes.
The part selection criteria are comprised of a number of named elements organized into a nested hierarchy. This figure illustrates the major parts of that hierarchy and how they fit together.