RE: [xsl] plea for help...

Subject: RE: [xsl] plea for help...
From: "Walter Torres" <walter@xxxxxxxxx>
Date: Thu, 9 Mar 2006 10:52:59 -0600 (CST)
On Wed, March 8, 2006 5:28 pm, Florent Georges wrote:
> Walter Torres wrote:
>
>
>> 1) convert HMTL into well formed HTML (many are not)
>> 2) convert well formed HTML into xHTML
>>
>
> Tidy HTML will give you XHTML from HTML.

Yes, just found it late last night. Been playing with it all morning.

Getting it to work in PHP5 is waht I'm focusing on now.


>> 3) convert xHTML into XML
>>
>
> An XHTML instance is already an XML instance.

Yes, I understand that.

But I'm trying to get this to a "pure" xml, no display characteristics
markup what so ever!

The idea here is to have a "raw/naked" file as possible, that way any
system can display this as they see fit.


> If you want to translate the instance from XHTML to an other XML document
> type, XSLT may be of great help.

Sure, that way I can great a look for website A which is different than
website B, then create a text or RTF only or even email text or HTML or
even via web-phone.

This is why I was asking about how different folks hand this kind of
content. What kind of markup it contains, etc.


>> 4) create XSLTs to transpose XML back to HTML for page display
>
> Here again, XSLT may be of great help.

Right.

Thanks

Walter

Current Thread