Home Search

DriveWorks Pro 21
Document Rules: XML Document

Send Feedback

Document Rules: XML Document

This document describes the kinds of rules that apply to documents.

XML Document Rules

Output File Name Rule

RuleMeaning
"DELETE"Prevents the document from being created.
DWSpecificationIdCreates a new XML document with the specification number used for the file name - for example, "BOM.xml" would become "1.xml" if it was generated by the first specification.
DWSpecificationId&".html"Creates a new HTML document with the specification number used for the file name - for example, "BOM.xml" would become "1.html" if it was generated by the first specification. See File types table below for all file types that can be created from a XML document.
DWSpecificationId&".BOM.xml"Creates a new XML document with the specification number and .BOM used for the file name - for example, "BOM.xml" would become "1.BOM.xml" if it was generated by the first specification.
When using "." in the naming of a document the file type extension must always be included.
If the file extension is excluded the file type of the document will take the name of any text included after the "."
File ExtensionFile Type
. htmlHypertext markup language document
The available file types are limited with XML documents.

Output File Path Rule

The output file path rule controls the folder that the document is created in.

If the folder specified by the Output File Path Rule does not exist it will be created by DriveWorks when the document is created.
RuleMeaning
""If the rule is blank the document will be created in the Specification Path folder which is applied in the Specification Settings.
"\Documents"If the Specification Path is set to "C:\DriveWorksPro\"&DWSpecificationID the document will be created in the C:\DriveWorksPro\1\Documents folder if it was generated by the first specification.
"C:\DriveWorksPro\Generated Documents"The document will be created in the C:\DriveWorksPro\Generated Documents folder

Tagged Elements

All tagged elements are displayed in the tagged elements window. Current values of any tagged elements will be restored in the new document unless a rule is applied.

RuleMeaning
""If the rule is blank any value in the named range will be removed
DWVariableTotalQtyReports the result of the variable TotalQty into the named range
DWCurrentUserNameReports the name of the person logged into DriveWorks as defined in Security Settings.