Jump to content

DATA ISLAND


hamza

Recommended Posts

HelloNew to xml and needing some help.I donot understand the below code completely .<html><body><xml id="cdcat" src="cd_catalog.xml"></xml><table border="1" datasrc="#cdcat"><tr><td><span datafld="ARTIST"></span></td><td><span datafld="TITLE"></span></td></tr></table></body></html>My questions are given below:1) What is meant by span and datafld .2) Why we use # with datasrc name "cdcat".Waiting ur's reply Hamza Khalid

Link to comment
Share on other sites

"cdcat" refers to the javascript, the datasrc="#cdcat" is also doing the same. The "cdcat" brings the data from the XML into the table that is gathered from the javascript.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...