File Structure
The XML file is structured as shown below. The information shown here is for reference only as to the hierarchy of the tags, and some lines have been consolidated for brevity. For details, see Symbol Definition Tags.
The first few lines of the file are required.
- The first line defines the XML version, encoding, and schema.
- The second line points to the XSD file used for validating the file.
- The <Settings Standard> line defines the standard being followed and the unit measurement. Currently, only pixels are supported.
<?xml version="1.0" encoding="utf-8"?>
<Symbols xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="EasyPowerSymbols.xsd">
<Settings Standard="ANSI" Units="Pixels"/>
<Equipment Type>
<GraphicDefinition>
<SnapPoint></SnapPoint>
<ConnectionPoint></ConnectionPoint>
<TextTemplate>
<Text></Text>
</TextTemplate>
<SymbolTemplate>
<Circle></Circle>
<Polygon></Polygon>
<Arc></Arc>
<Polyline></Polyline>
<Rectangle></Rectangle>
<Line></Line>
<Text></Text>
<Bezier></Bezier>
</SymbolTemplate>
</GraphicDefinition>
</Equipment Type>
</Symbols>