<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:12pt"><div style="font-family: arial,helvetica,sans-serif; font-size: 12pt;">Hello.<br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div style="font-family: courier,monaco,monospace,sans-serif;"><span style="font-family: arial,helvetica,sans-serif;">I've drawn a simple finite state machine(FSM)</span><br style="font-family: arial,helvetica,sans-serif;"><span style="font-family: arial,helvetica,sans-serif;">in Umbrello as a "State Diagram"</span><br><br><br>     +---+   EVENT_A   +---+<br>     | A |------------>| B |<br>     +---+             +---+<br><br><span style="font-family:
 arial,helvetica,sans-serif;">Given this FSM I would like to extract the</span><br style="font-family: arial,helvetica,sans-serif;"><span style="font-family: arial,helvetica,sans-serif;">associations from the XML. i.e. I would
 like</span><br style="font-family: arial,helvetica,sans-serif;"><span style="font-family: arial,helvetica,sans-serif;">to read the xml file produced by this drawing</span><br style="font-family: arial,helvetica,sans-serif;"><span style="font-family: arial,helvetica,sans-serif;">and gain the following information:</span><br style="font-family: arial,helvetica,sans-serif;"><br style="font-family: arial,helvetica,sans-serif;"><span style="font-family: arial,helvetica,sans-serif;"> There are 2 states: </span><br style="font-family: arial,helvetica,sans-serif;"><span style="font-family: arial,helvetica,sans-serif;">    - A</span><br style="font-family: arial,helvetica,sans-serif;"><span style="font-family: arial,helvetica,sans-serif;">    - B</span><br style="font-family: arial,helvetica,sans-serif;"> There is 1 association (transition): <br>     - <transition_1>:<br>        type = directed
 (i.e. 1 endpoint)<br>       text = EVENT_A<br>       begin point = state A<br>        endpoint = state B<br><br><span style="font-family: arial,helvetica,sans-serif;">Does anyone know what attributes of the XML will</span><br style="font-family: arial,helvetica,sans-serif;"><span style="font-family: arial,helvetica,sans-serif;">give me this information?  I can't seem to find </span><br style="font-family: arial,helvetica,sans-serif;"><span style="font-family: arial,helvetica,sans-serif;">a pattern.  I don't see how the states and </span><br style="font-family: arial,helvetica,sans-serif;"><span style="font-family: arial,helvetica,sans-serif;">transition arrow are linked by looking at the </span><br style="font-family: arial,helvetica,sans-serif;"><span style="font-family: arial,helvetica,sans-serif;">attributes of the XML.</span><br style="font-family: arial,helvetica,sans-serif;"><span
 style="font-family: arial,helvetica,sans-serif;">Example StateWidget:</span><br><span style="font-family: arial,helvetica,sans-serif;"><--! FOR STATE A --></span><br><UML:StateWidget statetype="1" statename="A" usesdiagramfillcolour="1" width="47" usesdiagramusefillcolour="1" x="172" linecolour="none" y="185" instancename="" usesdiagramlinecolour="1" fillcolour="none" height="27" usefillcolor="1" isinstance="0" xmi.id="11" documentation="" font="Sans Serif,10,-1,5,50,0,0,0,0,0" ><br><span style="font-family: arial,helvetica,sans-serif;"><--! FOR STATE B --></span><br><UML:StateWidget statetype="1" statename="B" usesdiagramfillcolour="1" width="47" usesdiagramusefillcolour="1" x="342" linecolour="none" y="195" instancename="" usesdiagramlinecolour="1" fillcolour="none" height="27" usefillcolor="1" isinstance="0" xmi.id="12" documentation="" font="Sans Serif,10,-1,5,50,0,0,0,0,0" ><br><br><span style="font-family: arial,helvetica,sans-serif;"><--!
 Association widget --></span><br><associations><br>     <UML:AssocWidget totalcounta="2" indexa="1" visibilityB="200" totalcountb="2" indexb="1" widgetbid="12" widgetaid="11" roleBdoc="" roleAdoc="" type="514" changeabilityA="900" changeabilityB="900" visibilityA="200" ><br>      <linepath><br>       <startpoint startx="219" starty="198" /><br>       <endpoint endx="342" endy="208" /><br>      </linepath><br>      <UML:FloatingTextWidget usesdiagramfillcolour="1" width="120" usesdiagramusefillcolour="1" x="280" linecolour="none" y="203" instancename="" posttext="" usesdiagramlinecolour="1" role="703" fillcolour="none" height="20" usefillcolor="1" pretext="" isinstance="0" xmi.id="-1" text="EVENT_A" font="Sans Serif,10,-1,5,50,0,0,0,0,0" /><br>     
 <UML:FloatingTextWidget usesdiagramfillcolour="1" width="16" usesdiagramusefillcolour="1" x="221" linecolour="none" y="200" instancename="" posttext="" usesdiagramlinecolour="1" role="709" fillcolour="none" height="20" usefillcolor="1" pretext="+" isinstance="0" xmi.id="-1" text="" font="Sans Serif,10,-1,5,50,0,0,0,0,0" /><br>      <UML:FloatingTextWidget usesdiagramfillcolour="1" width="16" usesdiagramusefillcolour="1" x="324" linecolour="none" y="186" instancename="" posttext="" usesdiagramlinecolour="1" role="710" fillcolour="none" height="20" usefillcolor="1" pretext="+" isinstance="0" xmi.id="-1" text="" font="Sans Serif,10,-1,5,50,0,0,0,0,0" /><br>     </UML:AssocWidget><br>    </associations><br><br><span style="font-family: arial,helvetica,sans-serif;">I don't want to try to extract the information from the X,Y position</span><br style="font-family:
 arial,helvetica,sans-serif;"><span style="font-family: arial,helvetica,sans-serif;">co-ordinates, because who is to say that some of the consumers of my</span><br style="font-family: arial,helvetica,sans-serif;"><span style="font-family: arial,helvetica,sans-serif;">code in process won't overlap states...</span><br style="font-family: arial,helvetica,sans-serif;"><br style="font-family: arial,helvetica,sans-serif;"><span style="font-family: arial,helvetica,sans-serif;">Does anyone know?  Could a developer give me a hint?<br><br>Thanks.<br></span></div></div></div><br></div></div><br>
      <hr size=1><a href="http://us.rd.yahoo.com/evt=48250/*http://searchmarketing.yahoo.com/arp/sponsoredsearch_v9.php?o=US2226&cmp=Yahoo&ctv=AprNI&s=Y&s2=EM&b=50">Pinpoint customers </a>who are looking for what you sell. 

</body></html>