You are here

SimileProlog-SimileXMLv3 conversion using XSugar

This page contains the XSugar rule-set for converting between Simile Prolog and SimileXMLv3, as well as notes on its development and use.

Files

The following files are attached.  

SimileProlog_SimileXMLv3.xsg

This is the XSugar rule-set.

LINTUL.pl

This is the Prolog for the LINTUL model as exported from Simile.

LINTUL.xml

This is the XML generated by XSugar when it appliesthe above rule set to the above Prolog file.

Using XSugar

Install XSugar, then issue the following comamnd at the command line:

exec java -jar xsugar-all.jar SimileProlog_SimileXMLv3.xsg LINTUL.pl > LINTUL.xml

AttachmentSize
Binary Data SimileProlog_SimileXMLv3.xsg20.25 KB
Plain text icon LINTUL.pl30.37 KB
File LINTUL.xml65.97 KB