displaying xml data
Posted: Tue Apr 13, 2004 11:57 am
hi everyone!
can anybody help me?
im a newbie in xml, currently im doing a script that will display the xml data.
in xml file here is the sample code:
<RECORD TABLE="Data" SET="1" CODE="01" TRANSACTION="002" NUM="2">
<DETAIL CODE="00" NUM="00">
<PLAINTEXT NAME="CR_NAME" TYPE="01">VAN112</PLAINTEXT>
<PLAINTEXT NAME="CR_DESC" TYPE="01">Neo URVAN</PLAINTEXT>
and so on....
my problem now is i dunno what would be the script am i going to put in an html to view the data. when i tried to use the ff: code it didnt work
<td><span datafld="CR_NAME"></span></td>
<td><span datafld="CR_DESC"></span></td>
please help.
can anybody help me?
im a newbie in xml, currently im doing a script that will display the xml data.
in xml file here is the sample code:
<RECORD TABLE="Data" SET="1" CODE="01" TRANSACTION="002" NUM="2">
<DETAIL CODE="00" NUM="00">
<PLAINTEXT NAME="CR_NAME" TYPE="01">VAN112</PLAINTEXT>
<PLAINTEXT NAME="CR_DESC" TYPE="01">Neo URVAN</PLAINTEXT>
and so on....
my problem now is i dunno what would be the script am i going to put in an html to view the data. when i tried to use the ff: code it didnt work
<td><span datafld="CR_NAME"></span></td>
<td><span datafld="CR_DESC"></span></td>
please help.