This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Embedding HTML in XML?
- To: xsl-list at lists dot mulberrytech dot com
- Subject: [xsl] Embedding HTML in XML?
- From: eric at perceive dot net (Eric Vitiello)
- Date: Wed, 28 Mar 2001 09:44:38 -0500
- Reply-To: xsl-list at lists dot mulberrytech dot com
I'm stumped.
I have an XML file similar to:
<item>
<link>images/sites/site_ca_bhsi_com.gif</link>
<image>images/sites/site_ca_bhsi_com_small.gif</image>
<title>Web Compliance Advisor</title>
<year>2001</year>
<month>3</month>
<info>In a co-development arrangement with <a href="http://www.hboc.com/" target="_new">McKessonHBOC</a> and <a href="http://www.bhsi.com" target="_new">Baptist Healthcare System</a>,
I developed this front end for their Compliance Advisor Product. It allows Doctors, Office Managers, etc. to look up Medicare Procedures and Diagnoses, and determine
if it would be covered by Medicare. heavy on the ASP, JavaScript and DOM. For more information, or to find out how you can use this, please <a href="mailto:info@perceive.net">Contact Us!</a>
</info>
</item>
I would like for all of the <a> tags in the <info> section to be parsed by the HTML parser once the XSL has been applied to this XML file, but it appears that the XML parser is stripping the <a> tags (because it doesn't recognise them?). How can I accomplish this? I have tried putting the <info> section in a <![CDATA[ ]]> block, but that makes the <a> tags display directory ion the browser wihtout being parsed by the HTML parser.
any clues?
e.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list