xml

Using JSON, WCF et al. with Google geocoding - is it really necessary?

I have a requirement to geocode data using Google's geocoding service. Google's geocoding services aren't as friendly to consumption via .NET as, say Bing's (no surprise there) so while I could go all out with ContractDataSerializers, WCF, JSON and a whole other pile of acronyms is there anything wrong with something like the below if a...

Stored Procedure doesn't like utf-16

All, I have a stored procedure on SQL Server 2005 that accepts an XML argument. When I execute: exec PutResultsOnDb '<?xml version="1.0" encoding="utf-16"?><loads of Xml data>' I get the error: XML parsing: line 1, character 39, unable to switch the encoding However when I do exec PutResultsOnDb '<?xml version="1.0" encoding="utf...

How to send ALL XML messages that were sent when the database was down TO PeopleSoft after database picks up?

Hello, I am working on a project using MULE ESB. The present scenario in the application I am working is From the first application we are able to send xml msgs to peoplesoft (its acting as the second application) directly but it is not guaranteeing that all the messages will be received at the peoplesoft end. so we decided using MUL...

Create XML Data on iOS for Web Service Request

On the desktop I prepare the web service request payload in an NSXMLDocument. On iOS there is no NSXMLDocument. What approaches have folks used to include XML in the payload of a web service request on iOS? ...

problem while writing data into xml, when event occured

Hello, I'm trying to write a little software for logging data, if any type of file created in directory A. I use FileSystemWatcher class to get information about file creation in folder A. There are many subfolder in folder A. And many users can create file in this directory in one time. I use XML data to save log data. XmlTextReade...

xml- data protecting from viewers?

Hi, i was wondering what options, or how can i protect my data (which is xml) from people that try to view the files.. ...

C# Xml Parsing from StringBuilder

I have a StringBuilder with the contents of an XML file. Inside the XML file is a root tag called <root> and contains multiple <node> tags. I'd like to parse through the XML to read values of tags within in s, but not sure how to do it. Will I have to use some C# XML data type for this? Thanks in advance ...

Android View Design Issues

I've been playing about with the layout of a view with Android (lets say within the MainActivity) and I'm looking to create this sort of layout using 3 ImageView's (where each block represents an image): This is rather easy to pull of using LinearLayout's but only if you specify the exact size and position of each ImageView. This then...

How to abbreviate a TextView?

I have a TextView that is a single line. How can I add ellipses (...) if the text is too long? ...

Problem setting TextView color

Here is my color XML <resources> <drawable name="red">#7f00</drawable> <drawable name="blue">#770000ff</drawable> <drawable name="green">#7700ff00</drawable> <drawable name="yellow">#77ffff00</drawable> <drawable name="screen_background_black">#ff000000</drawable> <drawable name="translucent_background">#e000000...

Where do i go to modify the 500 error page for Magento?

I am making a site live for a client and i want to debadge all instances of Magento on the front end, but I can seem to find where modify the 500 error template. ...

Special Character problem in xml object

Hi, Actually I am just a starter of XML. In one of my task, I am doing the following: var req = new XMLHttpRequest(); req.open('GET', 'http://www.mohin.com/test.xml', false); req.send(); var xmlObj = req.responseXML; Now, I am getting the XML as: <?xml version="1.0" encoding="utf-8"?> <Items status="as"> <Song title="Helios (...

Linq to XML to Object

I have an XML in this format which is mapped to corresponding Objects in VB.NET. <Control Name="LoginPage" LabelAlignment="Right" FieldAlignment="Left" DisplayPoweredByLogo="False"> <Fields> <FieldGroup Name="Admin" Visible="True" LayoutPosition="Left"> <AdminID Visible="False" Required="False" EnableChange="False" Max...

Can't get widgets from main.xml referenced in the Java program

Hi, Made a very basic xml file to try and access a simple button widget. The main.xml file is: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" android:bac...

jquery xml based template engine

Judging from the lack of info around, I'm guessing the following question maybe a little "off piste" as they say.. I am trying to find an XML based javascript (pref. JQuery based) templating engine.. A little like say how Ext.JS (Sencha) do things, or SPRY datasets. Something lite.. Obviously there are lots of JSON based ones, and f...

Flash projector fails to load local XML on XP

A very simple case: There's a Flash EXE projector There's a XML file in the folder relative to the projector, data/menu.xml Application is launched on a Windows XP box On one of the XP machines XML fails to load over some awkward reason. In most environments it works fine. The same app runs well on all Macs tested. Any ideas? ...

Parse very large xml files with PHP

Hey guys, I'm working on a PHP project, and I need to parse large XML file (>240MB) from URL I used xmlReader it works in localhost but not working on shared hosting (BlueHost) it shows 404 error! http://webmashing.com/meilleures-des/cronjob?type=sejours Is this action need a dedicated server? if yes please give me suggestion. by the ...

how to fetch XML code in simple array format in objective c?

Hello, I am just a beginner in i-phone development and right now i am developing one facebook application. thing is that i need to fetch data from webservice where data is in such format : HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Body> <abc1>string</abc...

Gedit xml snippets problem.

Hello guys, I am trying to add some good php snippets for all the functions available on the online reference and I just finished writing a script to automate that task ( and it's still loading and making me the xml files for snippets ) but there is a problem with the generated snippets xml files that I can't figure out. Whenever I add o...

Showing XML in HTML, works only in ie6

This code works only in IE6 why it is? and how else i can display my xml in html (without css)? <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> <xml id="xmlcatalog" src="catalog.xml"> </xml> <table datasrc = "#xmlcatalog" width="100%"> <thead> <th>Im...