#xchg
- goal: Convertion OpenMarkov's ProbModelX (pgmx) ↔ XMLBIF (xml)
- tech: Two
XSLT
stylesheets are provided to convert in each way:bif2pgmx.xslt
: XMLBIF → ProbModelXpgmx2bif.xslt
: ProbModelX → XMLBIF
- requirements: A
XSLT
processor (e.g.xsltproc
available inOSX
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;
- My first experiment with
- acknowledgements:
- Gnome for
libxslt
; - W3C for the standards;
- Open Source for freedom;
- OpenMarkov for the PGMX format (and related tools);
- Fabio Gagliardi Cozman for the XMLBIF format;
- Gnome for