Amicuk Programming Answers

XML data via JS not showing in I.E.?

2015-10-11   Views:0


Hi there, I'm using Javascript to get the xml data and display it on the XHTML page. This works fine in all the latest versions of Firefox, Chrome, Safari and Opera....but as per usual not in Internet Explorer. UPDATE: forgot to mention.....I'm testi

Hi there,
I'm using Javascript to get the xml data and display it on the XHTML page.
This works fine in all the latest versions of Firefox, Chrome, Safari and Opera....but as per usual not in Internet Explorer.
UPDATE: forgot to mention.....I'm testing this from my machine and not live.   Could this be a reason why it's not working on I.E. because the files are on my computer and not on a server???
Any advice greatly appreciated! HTML Code below...
<div id="testimonials">
                <script type="text/javascript">
                                if (window.XMLHttpRequest)
                                  xhttp=new XMLHttpRequest();
                                else // Internet Explorer 5/6
                                  xhttp=new ActiveXObject("Microsoft.XMLHTTP");
                                var x=xmlDoc.getElementsByTagName("testimonial");
                                for (i=0;i<x.length;i++)
      </div> <!-- END of DIV Testimonials -->

The replay answer
Thanks for the attachment, I'll try and make some sense of it- although I'm not very good with JS!
I think it's the XML HTTP Request part that isnt working.
It all works fine in all the major browsers except I.E.?
Not sure if you've seen my update but does it matter that I'm testing the site from my machine and not on a server?  Does I.E. expect all the files (or the XML file at least) to be sitting on a server to make the XMLHttpRequest() work?

Go to See the other 4 answers

Using a SQL data source and XML data source in the same template

Category:DefaultRelease time:2015-10-11Views:130

I am trying to develop a template for the Request for Quote report generated in Apps 11.5.10. I have loaded the data from the XML output into the template, but I am missing one field - I need the org_id from the po_headers table. Is it possible to us[More]

XML data 32K into CLOB

Category:DefaultRelease time:2015-10-11Views:130

Hi all, I am trying to use UTL_FILE.PUT_LINE to output an XML file. This xml file is the result of a select query. Hence converting the result of the select query into xml format using dbms_xmlgen.getxml and storing it in a variable. But the resultan[More]

How i can transfer XML data from internet to SAP R/3?

Category:DefaultRelease time:2015-10-11Views:130

Hi all, I have an issue to catch data from internet (perticular website) in xml format and i want to update that xml data format into SAP R/3 database. so how i can do that? Can I do directly or i should use any third party tools?Hi Deepak,     Refer[More]

DataGrid does not display XML data

Category:DefaultRelease time:2015-10-11Views:130

Hello, and thanks for reading this... I am having a problem displaying XMLList data in a DataGrid. The data is coming from a Tree control, which is receiving it from a database using HTTPService. The data is a list of "Job Orders" from a MySQL d[More]

Edit/add XML data in BI Publisher

Category:DefaultRelease time:2015-10-11Views:130

Hi I have a java program that is generating an XML file that I am using as input for my BI publisher for PO report. However, I want to add some extra information(location addresses corresponding to location id) that is not there in the XML and I cann[More]

Regrouping the XML data source in BI Publisher

Category:DefaultRelease time:2015-10-11Views:130

Hello, We have a requirement in BI Publisher to develop a template accessing the data from different sources (data sets) and need to regroup the whole data by a field which exists in all the data sets. Below is the sample example of the source file <[More]

Tranferring XML data to the B1 System

Category:DefaultRelease time:2015-10-11Views:130

Hi, Iam very new to the B1 system.. Iam looking to transfer the data from the XML file to the B1 system. to make it clear, the requirement is i have a purchase order coming from one system and it is saved in the server..the data in the XML file will[More]

Convert XML data to byte array...

Category:DefaultRelease time:2015-10-11Views:130

Hello All, In my application, i have an XML file and the corresponding XSD file. This XML file is having some date, which i want to convert into an byte[] and then save it in a file.  How i can convert the XML data in the byte[]? Here as an example o[More]

How do I use the Session State to manage bind variables & download xml data

Category:DefaultRelease time:2015-10-11Views:130

I have a Report Query with more than 30 queries; many have bind variables in them. I'd like to create sample xml so that I can develop my word templates. When I try to download the XML data Source for Layout, it doesn't ask for the bind variable valu[More]

XML Data ( View Total exist in a different query)

Category:DefaultRelease time:2015-10-11Views:130

Hi, This is a sample of my xml data : <TEST_COMP> - <LIST_G_Q1> - <G_Q1>   <Q1_ITEM_ID>61</Q1_ITEM_ID>   <TOT>13754492</TOT>    </G_Q1> - <G_Q1>   <Q1_ITEM_ID>62</Q1_ITEM_ID>   <TOT>1[More]

How to create a report using XML data source from Crystal Report Designer

Category:DefaultRelease time:2015-10-11Views:130

Hi, Iu2019m having Crystal Report Designer XI R2 SP4. Iu2019m trying to create a report using XML data source stored on disk. This is a customer order report and the xml is structured in such a way that it has an order details header part (master) an[More]

I purchased a download version of Windows Elements. I need MAC. How do I switch it?Have you got the serial number? That can be used on both Mac and Windows versions. All you need to do is download the Mac trial version from the Adobe website, install [More]
Hi,      Can any one tell me why dynamic streaming taking too much time to switch video from lower bit rate to higher bit rate and vice versa. I am doing dynamic streaming in following ways - var param:NetStreamPlayOptions = new NetStreamPlayOptions( [More]
I have a laptop (Thinkpad, Windows 2000) issued through work that has my iTunes program and all my songs loaded onto it. I'm leaving this current job and have to turn in my laptop. I understand how to transfer all my songs to removable media, I've al [More]
Greetings all, first post.   Trying to remove a bunch of photos off my Macbook Pro (OS X 10.6.8, iphoto 09 8.1.2).  I have over 3000 photos in my trash bin within iphoto.  I select and click 'empty trash,' it prompts me to confirm this, I click 'okay [More]
previous i divided the lacie d2 quadra in two part: storage and back-up. after this os upgrade, not immediately, this external hd, with its partition doesn't appear on desktop, but the os recognize the d2 quadra lacie in the utility disk too. In util [More]
Hello USING CS4 I posted this question earlier this week but got no response.  So I decided to repost with a link to the video. I need to more closely match the colors of the wall in this sample exceprt clip [More]
Many new PDAs have USB cradles only. Can someone recommend a good configuration (PDA, OS and any options) that worked for Labview PDA to control instrument through RS232?I don't have a lot of experience with various PDA models but I'm using a Palm OS [More]
I have authorised 5 computers with my account, but now I do not access to few of them(computers), I already had used Deauthorize all Computers and now I need to add my new Macbook Pro which I have recently bought. I have an active iTunes Match subscr [More]
I have an external DVD r/w drive that is attached to my MacBook Pro with retina display. What do you recommend for the best DVD product software and burn utility now that Apple has eliminated iDVD in the current version of MacBook Pro? Also, my DVD r [More]
Hi friends, I am trying to implement feature which should record entity property changes. Basicaly I want to keep history when and what has changed in a separate table. For example having a table similar to this and record all changes made to entitie [More]