Re: [xsl] plea for help...

Subject: Re: [xsl] plea for help...
From: "Alexander Johannesen" <alexander.johannesen@xxxxxxxxx>
Date: Thu, 9 Mar 2006 10:30:21 +1100
Hi,

On 3/9/06, Walter Torres <walter@xxxxxxxxx> wrote:
> Well, now that I've sold the idea, I'm stumped on how to do it.

It depends quite dramatically what those HTML files contain. If
they're reasonably semantic instead of presentation based, it should
be easy. The other way is damn hard. Here's what I would do ;

1. Try various ways to convert the HTML files to either Wiki notation
or OpenDocument formats; get rid of presentation markup and focus on
the semantics.
2. Convert the files from the Wiki notation to clean XHTML, and use
CSS for presentation.

> Also, how do you deal with display characteristics in XML? Like BOLD and
> ITALIC, or even BULLET LISTS (<ul><li>)

This again depends on what you're trying to achieve with this
conversion. XHTML *is* XML, so you're already there. If you're doing
something semantically outside the scope of HTML with the files, what
are they? If you just want to display them back again, just leave them
as XHTML. I'm sure the interesting part of the articles start and stop
at some points, so extract out these only.


Alex
--
"Ultimately, all things are known because you want to believe you know."
                                                         - Frank Herbert
__ http://shelter.nu/ __________________________________________________

Current Thread