[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
RE: [xsl] Re: XSL to ODF/OOXML
Subject: RE: [xsl] Re: XSL to ODF/OOXML From: "Scott Trenda" <Scott.Trenda@xxxxxxxx> Date: Thu, 25 Oct 2007 14:49:33 -0500 |
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: [xsl] 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Re: XSL to ODF/OOXML, Robert Koberg | Thread | Re: [xsl] Re: XSL to ODF/OOXML, Steve |
Re: [xsl] Re: XSL to ODF/OOXML, Robert Koberg | Date | [xsl] two level grouping problem, Terry Ofner |
Month |
Keywords