|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
data binding in HTML
Is it possible to do 'nested' binding?
What I'm trying to do is list customers grouped by region. Do I need to redefine how the XML is formed? here's the xml: <customers> <region> <title>here</title> <contacts> <contact> <name>Joe Blogs</name> <phone>555 1234</phone> </contact> <contact> ... </contact> </contacts> </region> <region> <title>there</title> <contacts> ... here's the html (I thought would do it): <xml id="xml_list" src="customers.xml"></xml> <table datasrc="#xml_list"> <tr><td><span datafld="title"></span></td></tr> <tr><td><span datafld="name"></span></td></tr> </table> |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > XML Programming > data binding in HTML |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|