On Fri, 2005-04-22 at 10:59 -0500, Bob Jamison wrote:
It is separate from XPath... We implemented an XSLTStream many weeks ago, and it works well. Actually, libxslt does all of the work, so there is not much code necessary to use it. Anyone can use it in their code. We were delaying providing a separate dialog for it (which selects 3 files) until gtkmm-ification was further progressed. There is a test for it in the directory.
Look in the /io directory at streamtest.cpp, xsltstream.cpp, crystalegg.xml, and doc2html.xsl.
You can also look at Jon's code for saving the repr tree as one of the streams. That stream can be piped to xsltstream.
It looks like it wouldn't be too hard to turn these into extensions... what would people want with an XSLT script then? Seems like you'd open other types, but then save as some other XML format?
I keep seeing rumors of a ChemML to SVG XSLT file out there, but I can't find it. If anyone knows where it is, I'd love to get a hold of it.
--Ted