XAK (pronounced "sack") is a tool for composing base and refinement documents in XML format. Xak can be used to refine a MOFScript base transformation.
XAK (pronounced "sack") is a tool for composing base and refinement documents in XML format. Xak can be used to refine a MOFScript base transformation.
Copyright:
Attribution Non-Commercial (BY-NC)
Available Formats
Download as PPT, PDF, TXT or read online from Scribd
XAK (pronounced "sack") is a tool for composing base and refinement documents in XML format. Xak can be used to refine a MOFScript base transformation.
Copyright:
Attribution Non-Commercial (BY-NC)
Available Formats
Download as PPT, PDF, TXT or read online from Scribd
Revisiting the problem • Goal: – ScXml2Cpp.m2t – ScXml2Ada.m2t
How? • 20090220_Example1_mofscript.pptx XAK
• XAK (pronounced “sack”) is a tool for
composing base and refinement documents in XML format • We can have a XML representation of a MOFScript base transformation • We can refine the base transformation with XAK Steps
1. Convert MOFScript base transformation into
a model (XMI file) 2. Write XAK refinement for the XMI file 3. Launch XAK composition 4. Convert the resulting model into a MOFScript transformation MOFScript 2 Model MOFScript 2 Model base_T.m2t.model.mofscript XAK refinement ref-ada.xak.xml Launching composition • xak -c base_T.m2t.model.mofscript ref- ada.xak.xml -o ada.m2t.model.mofscript • As a result we get ada.m2t.model.mofscript composed MOFScript transformation model Model 2 MOFScript • We can execute the resulting model directly or we can convert it into a MOFScript transformation file Composed transformation