3,634 Topics
| |
Hello, i'm currently struggling to solve a very annoying issue that appeared when I was programming my HTML page I'm getting an error in this function function Tags() { if ( xmlHttpObj.readyState == 4 && xmlHttpObj.status == 200) { var docXML = xmlHttpObj.responseXML; var tagsElem= docXML.getElementsByTagName("name"); alert("check"); var tags = … | |
I am making android application, where am I collectiong GPS information and in the end a make a gpx file with rte and rtept elements. It all works fine when I use trk,trkseg,trkpt but I can't make google earth show description of trkpt when you click on the point. So … | |
Hi, I'm having an issue with viewing an extracted document from FTP. When I try to view the document in IE I receive the following message: The XML page cannot be displayed Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, … | |
I need some help getting the included ajax script's xmlhttp.open() to target a php code within the same page --something like $_SERVER[PHP_SELF] here is the script: [code] <script type="text/javascript"> function showResult3(strss) { if (strss.length==0) { document.getElementById("livesearch3").innerHTML=""; document.getElementById("livesearch3").style.border="0px"; return; } if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new … | |
Hi Guys, Currently I have a form that load an XML file and populates Text Boxes with certian Values from that XML. I also have an 'Admin' form which accept new values. What I am wanting to do is the following: When the Admin screen is loaded from a button … | |
Hi Guys, I've been working on a little something where details get put into an XML File and then squirted into another form which has been working fine. I've now added another section to the XML file to hold the Company Name and it gets written to the XML without … | |
Hi, I'm rather new to php so...I use simplepie to parse rss feed but i want to filter them by keywords i made this code : $feed = new SimplePie(); $feed->set_feed_url(http://website.name/rss); $feed->init(); $feed->set_cache_duration (3600); $feed->set_timeout(30); $feed->handle_content_type(); $countItem = 0; foreach ($feed->get_items() as $item){ $checktitle = $item->get_permalink(); //Regex keyword filter $pattern … | |
Hi I'm trying to send a request to a my webservice using curl $content = '<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns2="http://www.travelledia.it/XHI" xmlns:ns1="http://localhost/test/soap2/" xmlns:enc="http://www.w3.org/2003/05/soap-encoding"> <env:Header/> <env:Body> <ns1:OTA_HotelAvailRQ> <AvailRequestSegments> <AvailRequestSegment AvailReqType = "Room" ResponseType = "RateInfoDetails"> <HotelSearchCriteria> <Criterion> <HotelRef HotelCode="5095">xxx</HotelRef> </Criterion> </HotelSearchCriteria> </AvailRequestSegment> </AvailRequestSegments> </ns1:OTA_HotelAvailRQ> </env:Body> </env:Envelope>'; // Assign headers $headers = array("Content-type: … | |
Hi guys, I'm struggling with a basic stuff - A call to a javascript function within a XSLT transformation. Could you please help to find out what I'm doing wrong. Here is the XML input text <?xml version="1.0" encoding="UTF-8"?> <message channel-id="987b3452-5e34-4401-8106-ef81939f93e2"> <task-started task-type="task"> <agent-parameter multi-valued="false"><name>EPNIPRangeEndINT</name><value>168428543</value></agent-parameter><agent-parameter multi-valued="false"><name>EPNIPRangeStartINT</name><value>168428288</value></agent-parameter><agent-parameter multi-valued="false"><name>EPNRecordIPName</name><value>epn-2</value></agent-parameter><agent-parameter multi-valued="false"><name>IPPoolName</name><value>AzdinePool-1</value></agent-parameter><agent-parameter multi-valued="false"><name>NetworkType</name><value>AzdinePool-1</value></agent-parameter></task-started> </message> … | |
Ok let say i have the following xml file <Users> <User> <Name>David</Name> <Attempts> <Place>Paris</Paris <Date>3/29/2012</Date> <Duration>50 seconds</Duration> <Distance>100</Distance> </Attempts> <Attempts> <Place>New York</Paris <Date>7/28/2012</Date> <Duration>30 seconds</Duration> <Distance>100</Distance> </Attempts> <Attempts> <Place>Paris</Paris <Date>8/19/2012</Date> <Duration>70 seconds</Duration> <Distance>60</Distance> </Attempts> <Attempts> <Place>New York</Paris <Date>9/29/2012</Date> <Duration>60 seconds</Duration> <Distance>200</Distance> </Attempts> </User> <User> <Name>Lenny</Name> <Attempts> <Place>Paris</Paris <Date>9/29/2012</Date> <Duration>51 seconds</Duration> … | |
MY requirement is here to print all values of <item name="BrowseVideoFile"> from below xml but if foreach loop runs and according to the position of for-each loop, then for that position video should not print and all others video should print. when for-each run then every video should print except … | |
I need to read and write an XML file which may contain '€' symbols. So, to start I run this code: from xml.etree import ElementTree as ET optionstree = ET.parse("test.conf") where "test.conf" is the following XML file: <?xml version="1.0" encoding="UTF-8"?> <test>12€34</test> and I get this error: File "<pyshell#7>", line 1, … | |
Whats the best way to port a Java web service to a C# web service? Multiplatform. Thanks | |
Hi All, Quick one for you. I have a client that wants to use a webservice to transfer data from a tablet on a network to an SQL database on servers. Am I correct in my thinking, as I am completely new to web services, that I can have a … | |
I wasn't quite sure where to post this so I thought considering SSRS in VS 2005 produces XML scripts i thought this would be the best forum. I have a table grouping which produces a number of tables using the same section of xml code. Due to this the problem … | |
I have a component in which xsl is reading values from replicant of a xml. I am stuck as xsl don't provide for loop. Here I am checking the condition based on current position of replicant values. But the value of position is not changing as it doesnt iterate based … | |
Ive got a basic Qt console application whcih write and then reads back an xml document.I have compiled and ran this without any compilation errors, however for some reason it keeps returning an error code and then wipes clean the actual xml document ??? Can someone please explain why it … | |
Hi, I am trying to validate an XML file against a schema, which i can achieve without issue normally, however, in this particular schema, there is an imported namespace, that appears to be preventing the validation from happening, as the error being returned is pointing to node of the elements … | |
Hey How do I run my web service as root? Yes, I know the security implecations of this. Thanks | |
Hi, need help on finding why code won't run. Keep getting code error: No overload for 'DisplayXML' matches delegate 'System.Web.UI.WebControls.SqlDataSourceSelectingEventHandler' Would appreciate any help...... System pointing to the following code saying its the cause, but don't know how to fix it: <asp:SqlDataSource id="srcProducts" SelectCommand="SELECT * FROM PRODUCT" ConnectionString="Data Source=.\SQLExpress;AttachDbFilename=|DataDirectory|MyDatabase.mdf;Integrated Security=True;User … | |
Hello, I'm trying to create exchange rates list with the data source of my National Bank, and my national Bank make it very complicated, data are stored with SOAP, and first of all I made rate.php that pull and show all data from web service od National Bank but like … | |
I want to merge 2 XMLs based on a particular condition. e.g: Sample1.xml: <rootNode> <header> <title agg="sum">1</title> <records agg="sum">10</records> <number agg="min">5</number> <header> </rootNode> Sample2.xml <rootNode> <header> <title agg="sum">2</title> <records agg="sum">20</records> <number agg="min">15</number> <header> </rootNode> I want that these two xml files should be merged based on the attribute specified within … | |
Hi there. I'm trying to integrate with a payment gateway API, and as I'm fairly new to PHP, I'm having some trouble to proceed. Basically, I have a form that goes to a specific URL (submitting URL). From the documentation: "Request information is submitted to payment platform with HttpsClient , … | |
I have an XML file structured this way: <Emulators> <Settings> <vol name="10"/> <Volume>10</Volume> <Keys name="key1" value="1" /> <Keys name="key2" value="2" /> <Keys name="key3" value="3" /> <Keys name="key4" value="4" /> </Settings> <System> <Name>name1</Name> <Icon>name1.png</Icon> <topplayed> <Top>top1</Top> <Top>top2</Top> <Top>top3</Top> </topplayed> </System> <System> <Name>name2</Name> <Icon>name2.png</Icon> <topplayed> <Top>top4</Top> <Top>top5</Top> <Top>top6</Top> </topplayed> </System> </Emulators> I … | |
The following suggestions will help the process of answering threads in the most efficient manner. 1. Do not hijack other member's threads, you will not get replies, instead start your own question. 2. What have you tried? We are not here to mock mistakes and showing effort made will make … | |
Hi, I have a problem on getting data from XML file. I am honestly have 0 knowledge on this. Here is the XML data content, i opened the XML file using notepad then pasted here. <?xml version="1.0" encoding="utf-8"?> <?mso-infoPathSolution name="urn:schemas-microsoft-com:office:infopath:Test-Form:-myXSD-2012-09-02T13-13-23" solutionVersion="1.0.0.55" productVersion="14.0.0.0" PIVersion="1.0.0.0" href="http://share.test.com/it/Test%20Form/Forms/template.xsn"?> <?mso-application progid="InfoPath.Document" versionProgid="InfoPath.Document.3"?> <my:myFields xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pc="http://schemas.microsoft.com/office/infopath/2007/PartnerControls" … | |
Hi sorry to bother you. I have another problem with XSL file. I have to sort out the codes in numerical order the codes have four characters and four numerals for example, COMP2100 COMP2400 COMP3410 LAWS2202 LAWS2250 when I just do <xsl:sort select="code" order="ascending" /> it displays above result. However, … | |
I need help creating xml file with C# ok lets say I have the following users.xml file that contains the following <Users> </Users> After executing the C# code below public void addUser() { string filePaths = "users.xml"; XmlDocument xmlDoc = new XmlDocument(); string user = textBox2.Text; // USER INPUT if … | |
Hi, I would like to question about setting up the element types I am currently developing a catalogue of course desriptions so I have an element that is, <xs:element name="code" type="this is the problem" /> inside this is the problem, I am supposed to include type that allows me to … | |
Ok lets say i have the following xml file <Users> <User> <Name>Jonathan</Name> <Tests> </Tests> </User> <User> <Name>John</Name> <Tests> </Tests> </User> </Users> Im writing a C# program, and what I want is to search for a specific name(eg Jonathan) and add elements and values to that specific tag in my xml … |
The End.