Hi Ingmar,

the HTML import is not an XSL transformation, but a C++ implementation.

You may find the sources in the sw project, esp. beyond
        
        sw/source/filter/html/

Enjoy,
Svante

Ingmar Schlecht wrote:
Hi guys,

I'm using the cursor.insertDocumentFromURL() UNO-method to insert an
HTML file into an ODT file from a python shell script.

Now, during the HTML to ODT conversion some information gets lost, e.g.
the class attributes in <span class="myclass"></span> tags.

My question now is, whether it's possible to somehow hook into the
conversion mechanism and make it convert those class attributes of span
tags to ODT markup like
        <text:span text:style-name="myclass"></text:span>

A little description of what OpenOffice is actually doing when
converting HTML to ODT files and which classes and/or XSLT bits of the
OOo code is involved would help me a lot, I guess.

cheers
Ingmar


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to