3,634 Topics

Member Avatar for
Member Avatar for SakuraPink

Hi all, I'm trying to read data from this xml file that looks like this: <VEGETABLE > < FRUIT > <FRUIT name="apple">1</FRUIT> <FRUIT name="Orange">2</FRUIT> <FRUIT name="Benana">6</FRUIT> I wrote the following script:[CODE]import sys from xml.dom.minidom import parse from cmath import sqrt # Load XML into tree structure tree = parse(sys.stdin) #Find …

Member Avatar for SakuraPink
0
4K
Member Avatar for TechySafi

[CODE]<?xml version='1.0' encoding='UTF-8'?> <response> <status>get_ticket_ok</status> <ticket>bxquuv025arztljze2n438md9zef95e8</ticket> </response>[/CODE] This is all you got! How you will convert it into php array or something?

Member Avatar for TechySafi
0
288
Member Avatar for LloydFarrell

Hi everyone, I have been asked to help extract data from a xml file and use the data to input into html form designed in php I have read a few articles but im missing the point some how... On the file that im trying to get the data to …

Member Avatar for LloydFarrell
0
602
Member Avatar for LloydFarrell

Hi all - I have a xml file that I am trying to extract data from and create variables to use in a PHP / html form. I am new to extracting information from xml and creating variables The XML file is show below and what I would like to …

Member Avatar for LloydFarrell
0
147
Member Avatar for thekashyap

Hi, I'm looking for a good [Feed] Reader application/software to keep up to date abt new / updated posts in say Daniweb C-Forum. Any good app you know? I'm currently using [URL="http://www.feedreader.com/"]FeedReader 3.14[/URL]. Seems decent enough but it doesn't: [LIST] [*] Show me full thread (only the original post/question). [*] …

Member Avatar for ~s.o.s~
0
224
Member Avatar for mossa

I'm construted a php-class where I create and save some elements in an XMLfile. Outside that class I instantiate the class and save it in a _SESSION['obj'] if the session has not been created yet, otherwise I want to get the document back and add new elements to the XMLfile. …

Member Avatar for mossa
0
320
Member Avatar for duliduli556

We are posting an XML file to our ftp server that updates approximately every 3 minutes. We need to post the XML file to an HTML Page and publish it so that a secondary party can pull the XML data. Most of what I just said is Greek to me …

Member Avatar for xml_looser
0
93
Member Avatar for Vandamn

I have written a windows service which is host to a WCF service and i connect to the WCF in vb.net by adding a service reference in vs2008. the problem i have is that i need to connect to the WCF in javascript or jQuery (not bothered which). How do …

0
70
Member Avatar for deucalion0

Hey guys, I have a lot of javascript for my google map api and I have all the information stored away in an xml file which the javascrupt reads. I have many map markers but I cannot get a line break between th esets of markers, only each and every …

Member Avatar for deucalion0
0
236
Member Avatar for MARKAND911

I have added a .xml file to application resources. Now I want to access that xml file and fill dataset using that xml file in c#.net Can anyone help that how can i do this in C#.net

Member Avatar for MARKAND911
0
378
Member Avatar for bertm81

Hey All, I have written a script that uses elementTree to work on python 2.4. Took quite a while and worked a threat but now I need to get it working on 2.3.4. I can't upgrade the version of python. Is there an equivelent version of the element tree for …

Member Avatar for bertm81
0
224
Member Avatar for bhagawatshinde

Hi i am developing an windows application. In that i am using the xml file for data transfer. I want to encrept the generated file and decrypt it while uploading. can anybody help me to do this. Thanks in Advance

Member Avatar for bhagawatshinde
0
137
Member Avatar for v_sriram

Hi Everyone, I am trying to use Ajax to submit an XML Web Service request and receive a response XML. While it works perfectly when I submit these requests directly from the XXXX, YYYY, ZZZZ servers on the intranet. The request gets stuck at .open if I connect from any …

Member Avatar for digital-ether
0
178
Member Avatar for unkvar

I'm really stuck attempting to pull bulleted text from a rather unwieldy source. Ideally, I'd like to be able maintain the structure of bulleted items as they appeared in an odp slide. I'm using an <xsl:for-each> to loop through the text items. Essentially, I need to figure out how to …

Member Avatar for parth09
0
148
Member Avatar for ndiiie

Hi all, I want to display multiple different google maps by using restful web service in the same page..this is the way I do it in one of my page: [CODE]GoogleMapClient client = new GoogleMapClient(location); Object map = client.getGoogleMap(location); out.println(map); client.close();[/CODE] I have tried to loop it becomes: [CODE]GoogleMapClient client …

0
58
Member Avatar for himit

Hi All, I am not sure where am i going wrong but this is something which made me realise that my understanding about the for-each and apply-templates was wrong. :( I have 2 XMLs, I want to display the 'value' present in one XML after comparing the 'name' present in …

Member Avatar for xml_looser
0
211
Member Avatar for ashwinshenoy

Hi Guys, I am currently working on a vb project. What I am trying to do is reading a XML file and saving all the data in to the Access DB. Once this is done, I read the data from the access Db and display it in the required fields …

Member Avatar for ashwinshenoy
0
187
Member Avatar for CodeHelp

Anybody know if there is a way we can write unit tests for XSLT transformation. I have lot for XSLT files and it is becoming hard to to test them manually. I know we can have a sample XML and compare it with the output of the XSLT, but I …

Member Avatar for xml_looser
0
48
Member Avatar for solsys

Let say that i have the current xml document <root> <child> <name> </name> <lastname> </lastname> </child> <child> <name> </name> <lastname> </lastname> </child> <child> <name> </name> <lastname> </lastname> </child> ... </root> I use <xsl:for-each select="root/child"> and then type <ul> <li> <xsl:value-of select="name"/> <xsl:value-of select="lastname"/> </li> </ul> The problem is that i …

Member Avatar for xml_looser
0
82
Member Avatar for parth09
0
53
Member Avatar for tcl76

hi, i'm using Element Tree API to generate XML. But I'm getting error when opening the xml output. I tried to generate to a file and it worked. No error when running the Python code. Pls advise me why is not workin when i generate to an xml. fyi i'm …

Member Avatar for tcl76
0
228
Member Avatar for ecko21

Need to make a dtd for this xml code. There seems to be errors that come up, tryed it on w3 xml validator and it gives an error message. [CODE]<?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE Timetable [ <!ELEMENT Timetable (week, timecode)> <!ELEMENT week (day)> <!ELEMENT timecode (time)> <!ELEMENT time (#PCDATA)> <!ELEMENT day …

Member Avatar for xml_looser
0
150
Member Avatar for shack99

Hey everyone, I have an Xml file in which I want to compare elements; [CODE] <Students> <Student id = "a"> <Name>*** </Name> <Age>17 </Age> </Student> </Students> <Students> <Student id = "b"> <Name>*** </Name> <Age>17</Age> </Student> </Students>[/CODE] if student "a" is of the same age as "b" I want to display …

Member Avatar for shack99
0
692
Member Avatar for smandape

Hello Experts, I am trying to extract data from XML file which is as follows [CODE] <lineage> <taxon scientificName="Homo" taxId="9605" rank="genus"/> <taxon scientificName="Homininae" taxId="207598" rank="subfamily" hidden="true"/> <taxon scientificName="Hominidae" taxId="9604" rank="family"/> <taxon scientificName="Hominoidea" taxId="314295" rank="superfamily" hidden="true"/> <taxon scientificName="Catarrhini" taxId="9526" rank="parvorder"/> <taxon scientificName="Simiiformes" taxId="314293" rank="infraorder" hidden="true"/> <taxon scientificName="Haplorrhini" taxId="376913" rank="suborder"/> <taxon scientificName="Primates" …

Member Avatar for smandape
0
184
Member Avatar for k4zz

Need help in transforming xml to xsl. I am trying to create a timetable and am trying to transform the xml data that i have into an xsl data. [CODE]<Timetable> <Week> <Day DayID = "Monday"></Day> <Day DayID = "Tuesday"> <Session no = "1"> <Module type = "CMT111"> <ModuleName> CPM </ModuleName> …

Member Avatar for xml_looser
0
287
Member Avatar for phouse512

Hello all, I'm working on a comment script to produce a string of XML to be used for one of my ajax applications. However, I cannot figure out how to produce the xml. Assume that the passing of the parent_id variable is working for now. Here's the code I'm using …

Member Avatar for hielo
0
93
Member Avatar for musman007

I have a requirement to convert following xml into another xml with correct values.. This is sample requirement <MAINTABLE> <TABLE1> <ROW1> <COL1>VAL111 </COL1> <COL2>VAL112 </COL2> <COL3>VAL113 </COL3> </ROW1> <ROW2> <COL1>VAL121 </COL1> <COL2>VAL122 </COL2> <COL3>VAL123 </COL3> </ROW2> </TABLE1> <TABLE2> <ROW1> <COL1>VAL211 </COL1> <COL2>VAL212 </COL2> <COL3>VAL213 </COL3> </ROW1> <ROW2> <COL1>VAL221 </COL1> <COL2>VAL222 …

0
71
Member Avatar for kinger29

I have created a simple web service based off one of the project templates in the Microsoft WCF Starter Kit 2 for .NET 3.5. I have successfully implemented a GET method. However I am having trouble get a POST method to work. [CODE] [WebHelp(Comment = "Sample description for DoWork")] [WebInvoke(UriTemplate …

0
180
Member Avatar for The Road To Voi

So I've made a Task Scheduling application (for learning purposes). The program currently saves all the data in simple text form. I use Regex to split the data up and assign it to the appropriate variables. I don't really like this way of doing things as it seems messy and …

Member Avatar for williamrojas78
0
263
Member Avatar for pragati_2010

I have one problem with '/' we have a field which contains multiple values and these values will come separated by a slash '/'. Now i dont know how to resolve when the values it self contains a '/'. For eg. <xsd:Value> Tiger / Lion / Deer</xsd:Value>----This is what is …

Member Avatar for xml_looser
0
350

The End.