3,634 Topics
| |
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 … | |
[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" … | |
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 … | |
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> … | |
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 … | |
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 … | |
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 … | |
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. … | |
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 … | |
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 … | |
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" /> … | |
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 … | |
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 … | |
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 … | |
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" … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
i want to convert a file from text format to binary format using VB how can i achieve this | |
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 … | |
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, … | |
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 | |
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 | |
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> … | |
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? |
The End.