I dont want to hardcode the name of the package or where it lives when building an Android project with ant. Im using the build file generated by Android. What properties contain the output folder (bin) and package name (e.g. package.apk) ?
...
What is the quickest (as in least effort, not super performance) way to convert 112K rows in XML to a Excel view.
...
I'm a LAMP guy and ended up working this small news module for an asp.net site, which I am having some difficulty with. I basically am adding and deleting elements via AJAX based on the id. Before, I had it working based on the the index of a set of elements, but would have issues deleting, since the index would change in the xml file ...
I'm using xml.sax with unicode strings of XML as input, originally entered in from a web form. On my local machine (python 2.5, using the default xmlreader expat, running through app engine), it works fine. However, the exact same code and input strings on production app engine servers fail with "not well-formed". For example, it happ...
I have a webservice (out of my control) that I have to talk to. I also have a packet-sniffer on the line, and (SURPRISE!!!) the developers of the webservice aren't lying.
They are actually sending back all of the data that I requested. But the web-service code that is auto-generated from the WSDL file is giving me "null" as a value.
UP...
Hi,i have a small problem i have xome xml with a cdata section. This CDATA section contains fragments of HTMl. I would like to extract some of the data inside this CDATA element. Right now i have a XSLT transformation that outputs the rest of the document as HTMl, but i need only a small part of the CDATA HTML, not the entire part - e.g....
I am using JAXB to unmarshal an XML file into an object tree. The root object is non-null, but all of it's members are null even though there is data in the XML file. My object classes were generated with Axis2 from wsdls. I have the ObjectFactory class, the jaxb.index class, the package.info annotation, etc.
My problem is the same a...
I am currently working with a webservice to pull a report about users in a remote support system.
After pulling my report and receiving the result, I am given the following string back by the method:
<report><header><field id="0">Source</field><field id="1">Session ID</field><field id="2">Date</field><field id="3">Name</field><field ...
Right, starting to go crazy here. I have the following code:
var query = (from c in db.Descendants("Customer")
select c.Elements());
dgvEditCusts.DataSource = query.ToList();
In this, db relates to an XDocument.Load call. How can I get the data into the DataGridView?
Just thought I should ...
hello,
Flex 3 (actionscript 3)
I have another problem now,
I have a panel on which I have put fadeIn show effect.
first, the effect was only applied to the panel. The text would just appear without the fadeIn effect. Then someone here told me to embed the fonts, which worked like a charm
but now I have another problem. I get the te...
What's the best way to validate an XML file (or a portion of it) against multiple XSD files?
For example, I have the following schema for a configuration loader:
<xsd:schema xmlns="http://www.kauriproject.org/schema/configuration"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.kauriproject.org/sch...
Creating a game in Android using multiple Buttons to display an image from the drawable folder. I want to change the button to a different image after the button has been clicked on. Here is the button code:
<Button android:id="@+id/b36"
android:background="@drawable/black"
android:layout_width="45px"
android:layout_heig...
I am developing a WPF client program for some websites. It uses XML database. I am new to XML. Would someone please explain how to create,append(Most important),edit,read&encrypt XML file. It is a big question,i know . But, it is urgent.Have to complete the work ASAP. Searched in the internet, not getting correct info.
...
Hey all.
I have a xml string:
<Test> Result : this is the result</Test>
How do i parse XML using XMLReader class to get "this is the result" as a string back.
thanx !
...
I am a student in the process a building an Android app that can post a GPS track into a Rails application. I would like to do things the "Rails" way and take advantage of the REST. My rails application basically has 3 models at this point: users, tracks, and points. A user has_many tracks and a track has_many points. A track also ha...
Right, bit of a strange question; I have been doing some linq to XML work recently (see my other recent posts here and here).
Basically, I want to be able to create a query that checks whether a textbox is null before it's value is included in the query, like so:
XDocument db = XDocument.Load(xmlPath);
var query = (from vals in db.Desc...
Hi Guys,
I am getting the NSConcreteData leaked object while testing the leaks in the instruments.It showing in the parser,
- (void)parseXMLFileAtURL:(NSURL *)URL
{
[urlList release];
urlList = [[NSMutableArray alloc] init];
myParser = [[NSXMLParser alloc] initWithContentsOfURL:URL] ;// it showing this line as leaking
[myPar...
I have a given XML document (structure can not be changed) and want to get the comments that are written above the nodes. The document looks like this:
<!--Some comment here-->
<attribute name="Title">Book A</attribute>
<attribute name="Author">
<value>Joe Doe</value>
<value>John Miller</value>
</attribute>...
The XML im trying to parse contains a control character 0x2 inside CDATA. I tried to replace it with character reference which led to CDATA looking like:
CDATA section----charcter reference----CDATA section
Now if i try to parse it i get an error message saying:
org.xml.sax.SAXParseException: Content is not allowed in prolog.
The ori...
hi there,
I want to modify some data on XML file residing on server side by using javascript.
I'm using following code
var xh;
if(window.XMLHttpRequest)
{
xh=new XMLHttpRequest();
}
else
{
xh=new ActiveXObject("Microsoft.XMLHTTP");
}
xh.open("get","books.xml",false);
xh.send("");
var xdoc=xh.responseXML;
var x=xdoc.getElements...