Splurd Posted March 4, 2009 Posted March 4, 2009 my xml is sorted like this, <staffdirectory> <staffnames> <staffname> <id>123</id> <name>bob</name> </staffname> <staffname> <id>456</id> <name>joe</name> </staffname> </staffnames> <staffcategories> <staffcategorie> <code>1</code> <name>Management</name> </staffcategorie> <staffcategorie> <code>2</code> <name>Engineer</name> </staffcategorie> </staffcategories> <staffs> <staff> <id>123</id> <code>1</code> </staff> <staff> <id>456</id> <code>2</code> </staff> </staffs></staffdirectory> Trying to make a dropdown list where its likeManagementbobfredjaneDogbertEngineerjoeharryDillbertsomething like that.Also, is there a specify way of targeting a node? like selecting the staffname node which has ID = 123, and getting his name
Recommended Posts
Archived
This topic is now archived and is closed to further replies.