Subject: RE: [xsl] unparsed CDATA maintain HTML From: "Andreas L. Delmelle" <a_l.delmelle@xxxxxxxxxx> Date: Sun, 14 Dec 2003 23:55:34 +0100 |
> -----Original Message----- > From: George @dante > > >Question is whether you really need that. Since your handling XML anyway, > >there's no reason you couldn't just have this in your source file: > > > ><text>I <i>have</i> to add some <b>HTML</b> here is </text> > > > >and a simple <xsl:copy-of select="." /> in the template for handling > >'text'-elements, will result in the above being copied into the result > >document. > > I tried that before and I tried now as well and I am getting the HTML > elements with xmlns="" so > they don't render properly any ideas ? (note that I also have other HTML > elements with attributes) > Hmmm... could you post a bit more elaborate version of the source and desired target? Just having a bit of difficulty seeing the problem here. If I try a template with xsl:copy-of, this gives me an identical copy of the source node it is being used on, including attributes, and, if specified correctly in the source document, it will also copy the namespace and respective prefixes. Cheers, Andreas XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] unparsed CDATA maintain H, George @dante | Thread | RE: [xsl] unparsed CDATA maintain H, George @dante |
[xsl] global variables and more, Jonny Pony | Date | Re: [xsl] global variables and more, G. Ken Holman |
Month |