6,049 Topics

Member Avatar for
Member Avatar for iandmac

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 …

Member Avatar for iandmac
0
225
Member Avatar for cfHutton

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 …

Member Avatar for cfHutton
0
175
Member Avatar for dude1

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 …

Member Avatar for dude1
0
172
Member Avatar for whiteyoh

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 …

0
57
Member Avatar for bunnyboy

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 …

Member Avatar for bunnyboy
1
105
Member Avatar for Kiek_L

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 …

Member Avatar for Kiek_L
0
134
Member Avatar for Buckoo

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> …

Member Avatar for Salem
0
112
Member Avatar for Pankaj18

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 …

Member Avatar for kvprajapati
0
74
Member Avatar for whiteyoh

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 …

0
51
Member Avatar for nccsbim071

[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 …

Member Avatar for kvprajapati
1
1K
Member Avatar for pradeep2002gs

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 …

Member Avatar for jwenting
0
113
Member Avatar for matt1

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 …

0
55
Member Avatar for ALOK.53

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; …

Member Avatar for kvprajapati
0
113
Member Avatar for nerdinator

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 …

0
61
Member Avatar for manofspider

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.

Member Avatar for masijade
0
125
Member Avatar for shyami

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

0
66
Member Avatar for Suhas H G

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

Member Avatar for kvprajapati
0
60
Member Avatar for askjake

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 …

0
89
Member Avatar for sallyroberts

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 …

Member Avatar for apegram
0
86
Member Avatar for G33KKitty

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

0
48
Member Avatar for Evil_Tidus

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 …

Member Avatar for almostbob
0
101
Member Avatar for David22

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". …

Member Avatar for BestJewSinceJC
0
140
Member Avatar for agrarian

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 …

Member Avatar for agrarian
0
167
Member Avatar for kamalkumar

[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

Member Avatar for xylude
0
85
Member Avatar for nerdinator

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 …

Member Avatar for Ancient Dragon
0
193
Member Avatar for samarudge

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 =)

0
91
Member Avatar for danturn

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 …

Member Avatar for apegram
0
258
Member Avatar for ceyesuma

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.

0
39
Member Avatar for hallinan

[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 …

0
55
Member Avatar for shyami

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 …

Member Avatar for Stefano Mtangoo
0
83
Member Avatar for maverick_ymca

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 …

Member Avatar for ~s.o.s~
0
99
Member Avatar for houlahan

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.

Member Avatar for ~s.o.s~
0
77
Member Avatar for beckybc920

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 …

Member Avatar for kvprajapati
0
108
Member Avatar for electrogear

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 …

Member Avatar for electrogear
0
233
Member Avatar for Rageagainst20

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 …

Member Avatar for kplcjl
0
7K
Member Avatar for ceyesuma

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]

0
46
Member Avatar for dhana.519

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 . …

0
63
Member Avatar for maverick_ymca

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 …

0
90
Member Avatar for vensip

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" …

0
50
Member Avatar for stockton

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] …

0
64
Member Avatar for UberJoker

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 …

Member Avatar for Cragdo
0
99
Member Avatar for aravinda reddy
Member Avatar for templersstorms

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> …

Member Avatar for templersstorms
0
102
Member Avatar for ajijacobm

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 …

Member Avatar for JasonHippy
0
88
Member Avatar for L0u3

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" …

Member Avatar for L0u3
0
176
Member Avatar for playonlcd

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 …

Member Avatar for playonlcd
0
175
Member Avatar for slfisher

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 …

0
175
Member Avatar for guocnc

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, …

0
46
Member Avatar for ceyesuma

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 …

Member Avatar for ceyesuma
0
94
Member Avatar for Ram1979

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" …

0
50

The End.