>I have for example a bible with <span class="Verse">GENESIS 7:10</SPAN>
>"Verse" is not available (and the renderer does not know the attribute
>class) so the eBook renders normal text.
>
>What i want is DeCSS the HTML so i can create a good-looking eBook.
You could try embedding the CSS file in the HTML page, instead of
linking to it.

Signature
Bart.
robert_marquardt@gmx.de - 28 Mar 2006 15:08 GMT
This still does not help. The HTML renderer simply does not support the
"class" attribute for most tags.
This is a problem of "barely any CSS support in the HTML renderer".
> The problem is that the HTML renderer used for ebooks often do not
> handle CSS or the CSS file is not part of the eBook.
[quoted text clipped - 3 lines]
>
> What i want is DeCSS the HTML so i can create a good-looking eBook.
The best I can think of would be to create a set of scripts to go through
and convert every instance of <span class="Verse"> to <strong> and the
related </span> to </strong>. A search and replace would not match the
</span> to the related <span> and may end up mixing up your assorted
styles.
If you use Linux, then your default scripting language, mixed with grep
would probably do the trick, even to the extent of changing all occurrences
within any file within a directory tree. There has got to be something
similar in a windows or mac environment, but I am not the one to talk to
about those systems.
Carolyn

Signature
Carolyn Marenger
robert_marquardt@gmx.de - 29 Mar 2006 06:52 GMT
The idea is to use the CSS file and the HTML file to render a HTML file
only.
I do not know how webbrowsers handle this. Is there a way to get the
info from the DOM tree? That is load it into the webbrowser (probably
IE) and traverse the tree.