Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Diplaying html from a data island record.

I just want to be able to have html tags in a XML data
island record to be displayed in a table. I have the
following:

<xml id="xmlExamples">
<examples>
<example><!-- Example 1. //-->
<tag></tag>
<html>This is an example of regular text!
</html>
</example>
<example><!-- Example 2. //-->
<tag><b>..</b></tag>
<html>This is an example of <b>bold</b>
text!</html>
</example>
<example><!-- Example 3. //-->
<tag><i>..</i></tag>
<html>This is an example of <i>italic</i>
text!</html>
</example>
</examples>
</xml>

<table datasrc="#xmlExamples" border="1" cellspacing="0"
cellpadding="2">
<thead>
<tr>
<th>Tags
<th>Example
</tr>
</thead>
<tbody>
<tr>
<td> <span datafld="tag"></span></td>
<td><span datafld="html"> </span></td>
</tr>
</tbody>
</table>

This does not work. Is this at all possible? Is there a
way to make this work, or do something like this? Please,
if you have any suggestions I would greatly appreciate it!

Robert
[1424 byte] By [Robert M. Wagner Jr. robert.cesoft.com] at [2007-11-9 15:25:57]