PDA

View Full Version : xml


kwokwai
05-03-2006, 02:34 AM
bear, can you help me solve the problem about XML.
I know XML is actually a file which stores some data to be retrieved by html.
I am learning XML, but don't know how to write scripts in the HTML file to retrieve data as follows:


<customer>
<name>kwokwai</name>
<address>
<street>123</street>
</address>
</customer>

bear
05-03-2006, 06:30 AM
Excellent resource for learning XML:
http://www.w3schools.com/xml/

kwokwai
05-03-2006, 11:04 AM
Excellent resource for learning XML:
http://www.w3schools.com/xml/

Thanks, bear!

bear
05-03-2006, 11:20 AM
A link from that same page: http://www.w3schools.com/xml/xml_applications.asp
Seems to me that's explaining how to do so?

kwokwai
05-03-2006, 11:21 AM
Bear, please take a look at this URL:
http://www.w3schools.com/xml/cd_catalog.xml

the website is showing me magic, when you press the tag <catalog>, the symbol - will become +...
How did they do that?

bear
05-03-2006, 11:29 AM
Probably AJAX: http://en.wikipedia.org/wiki/AJAX