Hey, maybe it's incorrect forum to ask, but I don't know anywhere else to do... sorry!
Well, my problem is about XML, I want to insert HTML tags into XML document.
This is my XML document:
<?xml version="1.0"?>
<root>
<part id="1">
<paragraph>...data bold data...</paragraph>
</part>
<part id="2">
<paragraph>...data <b> bold </b> data...</paragraph>
</part>
</root>
And when I try view this into HTML page I write:
<xml src=document.xml id=data></xml>
<table datasrc=data><tr><td>
<span datafld=paragraph></span>
</td></tr></table>
But it's never show second field, so I try I make this:
#edit paragraph#
...
<paragraph>
<![CDATA[...data <b> bold </b> data...]]>
</paragraph>
...
But do not display bold word, it's display data with HTML tags, I make another try:
#add this line under first line#
...
<?xml-stylesheet type="text/css" href="css-file.css"?>
...
#edit paragraph#
...
<paragraph>
<html:b xmlns:html="http://www.phpbuilder.com">bold</html:b>
</paragraph>
...
It's run only if access XML document, and I can't display it into HTML page, my question is:
how to display HTML tags from XML document as Markup?
I hope someone can help me 🙂