Now Place:2uzhan.com » How to display the XML output of a webservice in my webpage

How to display the XML output of a webservice in my webpage

Web Development @ November 29, 2011   Views:0


I'm new to AJAX and I'm attempting to use this webservice ( www.webservicex.net/CurrencyConvertor.asmx?op=ConversionRate ) in my html page.

Now I've managed to make a form and stuff to correctly call the webservice, but then, I do not want the answer to be displayed as just the output xml data. I wish to have this data printed in an aesthetic way, say in a pop up box or in a new textbox using AJAX.

I've gone through a lot of AJAX links via Google and read up on w3cschools too. Can't really figure this out.

I'm sure it's something simple that I'm missing out. Can someone please help me


I'm attempting to simplify my fundraising page, and would like to show exactly how much each donation would help us out. I've listed the options below, but I would like ...

I'm currently doing some encoding work to protect a site from XSS attacks. We've stuck a bunch of <script>debugger;</script> tags in the db. Dispite my best efforts, the strings I've ...

    //The php section of the code


           function getJSONFromDB($sql){

           $conn = mysqli_connect("localhost", "root", "","rent");

           //echo $sql;

           $result = mysqli_query($conn, $sql)or die(mysqli_error());


           while($row = mysqli_fetch_assoc($result)) {



               return json_encode($arr); ...
© 2018 2uzhan.com Contact