Subject: RE: [xsl] Adding <!DOCTYPE...> From: "Talwalkar (EXT), Saurabh" <saurabh.talwalkar-eds@xxxxxxx> Date: Mon, 23 Dec 2002 19:46:45 +0530 |
Even i was facing same problem one hour back. i think following line helps: Modified the XSL file The xsl:output element should have :doctype-system attribute specified: <xsl:output method="xml" version="1.0" encoding="ISO-8859-1" doctype-system="migxdata.dtd" indent="yes"/> It worked with me. Saurabh -----Original Message----- From: Jarno.Elovirta@xxxxxxxxx [mailto:Jarno.Elovirta@xxxxxxxxx] Sent: Monday, December 23, 2002 06:00 PM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: RE: [xsl] Adding <!DOCTYPE...> Hi, > I am trying to transform a XML document using a XSL > stylesheet. I was > wondering how we could add the <!DOCTYPE..> element of the > original document > into the transformed document using XSL stylesheets. Pardon > my ignorance if > this is trivial. I want to copy the <!DOCTYPE ..>declaration > as is from the > original document into the final document. Use xsl:output <http://www.w3.org/TR/xslt#element-output>; you have to hard-code the doctype values, sorry. Cheers, Jarno XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Adding <!DOCTYPE...>, Jarno . Elovirta | Thread | [xsl] Performance issue XSL:FO, Lee, Insoo |
RE: [xsl] Adding <!DOCTYPE...>, Jarno . Elovirta | Date | [xsl] Performance issue XSL:FO, Lee, Insoo |
Month |