Perkun (http://sourceforge.net/projects/perkun/) can produce an XML file containing its specification. Write a Perkun specification (i.e. the four mandatory sections) and terminate it with an instruction:
cout << xml << eol;
When you execute the code with Perkun it will write an XML document to the standard output.
Now look at the file perkun.xslt. It is written in an XML-like language called XSLT. You may use it to convert the XML produced by Perkun into a HTML document. This can be done with any XSLT processor, we use here xsltproc:
xsltproc perkun.xslt document.xml > document.html
No comments:
Post a Comment