• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Reading the XML file using DOM

 
renu richard
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am using the below code to extract the values of the titles tag which is a child of item tag in the XML.

When i do like this,it is extracting all the values from the XML and putting it on the browser as below
title1title2title3
But what i exactly want is to list these values in the drop down box(id ="bp"). So i have written a code something like this.

And the appendToSelect is defined as

But while doing like this, nothing gets added into the dropdown box.
[ December 16, 2008: Message edited by: renu richard ]
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do not PM me 3 times to answer your question. I am not up at 5AM!

hint:



Eric
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65216
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In fact, don't PM questions at all!

Please read this for more information.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic