[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: XSL template to convert blob of HTML tags to Word

Subject: RE: XSL template to convert blob of HTML tags to Word ML tags?
From: "SANWAL, ABHISHEK (HP-Houston)" <abhishek.sanwal@xxxxxx>
Date: Thu, 26 Aug 2004 11:56:28 -0500
convert blob to text
Altsoft,

1. The HTML that InfoPath rich text box generates for any rich text
added into it is XHTML. So we have the XML compliance covered.
2. I think even the formatting would be taken care of and if not I shall
think about a way around that.
The current question is what would be the most convenient and
non-complex (hopefully) way to convert a blob of X-HTML to Word ML.

Any thoughts are welcome.

Thanks,

Abhishek
____________________________________________________________

Abhishek Sanwal
HP - Houston Campus

........................................................................
..

-----Original Message-----
From: Altsoft Xml2PDF [mailto:xml2pdf@xxxxxxxxxxxx]
Sent: Wednesday, August 25, 2004 11:52 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Cc: SANWAL, ABHISHEK (HP-Houston)
Subject: Re: XSL template to convert blob of HTML tags to Word ML tags?

> 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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.