This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Embedding HTML in XML


I'm trying to embed some HTML markup into my XML source. I used the 
following syntax

<page>

We offer the cheapest air fares to Bombay.

	<![CDATA[
		<img src="global.gif" alt="Go around the world" />
	]]>

</page>

Part of my XSL stylesheet is:

<xsl:template match="page">
<apply-templates/>
</xsl:template>

But instead of getting an image in the HTML page, I get the exact CDATA 
text written as is to the browser. Is there some way I can embed the HTML 
in the XML markup so that it's processed as HTML itself?

I'm using Microsoft's XML parser on the server end.

TIA,

Madhu
--

"Only two things are infinite, the universe and human stupidity, and I'm 
not sure about the former." - Albert Einstein



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]