Consume XML from Delphi 7
I need to get book information from isbndb.com trough XML service using this link http://isbndb.com/api/books.xml?access_key=12345678&index1=isbn&value1=9780321635345. Any Idea how to do that in delphi? ...
I need to get book information from isbndb.com trough XML service using this link http://isbndb.com/api/books.xml?access_key=12345678&index1=isbn&value1=9780321635345. Any Idea how to do that in delphi? ...
We're an XML shop (we use both XMPP and RSS/Atom feeds a lot, so I guess we have a little or no choice). Yet, I keep hearing about people who "hate" XML and sometimes refuse to use APIs who can only return XML in favor of JSON. It looks like many many prefer JSON to it, but I'm still not so sure why. Of course, JSON is so much more ligh...
I have to convert this GMT format to EST in xslt 1.0. <Date>Mon, 11 Aug 2009 13:15:10 GMT</Date> is there any of doing that? ...
As the title says, I cannot get padding around the text. Here's my xml: <style name="StandardButton" parent="@android:style/Widget.Button"> <item name="android:background">@drawable/nine_patch_3</item> <item name="android:textColor">@color/white</item> <item name="android:textStyle">bold</item> <item name="android:paddi...
I want to return the following XML in SOAP when a function is called rather than just a string. There are many different functions that will return an xml formatted this way, is there a way that I can define what a function returns? Like making my own data type? <meta> <supplier>Amazon.com</supplier> <datetime>2010/08/21 14:32:4...
I have a relatively small xml file <g> <page no="1" href="page1.xml" > <pic src="20100101001.jpg">1</pic> <pic src="20100101002.jpg">2</pic> <pic src="20100101003.jpg">3</pic> </page> <page no="2" href="page2.xml" > <pic src="20100101011.jpg">1</pic> <pic src="20100101012.jp...
I have an XML spec that looks like this: <Root> <Directory Name="SomeName"> <TextFile Name="ExampleDocument.txt>This is the content of my sample text file.</TextFile> <Directory Name="SubDirectory"> <Speech Name="Example Canned Speech"> ... </Speech> </Directory> </D...
Is this possible? / Jonas ...
I am using XmlReader.Create to retrieve data from an RSS xml file. Then I am putting this data into a DataSet and binding it to a ListView: XmlReader xmlReader = XmlReader.Create(this.RssUrl); XmlDataDocument xdoc = new XmlDataDocument(); xdoc.DataSet.ReadXml(xmlReader, XmlReadMode.InferSchema); The problem is that one of the fields I...
What % of Shared Hosting Package Provide SDO XML DAS Extension installed. or has the capability to install it for the User. i.e. If my Application makes use of SDO XML DAS would I be able to work with it on any Shared Hoisted Server ? ...
I'm finding a lot of tutorials on how to implement APIs but how does one actually create one? For example, I want to query movie quotes from my DB and also insert new ones via an API. I know PHP and MySQL but what am I missing to make an API? I read about the REST method and it seems easy but I can't find a step-by-step guide. Can someo...
I am currently writing an application that needs to pull data from an XHTML file. the file is called toon.xhtml and below is its formatting: <?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="/_layout/character/sheet.xsl"?><page globalSearch="1" lang="en_us" requestUrl="/character-sheet.xml"> ...
For an XML that has <?xml version="1.0" encoding="utf-8"?> <COLLADA version="1.4.0" xmlns="http://www.collada.org/2005/11/COLLADASchema"> <library_geometries> <geometry id="Cube"> <mesh> <source id="Cube"> <float_array count="24" ">1 2 3</float_array> [..] I'm getting properly "1 2 3" string with a if (!xmlStrcmp(c...
Hi, I have 660000 xml files(with unique file names) in 22 folders. Each folder has 30000 files. I need to find them by their names efficiently in a C# application. I know there is a SearchIndexer service in Windows(?Vista+?) and I was just wondering if I can use that or I have to index the files myself? Alternatively, I guess I could c...
Hello, I have a variable parameter that is formatted to the date type in XML. I need to convert that parameter into the dateTime format for another variable to accept my copy operation. This is being done in BPEL, but the expression builder for XQuery should be the same regardless of the processing language. Thanks very much for any h...
Hello, I have XML for example: <types> <type type="A"> <type type="A.A"/> <type type="A.B"> <type type="A.B.A"/> </type> <type type="A.C"/> </type> </types> Now, I have input string like: "A.B.A". I want get all ancestor and self node which has this string like value of "type" attribute. It means: <types> ...
Hi, I have a XDocument where I have added some annotations (.AddAnnotation). Now I want to write the document out with these annotations. Both .ToString and .WriteTo will discard annotations so they will not work. Essentially, I need a custom XML writer but the abstract class XmlWriter don't have any notion about annotations on elements...
Hello, I'm trying to issue a call through API so that I can delete user properties. When I go to ourwiki.com/@api/users/=john_smith%40ourwiki.com/properties it returns the XML which includes all of that users properties. I'm trying to store that XML in variable $xmlString then I should be able to loop through to get the properties and...
I have an XML file (actually a Visual C# project file) that I want to manipulate using a Ruby script. I want to read the XML into memory, do some work on them that includes changing some attributes and some text (fixing up some path references), and then write the XML file back out. This isn't so hard. The hard part is, I want the file ...
Hi, I am using php 5.2.9 I have an XML buffer which I need to post to some HTTPS URL. What is the correct way of doing that? I see various examples on the web, and none of them seem to be working for me: Some define the cURL headers like so: $headers = array( "POST " . $page . " HTTP/1.0", "Content-type: text/xml;charse...