I'm trying to loop through multiple <LineItemInfo> products contained within a <LineItems> within XML I'm parsing to pull product Ids out and send emails and do other actions for each product.
The problem is that it's not returning anything. I've verified that the XML data is valid and it does contain the necessary components.
$itemLi...
I'm working on a custom XML format that involves a formatted list of points. We would like to support multiple types of coordinates systems, such as Cartesian and Spherical. Can this be done?
Example:
<point type="cartesian">
<c1>5.0</c1>
<c2>5.6</c2>
<c3>9.1</c3>
</point>
<point type="spherical">
<c1>5.0</c1>
<c2>5.6</c2>
<c3>9.1</c3>...
Hello all, I'm newbie in iPhone Application Programming. I can't get value from XML file and display it in UITableView. I need to get the name value of animal. How is the simple way to parse XML without attribute? I've been read NSXMLParser Documentation but the data is not displayed in my UITableView. Here is my XML file :
<?xml versio...
Hi,
Is it possible in C# is append an XElement to an already existing xml file, without saving the whole xml, but just the new element?
So i don't want something like this, since it will write the whole xml to disk.
XDocument document = new XDocument();
document.Load("filename");
document.Root.add(new XElement("name", "content"));
doc...
Hello, I have the following XML file:
<?xml version="1.0" encoding="utf-8"?>
<SearchResults:searchresults xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.zillow.com/static/xsd/SearchResults.xsd /vstatic/279989c5e93d519f8d8f23d3f6cac661/static/xsd/SearchResults.xsd" xmlns:SearchResults="http://www...
Actually I have an XML document. I would like to print the children of the root element of the document using a utility in org.w3c.Dom without printing the document headers.
So I need a utility in org.w3c.Dom to print a Node only. any help please ?
...
Hi, I'm using ASIHTTP and trying to perform a GET request for a site:
NSURL *url = [[NSURL URLWithString:@"/verifyuser.aspx?user=%@" relativeToURL:@"http://domain.com"],userName retain];
ASIHTTPRequest *request = [ASIHTTPRequest requestWithURL:url];
[request setTemporaryFileDownloadPath:@"myfile2.txt"];
[request setDownloadDesti...
There are a number of posts on here about merging XML with Java, but I can't seem to find any reference to Actionscript for the same task.
I have a group of XML files that I need to load. I want them to sort into one XML Object in memory.
For example, let's say these were my XML files:
File 1
<xml>
<type name="1" group="a">
...
Hi,
I have an xml with various namespaces that i would like to query using .SelectNodes(string xPath)
The problem that i notice is that the xPath query return nothing as long as i have all those namespaces around.
is there anyway to tell XmlDocument.SelectNodes to ignore those namespaces and just get me the correct elements (the ele...
I got stuck on trying to detect the pair of name and value of the attributes in some general xmls by using libxml2 for parsing the api on iPhone application. For my project, the parsing speed is really important, so I decided to use libxml2 itself instead of using NSXMLParser.
Now, as referring to XMLPerformance that is a sample of iPho...
Which is better to parse JSON/XML on iPhone, so that i can interact with web apps.
Also which is the fastest and most efficient parser out there
...
I am trying to figure out what the best method is for writing an XML Document. Below is a simple example of what I am trying to create off of data I am pulling from our ERP system. I have read about XMLWriter, but thought I would see if there are any other better methods. Any suggestions would be greatly appreciated.
Example XML:
<?x...
Hello,
I am developing one iPhone application where I need to send some data (in XML format) from iPhone to server, on the server side I will parse that XML and get data for each XML node and than use them as per my requirement.
My question is:
How will I form the XML file on iPhone?
How will I send that XML file to server?
Which m...
Hi Guys/gals
I have an xml doc similar to this:
<Root>
<MainItem ID="1">
<SubItem></SubItem>
<SubItem></SubItem>
<SubItem></SubItem>
</MainItem>
<MainItem ID="2">
<SubItem></SubItem>
<SubItem></SubItem>
<SubItem></SubItem>
</MainItem>
...
</Root>
I want to return t...
Hello,
can anyone possibly point me in the right direction
I am using curl to get back a google picasa api feed.
This all works well, with the autorisation and the fetching of the data,
but now I want to expand a little bit in try'n to add,update tags,pics, geo-info from my site.
How can I pass the feed I got back with curl to the dom...
Hello, I need to write a java application that does a keyword search within the tags and the actual data from many xml files. From my research online I get the feeling i have to use xalan, but I can't figure out how to use it or what it does. Could somebody point me in the right direction? Thanks
...
I am new to java, eclipse, and android development, so I may be missing something simple although I have checked basic stuff like spelling several times.
Because there is no number picker control (such as that used in the date picker) in the public Android SDK, the conventional wisdom is to "clone and own" the control that exists in the...
I am using MSXML 4 to generate the following xml string:
<?xml version="1.0">
<Parent_Element xmlns="http://1">
<Child_One>
<Child_Two xmlns="http://2">
<Child_Three>
</Child_Three>
</Child_Two>
</Child_One>
</Parent>
However the output from my IXMLDOMDocument2Ptr always includes a...
I have an XML document below:
<wave waveID="1">
<well wellID="1" wellName="A1">
<oneDataSet>
<rawData>0.1123975676</rawData>
</oneDataSet>
</well>
... more wellID's and rawData continues here...
In general terms, what's the best way to read the rawData, should I grab the node containing the well waveID...
I have an xml file containing basic information about products, with the following structure:
- products
- Id
- Price
- ManufacturerId
And another one, containing data about manufacturers:
- manufacturers
- Id
- Name
I'd like to get the top 3 manufacturers with the most products (manufacturer name and number of ...