[xsl] Re: XSL template to convert blob of HTML tags to Word ML tags?

Subject: [xsl] Re: XSL template to convert blob of HTML tags to Word ML tags?
From: "Altsoft Xml2PDF" <xml2pdf@xxxxxxxxxxxx>
Date: Thu, 26 Aug 2004 09:51:55 +0300
> Does someone have or has seen XSLs that can be fed an blob of HTML tags
> and those tags get converted to and returned as Word ML tags.

There are two core problems that prevent from doing universal XSLT solution
for HTML (or even XHTML):
1. HTML may be not valid XML. If XML is not valid XSLT processor fails. Thus
only XHTML is Ok for XSLT.
2. Formatting is described in CSS. CSS might be defined in the style
attribute, in the <script> tag or in the external file. CSS have numerous
rules for addressing required tags (by class, by id, by tag name, by
attribute value, first child of, second child of the specified parent, etc.
). All this features are unrealizable using standard XSLT.

Thus, AFAICS, universal XSLT for HTML/XHTML cannot be implemented. This
solution might only be solved using software method.


Regards,
Altsoft Xml2PDF Team,
http://alt-soft.com/products_xml2pdf.jsp



> Date: Wed, 25 Aug 2004 12:10:01 -0500
> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
> From: "SANWAL, ABHISHEK (HP-Houston)" <abhishek.sanwal@xxxxxx>
> Subject: XSL template to convert blob of HTML tags to Word ML tags?
> Message-ID:
<24B68DDCFD49004882CD8D02D2E4338A02D89B00@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>

Current Thread