Re: xsl for html import

Marc Santhoff <[email protected]> Thu, 02 Jun 2005 17:11:24 +0200
Newsgroups gmane.comp.openoffice.devel.xml
Message-ID <[email protected]>
Am Donnerstag, den 02.06.2005, 11:32 +0200 schrieb Klaus Endelmann:
> Hi *,

Hello Klaus,

> I am looking for a way to import a kind of sgml/html files (runoff print files
> from VMS platform) into OOo.
> 
> I found an examples in the admin guide importing simple html tables into calc.
> with some little changes it doesn't produce an error anymore (with OOo 1.9.100).
> 
> But running the sample it starts calc but there is no data imported. testing the
> sample with OOo 1.3 /1.4 is the same.
> 
> Since there is a standard import filter html->calc I tried to find out more
> about the xsl file used but the "XML filter settings" dialog only shows external
> filters.
> 
> Can anyone point me to the right direction where to find the xsl or
> documentation about html import filter within OOo?

For me the xsl is there:

/usr/local/OpenOffice.org1.1.0/program/classes/htmlsoff.jar

$ jar -tf htmlsoff.jar
META-INF/
htmltosoff.xsl
sofftohtml.xsl
META-INF/converter.xml
META-INF/MANIFEST.MF

Look where your installation lives and unpack the corresponding jar.

HTH,
Marc