Template System: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
Line 20: Line 20:
::<font color=blue><!—</font>{{APIComment|The HID element is optional. If present, it must match an existing HID. An HID must be an integer}}
::<font color=blue><!—</font>{{APIComment|The HID element is optional. If present, it must match an existing HID. An HID must be an integer}}
::<font color=Blue><HID></font><font color=Black>10</font><font color=Blue></HID></font>
::<font color=Blue><HID></font><font color=Black>10</font><font color=Blue></HID></font>
::{{Template:XFRACAS.Blue|<[[Template System.Entity|Entity]]>}}
:::<font color=Blue><EntityID></font><font color=Black>1</font><font color=Blue></EntityID></font>
:::<font color=Blue><EntityName></font><font color=Black>XFRACAS Software</font><font color=Blue></EntityName></font>
::{{Template:XFRACAS.Blue|</[[Template System.Entity|Entity]]>}}
::<font color=blue><!—</font>{{APIComment|The Owner element is optional and, if present, the Login element value must match an existing valid user.}}
::{{Template:XFRACAS.Blue|<CCUsers/>}}
::<font color=blue><!—</font>{{APIComment|<! SubParts must follow valid part logic.}}
::<font color=blue><!—</font>{{APIComment|<! SubParts must follow valid part logic.}}
::{{Template:XFRACAS.Blue|<SubParts>}}
::{{Template:XFRACAS.Blue|<SubParts>}}
Line 37: Line 31:
::::{{Template:XFRACAS.Blue|</[[Template System.Part|Part]]>}}
::::{{Template:XFRACAS.Blue|</[[Template System.Part|Part]]>}}
::::<font color=Blue><HID></font><font color=Black>11</font><font color=Blue></HID></font>
::::<font color=Blue><HID></font><font color=Black>11</font><font color=Blue></HID></font>
::::{{Template:XFRACAS.Blue|<[[Template System.Entity|Entity]]>}}
:::::<font color=Blue><EntityID></font><font color=Black>1</font><font color=Blue></EntityID></font>
:::::<font color=Blue><EntityName></font><font color=Black>XFRACAS Software</font><font color=Blue></EntityName></font>
::::{{Template:XFRACAS.Blue|</[[Template System.Entity|Entity]]>}}
::::{{Template:XFRACAS.Blue|<CCUsers/>}}
::::<font color=blue><!—</font>{{APIComment|<! SubParts must follow valid part logic.}}
::::<font color=blue><!—</font>{{APIComment|<! SubParts must follow valid part logic.}}
::::{{Template:XFRACAS.Blue|<SubParts>}}
::::{{Template:XFRACAS.Blue|<SubParts>}}

Revision as of 17:52, 21 April 2015

XML Elements


Template System Sample

<System>
<!— The Part element is required and must contain either a new valid part or an existing valid part.
<Part>
<PartName>Synthesis Platform</PartName>
<PartNumber>SYN</PartNumber>
<PartVersion>9</PartVersion>
<RetiredDate/>
<!— The use existing element is required and must contain either “Yes” (to use identical part in same entity) or “No” (to use a new part).
<UseExisting>Yes</UseExisting>
</Part>
<!— The HID element is optional. If present, it must match an existing HID. An HID must be an integer
<HID>10</HID>
<!— <! SubParts must follow valid part logic.
<SubParts>
<SubPart>
<Part>
<PartName>Weibull++</PartName>
<PartNumber>DFR</PartNumber>
<PartVersion>9</PartVersion>
<RetiredDate/>
<UseExisting>Yes</UseExisting>
</Part>
<HID>11</HID>
<!— <! SubParts must follow valid part logic.
<SubParts>
<SubPart>
<Part>
<PartName>Weibull++</PartName>
<PartNumber>W</PartNumber>
<PartVersion>9</PartVersion>
<RetiredDate />
<UseExisting>Yes</UseExisting>
</Part>
<SubPart>
<SubParts>
<SubPart>
<Part>
</System>