xml

Using XML to generate SAP ABAP and/or SAPScript?

Has anyone got examples and/or experience of generating SAP ABAP or SAPScript form code from XML that came from an external application? This would help: creation of SAP-based applications in a data-driven way by automating the knowledge to do so from the export of XML from an external application automated inputting of knowledge from...

AutoCompleteTextView with custom list: how to set up OnItemClickListener

Hi everyone, I am working on an app which uses tags. Accessing those should be as simple as possible. Working with an AutoCompleteTextView seems appropriate to me. What I want: existing tags should be displayed in a selectable list with a CheckBox on each item's side existing tags should be displayed UPON FOCUS of AutoCompleteTextView...

Unable to Read an XML file into a data set when XML files containg data in French

I am trying to read an XML file into a data set using dataset.ReadXml(fileName, XmlReadMode.IgnoreSchema). XML contains data formatted in French eg 231,23 ie '.' in US is replaced by ',' in French. I get an exception Input string was not in a correct format.Can any one help me ? ...

Call a variable's content in a URL - AS3

I have this variable and XML object (np tag) var addedNumber:String; for (var i:int=0; i<xmlList.length(); i++) { var picURL:String = xmlList[i].url; var picName:String = xmlList[i].username; var addedNumber = xmlList[i].np; etc... and I need to call this variable content here, inside a dynamic url function navigateToRight(evt:Mouse...

Cross domain AJAX requests using JQuery and YQL

Hi , I need to use YQL (Yahoo Query Language) to perform a cross domain ajax request then bind the XML response into a JSON object and retrieve a value from the XML. The link shows how this is done using the YQL service as a proxy for cross domain requests: http://ajaxian.com/archives/using-yql-as-a-proxy-for-cross-domain-ajax For e...

Does the ADT plugin automatically create an ant build file?

I created an Android project a few months ago and now have to automate the build process with Hudson. The Android dev guide mentions a build.xml file that gets created when you generate a project (http://developer.android.com/guide/developing/other-ide.html) but I dont see one in my project. Will I have to create this by hand or can I ru...

creating xml files based on XSD using java xml framework

which Java XML framework would be the best to create all possible XML files based on specified XSD file. ...

How can I get the list of followers from the Google Data API for Blogger?

I am able to get the list of 'authored' blogs for a particular user profile-id and its response is available in JSON. However, when I try to request the profile (which has the list of followers), I can only get the result in HTML. Is there any way to get the list in a data-protocol format (i.e., XML or JSON)? ...

what's the best way to format an xml string in ruby?

given an xml string like this: <some><nested><xml>value</xml></nested></some> what's the best option (using ruby) to format it into something readable like: <some> <nested> <xml>value</xml> </nested> </some> ...

Dynamically pulling images from XML for iPhone App

I've got my iPhone app pulling down live data content via XML nicely, and I've formatted the UITableView cells to display the content without too many headaches. However, at the moment, for each cell I'm just showing a default graphic for now, but I want this to be pulled down from my server too. The code snippet that grabs the image (...

get parent elements in xml with simplexml in php?

with $element->children() i cant get all the child elements of current element. but how can i get all the parent elements for current element with simplexml? lets say it looks like this: <entity id=1> <name>apple</name> <entities> <entity id=2> <name>mac</name> <entities> <entity id=3> ...

WebMethod Return xml

I keep reading how everyone states to return XmlDocument when you want to return XML. Is there a way to return raw XML as a string? I have used many web services (written by others) that return string and the string contains XML. If you return XmlDocument how is that method consumed by users that are not on .Net? What is the method to j...

Trying to parse xml, but xmldocument.loadxml() is trying to download?

I have a string input that i do not know whether or not is valid xml. I think the simplest aprroach is to wrap new XmlDocument().LoadXml(strINPUT); In a try/catch. The problem im facing is, sometimes strINPUT is an html file, if the header of this file contains <!DOCTYPE html PUBLIC ""-//W3C//DTD XHTML 1.0 Transitional//EN"" ""ht...

help with xpath selecting

i've got an id attribute value for an element. i want to select only its children (not all descendants). i used $childElements = $xml->xpath('//entity[@id=212323]'); print_r($childElements); but that would select ALL descendants and print them out. i just want to select the 1 generation children. how could i do that? <entity id=212...

Update Azure Service Configuration File using Powershell

I'm trying to write a powershell script that updats each of the DiagnosticsConnectionString and DataConnectionString values below, but I can't seem to find each individual Role node using $serviceconfig.ServiceConfiguration.SelectSingleNode("Role[@name='MyService_WorkerRole']") doing echo $serviceconfig.ServiceConfiguration.Role list...

Using PHP/MySQL with Google Maps

Update 2: So I never have used the debug function in firebug, but I just looked at the script section and I get this, now I will try and figure this out. Failed to load source for: http://localhost/googleMap/phpsqlajax_genxml.php Hiya, I followed this tutorial below http://code.google.com/apis/maps/articles/phpsqlajax_v3.html#ou...

.NET Exception error, what does this error means?

I've tried to develop a simple winform utility which is using xml file as its database. I've used VS 2008 express edition, C#. When this utility tries to write into the xml file then this error is displayed on other computer. I've tried to provide System.Xml.dll & System.Xml.Linq.dll in the same folder on the other computer but no use. ...

possible xml elements in Android resources xmls ?

I recently came across a forum post in the android developers group. (link below) http://groups.google.com/group/android-developers/browse_thread/thread/ef3bdebcb715b385 It has one post which contains following xml. It is xml file which can be used in drawable folder. <selector xmlns:android="http://schemas.android.com/apk/res/andro...

Legally use CDATA in XML

Hi, I have an XML file which XML parser choke on. A part of it is : <closedDeal><customer><![CDATA[ABC ]]></customer></closedDeal> The error I got is The literal string ']]>' is not allowed in element content. Error processing resource What is the correct way of using CDATA? I need CDATA because the data is read from Excel, and co...

Using sed for introducing newline after each > in a +1 gigabyte large one-line text file

I have a giant text file (about 1,5 gigabyte) with xml data in it. All text in the file is on a single line, and attempting to open it in any text editor (even the ones mentioned in this thread: http://stackoverflow.com/questions/159521/text-editor-to-open-big-giant-huge-large-text-files ) either fails horribly or is totally unusable due...