ArcFM Desktop Developer Guide
Designer's Use of XML

Resource Center Home

Designer uses a set design structure in its editing environment. When a design is opened, the necessary information (in the correct structure) is passed from Workflow Manager to Designer so that the design can be modeled geographically. Since the XML model is hierarchical in nature, it is well suited for the transmission of design information from Workflow Manager to Designer and vice-versa. The Designer API provides the tools that programmatically load designs as XML, encapsulating the details of translating the XML into the design object tree that Designer uses. Figure 1 provides an overview of a Designer implementation - note the role of XML in the overall scheme.

The Workflow Manager integration is where design information from Workflow Manager is written into the Designer-compliant XML object and where updated design information is received from Designer (again, as XML) and written back to Workflow Manager.


Figure 1, Basic Integration Concept

 

Load Designs as XML

When a design is loaded as XML, the Designer API performs the following tasks:

XML Snippet
Copy Code
    <!ELEMENT DATABASE (SERVER?, INSTANCE?, USER?, DBVERSION?, DBNAME?)>
    <!ATTLIST DATABASE LOCATION (Local | File | Remote> "Local"

    <!ELEMENT SERVER (#PCDATA)>
    <!ELEMENT INSTANCE (#PCDATA)>
    <!ELEMENT USER (#PCDATA)>
    <!ELEMENT DBVERSION (#PCDATA)>
    <!ELEMENT DBNAME (#PCDATA)>

 

 


Send Comment to ArcFMdocumentation@schneider-electric.com