[provenance-challenge] opm2dot - labelling of complex values
Ben Clifford
benc at hawaga.org.uk
Tue Apr 21 09:53:50 BST 2009
Others might find this technique useful, so I am noting it here.
My swift OPM rendering stores complex XML data in the <value> elements
(ultimately, very complex, I expect) of processes and artifacts.
The opm2dot utility seems to expect the <value> to be a string. I am able
to preprocess my OPM XML to someting opm2dot will render using an xslt
stylesheet and piping my OPM output through xsltproc, allowing me to
condense my complicated XML into a summary string value.
$ xsltproc ./opm2dot.xslt opm.xml >copy.xml
$ opm2dot copy.xml copy.dot copy.pdf
http://www.ci.uchicago.edu/~benc/tmp/opm2dot.xslt
I do this because I want my official OPM XML to contain this complex
information, and want to keep that separate from the dot-based
presentation.
--
More information about the Provenance-challenge-ipaw-info
mailing list