Skip to content

Latest commit

 

History

History
19 lines (18 loc) · 1.02 KB

README.md

File metadata and controls

19 lines (18 loc) · 1.02 KB

#xchg

  • goal: Convertion OpenMarkov's ProbModelX (pgmx) ↔ XMLBIF (xml)
  • tech: Two XSLT stylesheets are provided to convert in each way:
    • bif2pgmx.xslt: XMLBIF → ProbModelX
    • pgmx2bif.xslt: ProbModelX → XMLBIF
  • requirements: A XSLT processor (e.g. xsltproc available in OSX and most Linux distros)
  • usage:
    • xsltproc bif2pgmx.xslt a_network.xml > a_network.pgmx
    • xsltproc pgmx2bif.xslt a_network.pgmx > a_network.xml
  • warnings:
    • My first experiment with XSL*. Bugs are certain;
    • Experimental stuff. Use at your own risk;
  • acknowledgements: