hamza Posted July 3, 2006 Share Posted July 3, 2006 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 More sharing options...
kvnmck18 Posted July 7, 2006 Share Posted July 7, 2006 "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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now