6,049 Topics
![]() | |
Hi one and all, Have taken a look through the mass of other threads and whilst not covering what I need, certainly given me a dozen other ideas for other things, so definately not wasted hours but learning diversion, anyway sorry. I have been trying to utilize a pre existing … | |
Hi all, first time post here. I'm using jquery/ajax to create some links with window.open method. Here's the relevant code: [CODE]$("#content").empty(); $.ajax({ type: "GET", url: "webapps.xml", dataType: ($.browser.msie) ? "text" : "xml", success: function(xml){ var newXML = parseXml(xml); $("#content").append('<h2>'+ cat + '</h2>'); $("#content").append('<div id="appLinks"></div>'); $(newXML).find("APP").each(function(){ <!-- alert("before if"); --> if … | |
ive got a xml file like this: [CODE] <?xml version="1.0"?> <orders> <customer> <order_num>6656</order_num> <name>jon doe</name> <street>123 fake st</street> <city>Beverly Hills</city> <state>CA</state> <zip>90210</zip> </customer> <customer> <order_num>1337</order_num> <name>bob johnson</name> <street>1232 something ave</street> <city>Petaluma</city> <state>CA</state> <zip>94952</zip> </customer> <customer> <order_num>5643</order_num> <name>bill story</name> <street>1st ave</street> <city>Beverly Hills</city> <state>CA</state> <zip>90212</zip> </customer> <customer> <order_num>4533</order_num> <name>tom hutchinson</name> <street>214 … | |
Hi, I have installed NUSOAP and i get error messages 100% even from examples. My PHP knowledge is fair. Here is my situation (that cant be changed). A user on a 3rd party site clicks "BUY". The response to that is a URL to me containing a GUID and the … | |
So today at school I was given a task to create an application to apply convolution over image. I decided to load convolution cores from xml file. But, as this was the first time me working with xml I have no knowledge how to effective parse it. So here is … | |
Hi all, I'm very new to Python and I am already very proud what I've created ;) Unfortunately it doesn't work so I need your help. I've created a xml-file at C:\temp\ I want to upload the file to a ftp-server, but when I run my code I continiously receive … | |
I am trying to parse a xml document and extract certain information. I have looked around quite a bit and haven't been able to find anything that would suit my needs. the sample xml file would look like this: <contact> <name> Daffy Duck </name> <street> 15 Rodeo Drive </street> <city> … | |
Hi, I am using following code to extrcat Text from .doc file. Code:: [code] FileStream fileStream = new FileStream("F:\\Resume_Rajib_Ghosal.doc", FileMode.Open, FileAccess.Read, FileShare.None); StreamReader srd = new StreamReader(fileStream); while (srd.Read() > 0) { string text = srd.ReadToEnd(); } srd.Close(); [/code] But aftering extracting when i search kewords as xml,hidden,control,form,html as so … | |
Hi all, Im working on a project at work and i need to process data with SOAP. Im fine with PHP but brand new to soap. The process im to follow is: 1. I recieve a message from a 3rd party system. 2. I call "userinfo" from that 3rd party … | |
[B]It's long but simple. I have only explained the problem in detail.[/B] After searching a lot i did not get any answers and finally i had to get back to you. Below i am explaining my problem in detail. It's too long, so please don't quit reading. I have explained … | |
Dear all, i'm facing a prob for past few days that my servlets classes are not referenced properly in glass fish server . i downloaded a project from sourceforge.net named Javalibrary [url]http://sourceforge.net/projects/javalibrary/[/url] i imported all the files and all files working properly in netbeans i mean i can run the … | |
Hey folks recenty I finished up a webpage for an internship, everything seems to be working great however whenever the page is printed it clips off about half of the page. I did a little research and noticed there were several products I could buy that would auto fit the … | |
hii all i am trying gridview control in my application.code is executing without errors.but i am not getting output means(internet explorer is coming blank). [CODE]using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; using System.Data.SqlClient; … | |
I am planning to save files using xml writing as an alternative to MFC serialization. I want my application to use xml file writing and reading. I am using ofstream and ifstream for this. [B]Lets say my application files are have a format .xyz[/B] So,the main problems I am facing … | |
Hi all, How to install these services to our web site ? - SVN , Git, and Mercurial Repositories - Mantis, Redmine Projects I think it should be easy to install Open Source application on Web Hosting. Thanks. | |
Hi there, I am using elementtree to read xml, if xml file contains "-" i am getting error. Is it possible to read without any error? Plz give me code to read xml, if u have. Thanks -Shyami | |
Hi, My self Suhas H G, I need to merge the data from one xml file into the another xml file(At the end of this xml file). Please share the working code if any one has. Thanks in advance!!! Suhas | |
Hi All, I am testing the web services I have deployed on my glassfish but upon clicking the "test" button, an exception occured. For reference, pls see exception below. javax.servlet.ServletException: javax.xml.ws.WebServiceException: {http://services.wet.webservice.ngin.smart.com/}AccountManagementService is not a valid service. Valid services are: {http://services.lawak.webservice.ngin.smart.com/}AccountManagementService at com.sun.enterprise.webservice.monitoring.WebServiceTesterServlet.initializePort(WebServiceTesterServlet.java:569) at com.sun.enterprise.webservice.monitoring.WebServiceTesterServlet.doGet(WebServiceTesterServlet.java:184) at com.sun.enterprise.webservice.monitoring.WebServiceTesterServlet.invoke(WebServiceTesterServlet.java:119) at com.sun.enterprise.webservice.JAXWSServlet.doGet(JAXWSServlet.java:237) at … | |
Hello, I have an xml file and an xsd file. I am using c# (visual studio) to read the xml file but I would like my program to validate it against my xsd schema. Sounds simple but I have tried using the XMLValidatingReader - the compiler then tells me it … | |
hey guys i was wondering if anyone knew of any tutorials on how to get Python to read and open a XML text file? any help would be much appreciated as i cant seem to find anythign!!! kitty | |
Hi, I'm new to CSS and I'm currently trying to make a a simple webpage, however I'm having a little problem with the content div, it seems that no matter the size I put, the width never goes beyond the width of the menu. Here is the code, I would … | |
Hello DaniWeb community! I come to you in need of some guidance on a quite frustrating problem. In a nutshell, I am building a java system in which users can keep track of weather forecasts at a list of registered locations, which they can add or remove from their "watchlist". … | |
I have some code in PHP which I need to translate into Delphi: [CODE]$xsl = new DOMDocument(); $xsl->load('http://www.fda.gov/oc/datacouncil/stylesheets/spl/spl.xsl'); $proc = new XSLTProcessor(); $proc->importStylesheet($xsl); $xml = new DOMDocument(); $xml->load($xmlFile); $domTranObj = $proc->transformToDoc($xml); $strHTML = $domTranObj->saveHTML();[/CODE] What I need to do is take a snippet of XML (from a database field), transform … | |
[CODE]if (window.XMLHttpRequest) { xhttp=new XMLHttpRequest(); } else // Internet Explorer 5/6 { xhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xhttp.open("GET","cd_catalog.xml",false); xhttp.send("");[/CODE] ============= this code working in IE but not working in Other Browser pls help me | |
I have created a few applications in MFC. But I want to start saving the contents of them to files(just like word,guitar pro or paint). I tried serialization provided by MFC but I didn't like it that much because I couldn't check anything that was saved at all. So,I wrote … | |
If anyone is interested I have put together a list of common MIME types formatted in CSV and XML You can get them at [url]http://www.cake-spoon.com/pdt/2010-03-12/csv-list-of-mime-types[/url] or via the attached .zip folder containing both =) | |
Hey Guys, Quick n00b question... i have the following XML: [CODE]<row> <UDPName>10014535-Test</UDPName> <SpeedDialIndex>2</SpeedDialIndex> <Label>mobile</Label> <SpeedDialNumber>907********</SpeedDialNumber> </row> − <row> <UDPName>10014535-Test</UDPName> <SpeedDialIndex>1</SpeedDialIndex> <Label>talking clock</Label> <SpeedDialNumber>9123</SpeedDialNumber> </row> - <row> <UDPName>10014573-Test</UDPName> <SpeedDialIndex>1</SpeedDialIndex> <Label>Work</Label> <SpeedDialNumber>90203********</SpeedDialNumber> </row> [/CODE] (this is a cut down version of the XML.. there would be several hundred rows in the actual … | |
Is there a difference when filling JTextField.setText(); [code] nameTemp=t.getNodeName(); JTextField.setText(nameTemp); [/code] and [code] nameTemp="The text"; JTextField.setText(nameTemp); [/code] The node name will not fill the text field. | |
[B]Hi I am trying to create a generic class form existing code I have tried to figure it out but with no avail if anyone could help it would be much appreciated I have tried to do it and this is what I have so far[/B] Here is the Class … | |
Hello there, I wrote a code for reading xml datas from one url, the code is working fine, but if data contains "-" it throw error message. Here is my code [CODE] h = httplib2.Http('.cache') response, content = h.request(dataurl) data = content.decode('utf-8') elem = etree.fromstring(data) [/CODE] i am getting error … | |
Hi, Here at my organization we'd been using an app which worked perfectly fine on the current 5.5 tomcat. But now we wished to upgrade our server to version 6.0 . The problem is that the application almost refuses to start up. I had this web.xml modified to comment out … | |
OK so im new to XML i want to save lots of serialized objects to XML then read the objects back in from the xml with ease using the get and set methods i have in place, is they any real easy way of doing this? thanks in advanced Houlahan. | |
I am new to developing so please bear with me, I am using SQL Server to create an xml output (using the FOR XML clause). In Query analyzer the xml document is produced correctly with all the element and child nodes. I am using asp.net and the XmlReader to read … | |
I'm struggling. I'm trying to make a website using the google weather API. Here's where I'm at: 1) I've got the PHP code working, and it gets the current temperature & images showing the forecast for the next 4 days. Simple enough 2) I decided I wanted to have a … | |
I am creating an application that has a thread which constantly moves the contents of one folder to another (Using Visual Studio, Compact Framework) I start the thread like this [CODE]public static class Program { /// <summary> /// The main entry point for the application. /// </summary> /// [MTAThread] public … | |
if getTextValue() recieves a Element and finds a node value (text) why would it not be found in str? [code]\ pubic String getTextValue(Element n){ NodeList nl=n.getChildNodes(); for (int i=-; i<nl.getLength();i++){ if(nl.item(i).CDATA_SECTION_NODE>0){ String value=nl.item(i).getNodeValue();//sys.out= good text } } return value; } [/code] [code] t=(Element) r.getNextSibling(); str=getTextValue(t); System.out.println(" "+str);//null [/code] | |
Hello: i am try to run xml parsing example in j2me with Netbeans 6.8 for cldc but when i compile it gives following Error: error preverifying clas bin.EventList Class loading error: Wrong name i am using kxml2 jar file for importing org.kxmlparser. can any tell what is this error . … | |
Hi, Thanks for such valuable inputs all you guys contribute here. This is my second request for assistance here, I'd appreciate any assistance. I developed an application which queries a webservice to get back data in form of XML. The webservice has a restriction on its usage in daytime, that … | |
Hi, I am trying to write a error log text file using xml as a data file and xsl as a validation file. attached are my input files. I stuckup in converting them.. please advice. thanks in advance, siva below are my files information. [CODE] <?xml version="1.0" encoding="iso-8859-1"?> <?xml-stylesheet type="text/xsl" … | |
I have the following html [code] <html> <head> <title>Voucher Usage</title> <script language="JavaScript" type="text/javascript" src="js/voucher.js"></script> </head> <body onLoad="document.VU.Number.focus()"> <form name="VU" id="VU" method="post" > Voucher Number: <input type="text" size="20" maxlength="20" id="Number" name="Number" onChange='submit_click(this.value)'><br /> <center> <div id="loadingNode"></div> </center> </body> </html> <script language=javascript> function submit_click(VoucherNumber) { if ((VoucherNumber[0] == ";") && (VoucherNumber[strlen(VoucherNumber) -1] … | |
So I am very confused about XML in general. according to the things i read about it, its not a programming language. its not used to display anything. basically they even say it does nothing. then the question arises....WHY is it used?WHERE is it used?and HOW is it used?....i tried … | |
I want to Copy Whole Word document Content to XML in C# | |
Ok, so I am loading data from an XML file into a dataGridView. I have several entries in the XML file and would like each one to create a button next to it. After some searches it looks like I either have to put it in a <code> or <c> … | |
hi,I'm using a dynamic photogallery in my project.Now i'm having problems with xml updation.The xml file which is being used by the flash is dynamically updated with data from a table that each time xml is changed.But the problem is flash is not using the updated xml file.It uses the … | |
vb.net: I have a task to take the given xsd file and use that to validate my generated xml file. But now this xsd file has complex type attributes and I cant get to append this complex type to my declared xmlnode. [U]My Code:[/U] [CODE]Dim namespaceURI As String = "http://www.blabla.za" … | |
Hi, I am a little newbie with python, more use of C++ The goal is to search a specifed filename e trought multiple directories. After finding the file, search trough it's content some description on some strings and write out the description on a xml file. So far i manage … | |
Announcements for the first round of broadband stimulus grants and loans have slipped a bit; while all the announcements were supposed to be made by March 1, they are now expected to be made by March 15, according to an [URL="http://www.stimulatingbroadband.com/2010/03/broadband-stimulus-pipeline-usda-says.html"]article [/URL]on the Stimulating Broadband website. In the first round … | |
I create an object of Microsoft.xmlDOM. load a xml file(validation no error). and objXMLDoc.setProperty "SelectionLanguage", "XPath" Then use Set NodeList = objXMLDoc.getElementsByTagName("appointment") to successfully retrieve a list of nodes with tagName "appointment" However, when I change the following code Set NodeList = objXMLDoc.selectNodes("//appointment") to hope to retrieve the same information, … | |
Could someone tell me what has to be changed to get the element name and text of my targetElement? I just get internal frame openFrameCount= 1 start obj() type= guide cmaj name: null value: null name: null value: null name: null value: null cmaj name: null value: null name: null … | |
Help needed on how to re-arrange the value of an element while displaying. XML ----- <vdu vdu_id="4b8febcd000000000a5901f2232f0002"> <field><name>vdu_id</name><value>4b8febcd000000000a5901f2232f0002</value></field> <Field><Name>ANI</Name><Value></Value> </Field> <Field><Name>AccountNumber</Name><Value></Value> </Field> <Field><Name>ERMCaseCategory</Name><Value></Value> </Field> <Field><Name>ERMCaseId</Name><Value></Value> </Field> <Field><Name>extradata</Name><Value></Value> <Container count="6"> <Field><Name>emailtype</Name><Value>NOR</Value> </Field> <Field><Name>messageId</Name><Value>589</Value> </Field> <Field><Name>tenantLogoURL</Name><Value></Value> </Field> <Field><Name>tenant_key</Name><Value>2</Value> </Field> <Field><Name>tenantname</Name><Value>IMLGTenant</Value> </Field> <Field><Name>trackingNumber</Name><Value>T201003040002</Value> </Field> </Container> </Field> </vdu> XSL ----- <HTML> <HEAD> <meta http-equiv="Content-Type" … |
The End.