PDA

View Full Version : Displaying individual cell from an XML app


sagorx
10-19-2006, 10:04 PM
ok, i'm gonna use an example of what i'm hoping to do...

app: (w3schools.com)
<?xml version="1.0" encoding="ISO-8859-1" ?>
- <!-- Edited with XML Spy v2006 (http://www.altova.com)
-->
- <CATALOG>
- <CD>
<TITLE>Empire Burlesque</TITLE>
<ARTIST>Bob Dylan</ARTIST>
<COUNTRY>USA</COUNTRY>
<COMPANY>Columbia</COMPANY>
<PRICE>10.90</PRICE>
<YEAR>1985</YEAR>
</CD>
- <CD>
<TITLE>Hide your heart</TITLE>
<ARTIST>Bonnie Tyler</ARTIST>
<COUNTRY>UK</COUNTRY>
<COMPANY>CBS Records</COMPANY>
<PRICE>9.90</PRICE>
<YEAR>1988</YEAR>
</CD>

example html doc: (w3schools.com)
<html>
<body>

<xml src="cd_catalog.xml" id="xmldso" async="false"></xml>

<br />Title:
<span datasrc="#xmldso" datafld="TITLE"></span>
<br />Artist:
<span datasrc="#xmldso" datafld="ARTIST"></span>
<br />Year:
<span datasrc="#xmldso" datafld="YEAR"></span>

</body>
</html>

Is there any way to display an individual cd information on different page, so like have the second cd information (Hide your heart, Bonnie Tyler) but not the first one.
If there is, please explain how, thanks a lot.