6,049 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
310
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
609
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
149
Member Avatar for anirban1087

Hi, I have a php page to take user input. My page has 3 sections. [B]Section 1::[/B] I am taking some information from the user. [B]Section 2::[/B] I am again taking some input from the user, and [B]Section 3::[/B] I am displaying the data from section 2, in a table. …

Member Avatar for anirban1087
0
134
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
226
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
321
Member Avatar for ziggystarman

Hi Got a comboBox on a form where the user can add url favorites, When closing form using the following code. [CODE] // Create the XmlDocument. XmlDocument^ doc = gcnew XmlDocument; doc->LoadXml( "<item><name>Favorites</name></item>" ); for(int i = 0; i < this->ComboBoxBM->Items->Count; i++) { // Add a url. XmlElement^ newElem = …

Member Avatar for ziggystarman
0
200
Member Avatar for Lioshenka

I have a basic CMS running, the three main files are cpanel.php, where the user clicks the "edit" button, this then opens pageeditor.php page, where the changes can be made to the document within an iframe and then the user clicks "save", the data gets passed to the saver.php saving …

Member Avatar for Akash Saikia
0
166
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
95
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
73
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
247
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
401
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
226
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
141
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
181
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
151
Member Avatar for penguino138

Ok so I'm transferring a website for my mom and i got an error in the main page's coding, but I can't figure it out. It said it was in line 3. [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-gb" lang="en-gb" > <head> <meta http-equiv="content-type" content="text/html; …

Member Avatar for Kraai
0
450
Member Avatar for jojajojango

hi im reletivly new to html/css/xml been studying and reading just wondering if anyone had any ideas of some sort of practice i can do to practice some of the things i have learned.... any ideas from anyone would be great... i do things here and there .... maybe a …

Member Avatar for jalarie
0
67
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
60
Member Avatar for RabidDog5150

Brief intro (ummm): - Software developer for +/- 10 years now - Work with C#, Java, PHP (and others just can't remember them now) and all peripheral markup languages (HTML, XML, XSD etc etc) - Enjoy collaboration, analysis, solution architecture, solution designs and patterns - Stickler for quality and maintainability …

Member Avatar for JamieLynnSEO
0
164
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
214
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
193
Member Avatar for mrbungle

Greetings, My app saves a bunch of stuff to an XML file. This is my line of code- [CODE] Using writer As XmlWriter = XmlWriter.Create("C:\vdx2k\MWS\RE\EXTReportsInbox\TK" & frmCitation.txtCiteNumber.Text & "Traff.xml", settings)[/CODE] So that saves it at that specific location. I need to duplicate the XML and have it also save in …

Member Avatar for mrbungle
0
114
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
51
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
84
Member Avatar for parth09
0
55
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 JaseAU

Hi, I have a web application that allows users to schedule a group of Emails to be sent out. I am using Quartz to do this. I've set up the quartz.properties file, coded all the back end java business logic, but I believe to get this to work on a …

Member Avatar for SoftwareHead
0
524
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
152
Member Avatar for Awah Mohamed

hey people. this is my 1st time to get this error. i usually save cookies using this code: [CODE] <?php $time = time()+60*60*6; // the time is saved for 6 hours // then save the cookie with the $id data setcookie("ln", $id, $time); ?> [/CODE] but with my new website. …

Member Avatar for diafol
0
199
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
701
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
187
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
289
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
96
Member Avatar for phouse512

Hello all, I have a problem with some AJAX code that I'm working on. There are three different parts to my problem. The goal of this code is to have a a link that says, "Show comments" to display the comments for a post from an admin underneath the update. …

Member Avatar for Airshow
0
340
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
73
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
182
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
271
Member Avatar for TheDocterd

Hi There I'm in quite a need for an answer, can sombody perhaps help me? I have an html file. Then I have a folder, say Test Images, in that folder I have more folders, say e3 and e5, in that folders there are images. I want to write an …

0
84
Member Avatar for complete

I have inherited source code from a project. I am trying to decypher how it all fits together. It uses XAML. The problem is that when I open the XAML files, Visual Studio 2008 does not display it in Design Mode, and when it shows the file in text form, …

Member Avatar for Momerath
0
187
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
374
Member Avatar for kacieh80

Could someone point me in the right direction of hopefully a library or code examples, any resources on how to take XML and create a PDF using XSL-FO in Python? If I should have to use an XML renderer, then which XML renderer is recommended?

0
71
Member Avatar for mduncan8

I want to make collapsible groups in an excel document(in excel, on to the Data tab, Outline section, Group button) using XSLT. Is this possible? If so, does anyone have an example or link of how this is done? Thanks in advance.

Member Avatar for sapien
0
507
Member Avatar for deean

Hello, I have a problem. I would like to search certain word from xml. For example: I would like to search "black". And in XML file there is value "black board". But it does not appear. Does anyone know how to solve it? I mean when I type "black", the …

Member Avatar for m.asfak
0
134
Member Avatar for arsheena.alam

Hi, I am creating the dll of my website by building the website. Now the problem is I am not getting the XML documentation file in the debug folder of the bin folder. There is no debug folder inside the bin folder!! I am unable to see comments in my …

Member Avatar for arsheena.alam
0
191
Member Avatar for vho123

I am having trouble trying to implement parameter entities so that i can repeat text multiple times within the DTD. example XML code: [CODE] <accounts> <luke> <shipping_address> <address></address> <street></street> <city></city> <postcode></postcode> </shipping_address> </luke> <angie> <billing_address> <address></address> <street></street> <city></city> <postcode></postcode> </billing_address> </angie> </accounts> [/CODE] The address, street, city, postcode elements both …

Member Avatar for xml_looser
0
159
Member Avatar for phoenix911

Howzit, I need some advice on how to go about doing this little side project. Theres a website that uses xml feeds to populate the whole page (i dont care if thats good or bad), I can access these feeds when I'm logged in, but as soon as I'm logged …

Member Avatar for phoenix911
0
241
Member Avatar for j_kathiresan

Hi, I'm having XML content as a string. I'm using W3C dom for getting values from the XML. I've a very large XML file with attributes, elements similar like below [CODE=xml]<Shares> <bookDetails bookName="How to Learn English" bookAuthor="English Writer"> <Chapter chapterName="From Alphabetes" chapterPage="23"/> </bookDetails> <company> <name>test</name> <address>test address</address> <contact>test contact</contact> <C02>10.5</C02> …

Member Avatar for thekashyap
0
233
Member Avatar for perlnoob

I just want to ask what this code practically means? [CODE]<xsl:variable name="gSetValues" select="toolPackage:setValues($obDateFormat,$gDocID)"/> <xsl:variable name="gSmi" select="normalize-space(toolPackage:PubMetaDataReader.getEntry($gKey, 'smi'))"/> <xsl:variable name="obDateFormat" select="toolPackage:LNDateFormat.new('<input format date>', '<output format date>', 'ENGLISH', 'German', '19000101', '365', '19000101')"/> <xsl:variable name="vFormattedLoadDate" select="toolPackage:reformat($obLoadDateFormat,$gLoadDate,$gDocID)"/>[/CODE] I don't understand the 'totalPackage' followed by setValues,LNDateFormat,PubMetaDataReader.getEntry,reformat ? How can I connect each different 3 XML …

Member Avatar for xml_looser
0
297

The End.