XML schema file
An XML schema file is a text file that defines the structure, content, and semantics of the XML file. The name of the schema file to be used with an XML file must be defined in the XML file using the
xsi:noNamespaceSchemaLocation
attribute.To import an XML file and generate a number of graphic objects, the Graphics Import Export Wizard will make sure the XML file specified by the user is valid according to the schema file referenced within the XML file. If the XML file is invalid, the graphic importer will show an error message describing the problem. If the XML file is valid, the Graphics Import Export Wizard will create or update the graphic objects based on the information in the XML file.
A schema file has the extension .xsd. When you install
The schema file for FactoryTalk View
, this file is installed in \Program Files\Rockwell Software\RSView Enterprise\Schemas
.FactoryTalk View SE
is Gfx_SE4.xsd. The following is a small portion of the schema file showing how border styles must be described for graphics objects:
<xs:simpleType name="borderStyleEnums"> <xs:restriction base="xs:NMTOKEN"> <xs:enumeration value="none"/> <xs:enumeration value="raised"/> <xs:enumeration value="inset"/> <xs:enumeration value="raisedInset"/> <xs:enumeration value="line"/> </xs:restriction> </xs:simpleType>
Provide Feedback