Hi Gioele, I've gotten so far as to have a working implementation of XSLTFilter which uses libxml2/libxslt to do the XSL transformation. It's still missing some details like passing parameters to the xslt script, but it works for the flat xml export and for xhtml export as well. Using this implementation would remove the java dependency from xslt filter processing, but actually it might still be a good idea to implement the flat xml filter as a special filter which doesn't depend on xslt at all (like in the odk example). The current stylesheets basically do an identity transformation and then some "split-long-lines". I don't quite understand the purpose of that stylesheet. What does it do?
Thanks, Peter Am Sonntag, den 12.12.2010, 13:27 +0100 schrieb Gioele Barabucci: > Peter Jentsch 11/12/2010 22:42: > > Hi, I'm looking for an easy task to start hacking on OOo and because > > I've got some experience with XSLT and Java I stumbled upon that > > de-java-ising task for the XSLT export filter. > > > > Am I missing something? Xalan C++ doesn't support XSLT 2.0, does anybody > > known if XSLT export filters promise to support XSLT 2.0 (or XSLT 1.1)? > > Hi, > > the flat XML export XSLT filters ('odfflatxml') are quite simple. They > do not require XSLT 2.0; I tested them with libxml's xsltproc and they > work fine. > > IIRC the idea [1] was to move as much XSLT processing as possible to > libxml, not to Xalan, as libxml is already used internally by > LibreOffice. I think it could make sense to have a list of filters that > can be run using an XSLT 1.0 procesor and use libxml to run them. > > Maybe the flat XML format could be treated as a special filter: it could > be handled internally (with libxml) and shipped by default. > > Bye, > > [1] > http://article.gmane.org/gmane.comp.documentfoundation.libreoffice.devel/2729 > > -- > Gioele Barabucci <gio...@svario.it> > > _______________________________________________ > LibreOffice mailing list > LibreOffice@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/libreoffice > _______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice