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

Re: XSL to ODF/OOXML

Subject: Re: XSL to ODF/OOXML
From: Steve <subsume@xxxxxxxxx>
Date: Thu, 25 Oct 2007 14:06:49 -0400
 Re: XSL to ODF/OOXML
Months later, I'm going back and doing this the right way, and making
an object which will convert any of my pages to Word-devourable HTML.
I use a lot of css and floated spans, so simply changing the output
type to Word doesn't work too well.

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):

"Required white space was missing"

I realize this list doesn't provide support for particular parsers.
I'm hoping this is some obvious misunderstanding of the string I am
feeding as XML which looks like:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns:msxsl="urn:schemas-microsoft-com:xslt">
    <head>
         <META http-equiv="Content-Type" content="text/html;
charset=ISO-8859-15">
          <title>Database</title>
          <script src="../master/Global/prototype-1.6.0_rc0.js"></script>
          <link rel="stylesheet" media="print"
href="../master/Global/print.css">
     </head>
<body>
        .... blah blah ....
</body>
</html>

Thanks,

-Steve

On 4/27/07, Steve <subsume@xxxxxxxxx> wrote:
> I'm scouring the internet looking for leads on creating ODF/OOXML with
> XSL transforms. I'm not really finding a whole lot, other than command
> line programs which accomplish as much.
>
> I have a website with lots of reports and, ideally, I'd like to have
> an 'export to Word' feature. Is this just another XSL transform that
> requires me learning the appropriate output schema or is there
> something additional that needs to be done?
>
> Also, I already have HTML versions of the reports I need (nothing too
> complicated). I'm wondering if I can use the XHTML output as my source
> XML and have one stylesheet that converts all of my documents into the
> appropriate format? Or am I reaching for the philosopher's stone too
> soon?
>
> I'm using XSL 1.0 and MSXSL parser.
>
> -S

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-2011 All Rights Reserved.