3,634 Topics

Member Avatar for
Member Avatar for iswariak

1. I want to take unique district values from the below xml. How to do it in XPATH? 2. I want to take unique taluk values and district name="xyz". what is the xpath expression? XML structure: <?xml version="1.0" encoding="utf-8"?> <imageData> <row> <slno>1</slno> <sitecode>001</sitecode> <sitename>Mel Sittamur</sitename> <photono>001_001_001.jpg</photono> <photodate>07-09-2008</photodate> <district>Villupuram</district> <taluk>Senji</taluk> <monument><![CDATA[Jain …

Member Avatar for zaibi403
0
4K
Member Avatar for stereomatching

[code] <xs:complexType name="common"> <xs:attr name="audio" type="xs:string" use="required" /> <xs:attr name="firmware" type="xs:string" use="optional" /> <xs:attr name="recording" type="xs:unsignedShort" use="required"/> <xs:complexType/> [/code] I want to sort the xml above by attribute "use" and make sure all of the elements with "required" would be on top, something like [code] <xs:complexType name="common"> <xs:attr name="audio" type="xs:string" …

Member Avatar for mazzica1
0
118
Member Avatar for FreddieBambino

Right. Im trying to communicate with the expedia travel API, exchanging xml feed with them. It goes somehow like this: I send them info of the query I want, they send me the query back in xml form. Here is an example of a query I would want to send …

Member Avatar for FreddieBambino
0
226
Member Avatar for jainpraveen75
Member Avatar for johnnc

Greetings, I am trying to write XML using SimpleXML for a web service call. I was having success until the XML got a little more complicated. Here is the XML format where I am running into problems: [CODE] <Agent> <Person Last='Smith' First='John'> <Addresses /> <PhoneNumbers> <Phone Type='1' Number='888-555-1212'> </PhoneNumbers> </Person> …

Member Avatar for jmichae3
0
447
Member Avatar for aaloo

i am getting confused that which one can be implemented >sending data out from flash to php via xml or >sending data out from flash to xml via php i know we can load data directly from xml to flash but i dont know how to send data from flash …

Member Avatar for sufyan2011
0
122
Member Avatar for aaloo

this is my xml file [ICODE]<myxml> <a> I can load XML like the wind! </a> <b> I can load XML like the storm! </b> </myxml>[/ICODE] i want to trace "I can load XML like the wind!" in flash movie.for this i am using this syntax that is not working .somebody …

Member Avatar for sufyan2011
-1
91
Member Avatar for Azmah

We've recently bought a TLD domain for our site. I've been going through re-linking what hasn't been re-linked by Tumblr itself. One thing I'm very weary about is altering our RSS link. Our subscribers know us by our subdomain, thirdspaceme.tumblr.com, not our new one yourthirdspace.com . We don't want to …

0
105
Member Avatar for keithxm23

Hi.. I'm new to AJAX and I'm attempting to use this webservice ( [url]www.webservicex.net/CurrencyConvertor.asmx?op=ConversionRate[/url] ) in my html page. Now I've managed to make a form and stuff to correctly call the webservice, but then, I do not want the answer to be displayed as just the output xml data. …

0
55
Member Avatar for Veneficvs

Hello. I have a very important question. I am currently attempting to create a Javascript file to test the HTML5 File API. First of all, I want to dynamically obtain a local file using Javascript and Google Chrome. I have succesfully done that by using a function which returns a …

Member Avatar for Veneficvs
0
468
Member Avatar for RicardoE

Hello all, So I just moved from mocahost (worst web hosting service ever) to HostSo wich I recomend as is cheap and surprisingly good :) so the question is, after I pointed my nameservers to HostSo, I get that mysite.com is live bur [url]www.mysite.com[/url] is down. Any idea on how …

Member Avatar for seonetsmartz
0
154
Member Avatar for stereomatching

We already use a tool which called codeSynthesisXSD to transform xml into source codes of C++ Yet there are too many tedious routines could be automated. like [code] <xs:complexType name="common_t"> <xs:attribute name="channel_id" type="channel_id_st" use="optional" /> <xs:attribute name="audio_record" type="xs:string" use="required" /> <xs:attribute name="firmware" type="xs:string" use="optional" /> <xs:attribute name="login_id" type="xs:string" use="optional" /> …

0
68
Member Avatar for abathurst

Hello, I am having trouble inserting data from a XML file into a table in a SQL data base. The worst thing is it isn't coming up with an error but nothing is being inserted into the database Here is the condensed version of the XML code I am using …

Member Avatar for abathurst
0
2K
Member Avatar for DarkWolffe

I have an [URL="http://pantheonarts.host22.com/xml/feed.xml"]RSS feed[/URL] set up using XML on the website I've developed for [URL="http://pantheonarts.host22.com/"]Pantheon Arts Unlimited[/URL]. I'm still fairly new to PHP and MySQL, so I find myself often jumping to various forums looking for answers for what are usually fairly obvious questions. My newest problem, however, I've …

Member Avatar for DarkWolffe
0
189
Member Avatar for aaloo

this is my as3 code which is making an xml file [code] var submitListener:Object = new Object(); submitListener.click = function() { var login_xml:XML = new XML("<login password=\""+username_txt.text+"\" username=\""+password_txt.text+"\"> password_txt.text </login>"); login_xml.xmlDecl = "<?xml version=\"1.0\" ?>"; packet_txt.text = login_xml; }; submit_btn.addEventListener("click", submitListener); [/code] i want to insert password as node value …

0
87
Member Avatar for mulegoat

Hi there, I have a very simple schema where each node requiring HTML output contains 7 possible numerical variables (all within nodes N1 - N13). I need to output text and image content according to the number within each node. Below is a sample of my schema: [CODE] <?xml version="1.0" …

0
108
Member Avatar for jaycastr

Hey Guys I am writing a application in PHP. One feature is that the admin can create a question for a test in the application. I want to use the users input to create an xml file and save the xml file in mysql database for later use. This is …

Member Avatar for jaycastr
0
197
Member Avatar for vishal1949

I have this assignment where I have to make an xml that has movies names and info. Then i have to make a StAX program that locates the xml file and reads it. The program should also be able to count the number of movies in the decade. Thats the …

0
134
Member Avatar for localp

Hello, I have Googled this for days, but couldn't find a suitable code/tutorial. I need to write a simple java webservice that would return a XML/JSON file as its output. For example say there's a button, and when i click on it, it should run a SQL [CODE]select * from …

Member Avatar for ~s.o.s~
0
143
Member Avatar for mrhankey

hi, i was wondering if any you guys knew of a simple way to sync from an access database offline to a mysql online database? currently my system is running on php/mysql. there is another company who have a system that uses an access database behind it. i can access …

Member Avatar for cereal
0
183
Member Avatar for susheelsundar

Hi Everyone, I hope i am posting this thread on a right place, My query is: I am working on SEO of my client's website, so i understood there is a new method to tell crawlers about website using rich snippets, which happens to be Schema.org. I understand the code …

0
62
Member Avatar for kadriirdak

Hi There, I have an XML data [code] <coordinators branch="xx"><coordinator cnum="xx"> <value key="role" type="string">BC</value> <value key="role_desc" type="string">role</value> <value key="name" type="string">xx</value> <value key="tel_number" type="string"/> <value key="email_address" type="string">xx</value> </coordinator> <coordinator cnum="xx"> <value key="role" type="string">BC</value> <value key="role_desc" type="string">role</value> <value key="name" type="string">xx</value> <value key="tel_number" type="string"/> <value key="email_address" type="string">xx</value> </coordinator> </coordinators> [/code] I need to …

Member Avatar for veedeoo
0
172
Member Avatar for mole116

hi, i have a question in XPATH. i am reading from XML file and i would like to know how can i extract a name from this line: <Name><![CDATAEdi></Name> lets say i want to get Dani? my c# query is like this: strExpression = "A/B/C/D"; and i also would like …

Member Avatar for mrame
0
155
Member Avatar for harish13
Member Avatar for arthu rias
0
365
Member Avatar for hotice47

hi need little help displaying xml data from two website need to display data like this 1-website a 2-website b 3-website a 4-website b i am using this code can any one tell me how i can display two xml data from different websites i am using this what i …

Member Avatar for cereal
0
207
Member Avatar for innspiron

Hello, can anyone suggest me how to convert string to xml object in java? I have a string (Data) ant now I have to pass it as parameter as xml object, which structure should be: <MGWData>Data</MGWData> Where I surf I always see only solutions for converting string to xml document, …

Member Avatar for Aviras
0
734
Member Avatar for raul8

Hi, I am using jax-b for XML binding. Just wanted to ask is there any other API, that is better than jax-b. Like it can create XML elements in the form of hashmap or something? Thank You

0
64
Member Avatar for Roelof Wobben

Hello, I found this script ([URL="http://www.bobulous.org.uk/coding/paging-xslt.html"]http://www.bobulous.org.uk/coding/paging-xslt.html[/URL] for makimg next/previous links. Now I wonder if I could make this work with a sort of offset because I like to have different number of articles on a page. Can anyone give me some tips. Roelof

0
44
Member Avatar for krish0202

I have an XML file that has 144 columns for the last 12 year's rolling data -- and the column name: goes like this: Column> <Selected/> <SourceName>09/1999 XYZValue</SourceName> <DestinationName>Sep1999_XYZDestination</DestinationName> <TypeName>FLOAT</TypeName> </Column> <Column> <Selected/> <SourceName>10/1999 XYZValue</SourceName> <DestinationName>Oct1999_XYZDestination</DestinationName> <TypeName>FLOAT</TypeName> </Column> ......... all the way to <Column> <Selected/> <SourceName>08/2011 XYZValue</SourceName> <DestinationName>Aug2011_XYZDestination</DestinationName> <TypeName>FLOAT</TypeName> </Column> …

0
80
Member Avatar for opjjuly

I have created my .htaccess file using notepad, its empty at the moment, im on windows. how do i upload it to my server? do i place the file inside my website directory or outside? and how do i test whether the whole process was successful or not?

Member Avatar for pritaeas
0
184

The End.