Date: prev next · Thread: first prev next last
2010 Archives by date, by thread · List index


Michael Meeks wrote:
      Riight; interesting. Ultimately XSLT requires a DOM to operate on, so I
suppose if we get SAX events from OO.o, we will need to map these to
libxml's nodes.

      I believe we already have code to do this in
xmlsecurity/source/xmlsec/saxhelper.cxx / .hxx - which essentially uses
libxmlsec (built on libxml2) to do document signing as of now [ AFAIR
etc. ].

      Perhaps we can re-use some nice chunks of code from there ?

Hm, just getting a DOM tree is even easier - instantiate a
"com.sun.star.xml.dom.DocumentBuilder" service & off you go - 

unoxml/source/dom/documentbuilder.cxx has the implementation, see
CDocumentBuilder::parseURI() for the internal workings.

Cheers,

-- Thorsten

Attachment: pgp4lj_rs_nBL.pgp
Description: PGP signature


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.