> I have never dived into the code for tex4ht, but this last > description suggests to me that xtpipes is an interface to > James Clark's "xt", which is an implementation of XSLT > transformations via java libraries. > > See http://www.jclark.com/xml/ > > I would not expect xtpipes to work properly unless xt is > installed on the user's platform. There are 3 jars: > xp/xp.jar, xt/sax.jar, and xt/xt.jar. The installation I > have is from 1999 and occupies about 4 megabytes in > /usr/local. If it would help I can send along a shell > script for running it from the command line.
I am not sure whether it is the same thing. Maybe it was inspired? Here is the source [1] and the documentation [2]. > > New DomObject? Sounds interesting. Is there a doc for it? It is in the development version of LuaXML [3]. Documentation is only in the source comments at the moment, I am still working on it. There is also CSS selector library [4], which can be used for element traversing and matching, using CSS selector syntax. I plan to use it for conversions from XML to LaTeX, or other formats (StarMath?). But it is not usable yet. Anyway, the usage can be seen in the unit tests ([5], [6]). [1] http://svn.gnu.org.ua/viewvc/tex4ht/trunk/src/java/xtpipes/Xtpipes.java?revision=4&view=markup [2] http://michal-h21.github.io/src4ht/xtpipes.html [3] https://github.com/michal-h21/LuaXML/blob/master/luaxml-domobject.lua [4] https://github.com/michal-h21/LuaXML/blob/master/luaxml-cssquery.lua [5] https://github.com/michal-h21/LuaXML/blob/master/test/dom-test.lua [6] https://github.com/michal-h21/LuaXML/blob/master/test/cssquery-test.lua