[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: "Scott Trenda" <Scott.Trenda@xxxxxxxx>
Date: Thu, 25 Oct 2007 14:49:33 -0500
RE:  Re: XSL to ODF/OOXML
Robert's right here - are you using the literal stylesheet syntax to
convert it the first time around, like this?
<html xsl:version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  ... content ...
</html>

If so, the processor is automatically choosing <xsl:output
method="html"/>, because the root element of the result document has a
name of "html". Expand that stylesheet out to its full syntax
(<xsl:stylesheet etc.), put in <xsl:output method="xml"/>, and you
should be fine.

~ Scott


-----Original Message-----
From: Robert Koberg [mailto:rob@xxxxxxxxxx]
Sent: Thursday, October 25, 2007 2:37 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re:  Re: XSL to ODF/OOXML

Do you have an <xsl:output method="xml"/> ?


On Thu, 2007-10-25 at 14:34 -0400, Steve wrote:
> I was noticing that.
>
> What's strange is in my xsl these link tags are closed, however,
> post-transform they are open. After all, these link tags are the
> result of a transform so obviously they were compliant to begin with.
>
> Any idea why MSXML is doing this?
>
> On 10/25/07, Robert Koberg <rob@xxxxxxxxxx> wrote:
> >
> > On Thu, 2007-10-25 at 14:06 -0400, Steve wrote:
> > >
> > > <!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>
> >
> > You might need the script like <script>//</script>
> >
> > >           <link rel="stylesheet" media="print"
> > > href="../master/Global/print.css">
> >
> > Maybe this was a typo, but you haven't closed the link...
> >
> > best,
> > -Rob
> >
> > >      </head>
> > > <body>
> > >         .... blah blah ....
> > > </body>
> > > </html>

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.