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

RE: Re: XSL to ODF/OOXML

Subject: RE: Re: XSL to ODF/OOXML
From: "W Charlton" <XSLList@xxxxxxxxxx>
Date: Fri, 26 Oct 2007 10:57:36 +0100
RE:  Re: XSL to ODF/OOXML
Steve,

You said:

>I am performing two transforms. The result of the first transform becomes
>the XML of the second transform. However, I am getting this
>error (MSXML parser):

So I assume therefore you have 2 XSL files? 

The simple answer would then be to carry out the first transform using 
<xsl:output method="xml"/>
And then transform the resultant XML into HTML using:
<xsl:output method="html" indent="yes" doctype-public="-//W3C//DTD HTML 4.01
Transitional//EN" encoding="ISO-8859-1"/>

MSXML ignores the indent="yes" but it's probably good practice to include
it.

Also beware of the MSXML parser's habit of adding a utf-16 encoding which we
normally strip out server side, using asp or aspx. See a previous posting on
this subject.

MSXML will transform <script /> to <script></script>. MS at least got that
right!

Referring to David Carlisle's "Then you want <link> (and <br> etc rather
than <link/> and <br/>"

We use <br /> and <link /> (note the space) which is a useful halfway house
markup for HTML


William Charlton
The yMonda team
yMonda Limited
w: www.ymonda.net

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.