I have problems with download and upload blob data in my iPhone app using Sqlite.
Everything seems to be ok if I insert the photos in the blob field with SQLite manager: I can read the image and manage it with my app.
When I export the table to xml with the SQLite manager's feature, it creates a file that contains in the photo field a v...
Hi
I’m trying to use Linq XML to select a number of nodes and the children but getting terrible confused!
In the example XML below I need to pull out all the <MostWanted> and all the Wanted with their child nodes but without the other nodes in between the Mostwanted and Wanted nodes.
This because each MostWanted can be followed by any ...
I have an XML file dynamically created from a database where each item has both an id and name. In the following syntax:
<item>
<id>1</id>
<name>FirstName</name>
</item>
... and so on ...
I am trying to use these values for a jQuery autocomplete, where the ID will be submitted via form when the name is selected from the autocom...
I made an RSS reader that gets a feed from blogspot.
The text from the story, title, etc. works fine.
But the images posted inthe feed show up as links instead of an image.
How can I display the images?
...
main.xul
<?xml version="1.0"?>
<?xml-stylesheet href="main.css" type="text/css"?>
<window id="main" class="MainClass" title="MY TEST" width="640" height="480" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<listbox id="mainList" flex="1" class="MainListbox">
<listitem label="Twitter"/>
<li...
hi all
can anyone help me to learn how to use XML. As a test i want to use XML instead of INI files for saving a program settings.
Thanks
...
Hi,
I am having problems with nine patch images ( **.9.png ). I have a widget layout and would like to use nine patch images for the widget's backgroud. Here is my background.xml
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_focused="true" android:state_pressed="true" android:drawable=...
I have a datagrid:
<mx:DataGrid id="resultsDataGrid"
height="328" width="604" paddingRight="0" editable="false" y="43" horizontalCenter="0">
<mx:columns>
<mx:DataGridColumn headerText="Title" dataField="title"/>
<mx:DataGridColumn headerText="Updated" dataField="updated"/>
</...
Hi All,
I've building an XML editor and am having a little trouble parsing XML files that are passed in.
At the moment I can only parse a certain depth of XML elements, and I was wondering how you could get the deepest XML element, because at the moment I have a series of for each loops that loop through xmlElem.children() but this on...
This example is from this Mozilla's page.
main.xul
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="main.css" type="text/css"?>
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<box id="num" class="labeledbutton" title="Number of Things:"...
I am using following code to format xml string. But it does not work if it has CDATA component inside, otehrwise it works fine. Any ideas?
OutputFormat format = new OutputFormat(document);
format.setLineWidth(65);
format.setIndenting(true);
format.setIndent(2);
Writer out = new StringWriter();
XMLSerializer serializer = new XMLSerialize...
Our web service only supports JSON. We respond with JSON if we can or respond with an HTTP Error 406: Not acceptable if the client asks application/xml... Is it still considered RESTful?
...
Has anyone been able to find documentation that has the possible values of the CAP fields in the national weather service alert feeds (sample: http://www.weather.gov/alerts-beta/tn.php?x=0 )?
It would be useful to have software that reacts differently to minor events and major events, as well as different types of events. I suppose its...
I'm facing a problem that Google couldn't solve yet!
I'm trying to store URLs in an XML file. Problem is that these URLs contain Equal Signs (=) in them. And that generates an error.
Here is my code: (**token is a variable that contains the URL)
Dim child As String = vbCrLf & "<Link URL='" & token & "'></Link>"
Dim fragment As XmlDocu...
I have no friggin' clue what this data format is called. Do you recognize it?
http://pastebin.me/ced13687cf12fb85b334a5960a4cf985
It's JSON-esque, but obviously not JSON. We can thank Google for blessing us with this little enigma.
...
Hello all!
I'm working on a project, that have multiple settings on a form, (selections, checkboxes, etc..)
How can I save/store settings, to be able load the same settings, at the next startup?
I've heard about xml, but I didnt really found any article, descibes how to do it.
THank you guys.
...
For a class project, I'm trying to write a simple RSS reader for my Java class. I am trying to walk the DOM tree just to get the experience doing it although I know there are better more efficient ways and tools. I have a ReaderObject that gets the basic title, link, description, and a List to hold RSSItem objects that have the instan...
I was in the middle of creating an inport/export system that could encode a costume data structure in an xml tree and then read it back and recreate the object.
I got the xml part to work fine but when I discovered that the xml file was 1.5mb when the original ruby::Marshal file was only 105kb I decided that it would be a good idea to co...
Hi there,
What I want to do is to display an editable xml grid with extjs, update records and submit to the server the updated xml.
Is this posible?
Regards,
Pedro
...
I am accessing a certain web service API which requires XML data in the request. For example, the API might be expecting:
<?xml version="1.0" encoding="utf-8" ?>
<root>
<a>1</a>
<b>2</b>
</root>
What's the easiest way to build that XML request, possibly using jQuery? Is there any standard serializer that I can use to build a ...