Subject: Re: [xsl] Re: XSL to ODF/OOXML From: Steve <subsume@xxxxxxxxx> Date: Thu, 25 Oct 2007 16:24:11 -0400 |
<xsl:output method="html" indent="yes" doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN" encoding="ISO-8859-1"/> Declared at the top of th stylesheet in question. Would replacing html with xml be ok, or am I bastardizing? -Steve On 10/25/07, Scott Trenda <Scott.Trenda@xxxxxxxx> wrote: > 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, David Carlisle | Thread | Re: [xsl] Re: XSL to ODF/OOXML, David Carlisle |
Re: [xsl] Assembling nodes from par, Mark Peters | Date | RE: [xsl] Re: XSL to ODF/OOXML, Scott Trenda |
Month |