Subject: RE: [xsl] CDATA question From: "Michael Kay" <mhk@xxxxxxxxx> Date: Wed, 14 Apr 2004 23:39:13 +0100 |
> Desired Output > <material> > <mattext texttype="text/html"><![CDATA[Select the <b>GPO Part > Additional > Info</b> link in the <b>Navigation</b>screen.]]></mattext> > </material> You need to recognize that the angle brackets in this CDATA section are ordinary characters, they are not markup. The string "<b>Navigation</b>" is therefore just a string, it is not a representation of an element node. That's the only purpose of CDATA sections: to tell the parser that angle brackets are ordinary characters and not markup. So if this is really the output you want, you will need to generate it as: <b><xsl:apply-templates/></b> Michael Kay
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] CDATA question, Uslu, Cihan Y (MED) | Thread | Re: [xsl] CDATA question, G. Ken Holman |
Re: [xsl] CDATA question, David Carlisle | Date | [xsl] manipulating a property value, David Buddrige |
Month |