Graph format

An XML file in PPM graph format contains a list of graphs (EPCs). Each graph represents a process instance or a process instance fragment. A graph is made up of different types of objects, connections and any object relations. The graph and the objects, connections and relations can have attributes.

The XML file below contains a simple graph, which is made up of three linked objects (event – function – event):

<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE graphlist SYSTEM "graph.dtd">

<graphlist>

<graph id="00093862" xml:lang="en">

<attribute type="AT_ID">XMLGraph-Job-00093862</attribute>

<attribute type="AT_EPK_KEY">00093862</attribute>

<attribute type="AT_PROCTYPE">Standard order</attribute>

<attribute type="AT_PROCTYPEGROUP">Order processing</attribute>

<node id="Start" type="OT_EVT">

<attribute type="AT_OBJNAME_INTERN">AUFTRAG_ANZU</attribute>

<attribute type="AT_OBJNAME">Customer order to be created</attribute>

</node>

<node id="Function" type="OT_FUNC">

<attribute type="AT_OBJNAME_INTERN">AUFTRAG</attribute>

<attribute type="AT_OBJNAME">Create customer order</attribute>

<attribute type="AT_START_TIME">14.2.2000 13:12:57</attribute>

<attribute type="AT_END_TIME">14.02.2000 13:22:57</attribute>

</node>

<node id="Processor" type="OT_ORG">

<attribute type="AT_OBJNAME">Ms. Smith</attribute>

</node>

<node id="End" type="OT_EVT">

<attribute type="AT_OBJNAME_INTERN">LIEFERUNG_ANZU</attribute>

<attribute type="AT_OBJNAME">Delivery to be created</attribute>

<attribute type="AT_ID">XMLGraph-Job-Evt2</attribute>

</node>

<edge type="CXN_FOLLOWS" source="Start" target="Function" />

<edge type="CXN_FOLLOWS" source="Function" target="End" />

<relationtype name="REL_CARRY_OUT">

<relation source="Processor" target="Function">

<attribute type="AT_KI_PK_R">7.5 EUR</attribute>

<attribute type="AT_KI_RNUM">1</attribute>

</relation>

</relationtype>

</graph>

</graphlist>

When imported into PPM, the structure of XML files in graph format is verified against the following DTD:

tr_xml_dtd