|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
DSO's
Well well well, I have just discovered the Data Source Object. I never knew you could do that - I mean putting an inline data island in your html and binding it to a table like this.. Very cool and /me is very impressed!
</overexcitement> <HTML><Head></Head><Title></Title> <Body> <XML ID="XMLID"> <customers> <customer> <name>Bill Smith</name> <custID>100</custID> </customer> <customer> <name>John Doe</name> <custID>101</custID> </customer> <customer> <name>Lisa Lepri</name> <custID>102</custID> </customer> </customers> </XML> <table datasrc="#XMLID"> <tr> <td><div datafld="name"></div></td> <td><div datafld="custID"></div></td> </tr> </table> </Body> </HTML> christo
__________________
. Spiration channels: Free scripts, programming tutorials and articles Dotcut alerts: Online Press cuttings / news alerts Clearprop: UK microlight school, wiltshire Uk dating: UK safe dating with Topdates About Christo . . |
|
#2
|
|||
|
|||
|
Yup, but if I recall, it doesn't work too well for complex data sources, where the data is multiple nodes deep.
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > XML Programming > DSO's |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|