Subject: Re: XSLT Question: Inserting a DOCTYPE decl From: David Carlisle <davidc@xxxxxxxxx> Date: Fri, 10 Dec 1999 08:16:08 GMT |
] <xsl:text disable-output-escaping="yes" ] ><[CDATA[<!DOCTYPE Numbers SYSTEM "<xsl:value-of ] select="$doctype"/>">]]></xsl:text> As long as you realy are writing to a file that's going to be reparsed. Of course really this is putting text inro the result tree, not a doctype declaration (unlike using xsl:output. Which leads to a question for xsl 2 perhaps, why sren't the attributes of xsl:output AVT, so that you can use stylesheet parameters in there? In other words why can't this be made to work? <xsl:output method="xml" doctype-system="string($doctype)"/> David XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: XSLT Question: Inserting a DOCT, Steve Muench | Thread | Re: XSLT Question: Inserting a DOCT, David J. Edgerton |
RE: New twist: eliminating nodes wi, Pawson, David | Date | Re: New twist: eliminating nodes wi, David Carlisle |
Month |