Subject: [xsl] Re: What's wrong with this copy-of? From: Dimitre Novatchev <dnovatchev@xxxxxxxxx> Date: Wed, 3 Oct 2001 04:56:22 -0700 (PDT) |
Comment nodes can have only text-node children. To accomplish what you wanted (I know this is ugly...) use: <xsl:value-of select="'<!-- '" disable-output-escaping="yes"/> <xsl:copy-of select="/page/foo"/> <xsl:value-of select="' -->'" disable-output-escaping="yes"/> Cheers, Dimitre Novatchev. Jorge Maestre wrote: [snip] <body>BODY <xsl:comment> <xsl:copy-of select="/page/foo"/> </xsl:comment> </body> __________________________________________________ Do You Yahoo!? Listen to your Yahoo! Mail messages from any phone. http://phone.yahoo.com XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] working with multiple inp, Jörg Heinicke | Thread | [xsl] Finding the maximum number of, McKeever, Marty |
[xsl] working with multiple inputs , Irene Hall | Date | [xsl] Finding the maximum number of, McKeever, Marty |
Month |