ALNMOO
asked on
Retrieve HTML from XML doc
I hope this easy. I wrote a php code that save HTML tags inside XML file as below:
<DOC>
<TITLE ID="96001">test</TITLE>
<PAR ID="96002”>
<!—HTML tags here-- >
</PAR>
</DOC>
But the file appear like this
<DOC>
<TITLE ID="96001">test</TITLE>
<PAR ID="96002"><ul><B R>  ; <li><strong>12 3456789< ;/strong&g t;</li& gt;<BR& gt; <li><strong>98 7654321 </strong></li> <BR> <li> </li><BR></ ul></PA R>
</DOC>
and when I print the content of the file it appear like this
<ul><BR> <li><strong>123456789</str ong></li>< BR> <li><strong>987654321 </strong></li><BR> <li> </li><BR></ul>
which I want but not as a pure tags but I want it formatted like this
· 123456789
· 987654321
Can any one help me.
Thanks in advance
<DOC>
<TITLE ID="96001">test</TITLE>
<PAR ID="96002”>
<!—HTML tags here-- >
</PAR>
</DOC>
But the file appear like this
<DOC>
<TITLE ID="96001">test</TITLE>
<PAR ID="96002"><ul><B
</DOC>
and when I print the content of the file it appear like this
<ul><BR> <li><strong>123456789</str
which I want but not as a pure tags but I want it formatted like this
· 123456789
· 987654321
Can any one help me.
Thanks in advance
ASKER
when I print it this what i get in the browser
<ul><BR> <li><strong>123456789</str ong></li>< BR> <li><strong>987654321 </strong></li><BR> <li> </li><BR></ul>
but I want this
· 123456789
· 987654321
Thank you for your response.
<ul><BR> <li><strong>123456789</str
but I want this
· 123456789
· 987654321
Thank you for your response.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Try opening it with Internet Explorer and then printing it.
Cd&