xml

OPTIONS request being made for $.ajax

Hello, I have the following code which,currently im running on my local machine.I am making a call to a php script called getxml.php,which should send the contents of an xml file as the response. But,instead of a GET request, in Firebug i see that an OPTIONS request is being made, like OPTIONS getxml.php . I think im not making a cross...

Adobe Air App Starts in Centre

In my application.xml I can set the position of the initial window. However this is set in pixels from the top left corner of the screen. So how would I centre it? ...

H264 frames to xml + images?

So in H264 we have something like this as a time line (supposing we all know what I P B frames are but if we do not look here (Wikipedia)) Here "I" frames are compressed fully, "P" frames inharit from ones they follow, "B" frames can inherit from ones they follow and ones that are after them... So my question is if there is any way (be...

Is there a 4096 character limit for JavaScript XML text nodes?

How is it that I always get only the first 4096 chars of a valid XML text node? (using JavaScript...) is a text node limited? ...

Can XmlJavaTypeAdapter marshal object to another object ?

Can XmlJavaTypeAdapter marshal from ClassA object to ClassB object? So that when : public void createClassB (ClassB b) { } I can pass in ClassA object. Does it possible? ...

Extract Data from XML in Java

Hi, I have this xml data format. I would like to extract the properties name and value from it. I have tried to get node by node but it is troublesome. <?xml version="1.0"> encoding="ASCII"?> <xDiagram> <children iD="1261435145010.0" location="Point(547,184)" size="Dimension(102,140)" shapeType="TestInfoShape" modelEntity...

How to send a xml file over HTTP and HTTPS protocol and get result back

i want to send xml file with userid and pass over HTTPs and then send all other xml file on HTTP using POST method and get the response as a xml file back. in ASP.NET (with vb.net preferred) The url to which i want to send my xml file is:http://www.hostelspoint.com/xml/xml.php exect xml file pettern is: <?xml version="1.0" encoding="U...

Excel: Fetch values from downloaded xml and insert into table?

How do I force Excel to download http://api.eve-central.com/api/evemon, parse it and format the values in a table? I tried importing the XML and it worked, but I don't know what to do from here. Thanks! ...

How to write dot notation in xml file?

I am writing an XML file in C# using XmlWriter. I am able to write Elements using WriteStartElement() method and I can add attributes to this element using WriteAttributeString() method. But if I want to add attribute using dot notation then how to do that? <Element Attribute1="Value"> <Element.Attribute2> //How can i add attr...

Preserving whitespaces and line-breaks in XML Document

I have an xml document like this, <Customer ID = "000A551" Name = "Robert" Salaried = "yes" Area = "VA" /> Please note the how attributes are line-breaked and white-spaced for the editing and reading convenience. When using XDocument or XmlDocument to modify this document whole formatting goes...

XSLT transform with xml name spaces I think i'm missing something

I think I'm missing something when it comes to namespaces and xml, I'm trying to transform xml with an XSLT Input <?xml version="1.0" encoding="utf-8"?> <MySomeObject xmlns:i="http://www.w3.org/2001/XMLSchema-instance"&gt; <_x003C_Name_x003E_k__BackingField>Jon</_x003C_Name_x003E_k__BackingField> <_x003C_Id_x003E_k__BackingField i:...

How to create a dynamic xml which populates an advanced data grid in flex air application

Is it possible to create a dynamic xml file which changes in some fields to populate an advanced data grid? I have to display continents, countries, society and its values but i want to change randomly only the value and not all toegether... The client side application call the database by an asynchronous httpservice. LCDS, Blaze or simi...

VB.NET - Parsing XML

Hi, how can I get a ArrayList or List of key and value of the Name, ID and description from the xml file below? I do not really understand how the handling of elimenter done in VB.NET based on logic in javascript. <?xml version="1.0" encoding="UTF-8" standalone="no"?> <Document> <TrackList> <plist> <array> <dict> <key...

How to represent countries and languages in C#?

I will retrieve this data from an xml to initialize it for thousands of objects. So if MyObject has a Country and Language property, what should they be, and how should they be represented both in code and in xml. I am thinking of using an Enum in code. I am just looking for other people's opinions to find the best way to do this. Is ...

How to set element's id in Python's xml.dom.minidom?

How to? Created a document and an element: import xml.dom.minidom as d a=d.Document() b=a.createElement('test') setIdAttribute doesn't work :( b.setIdAttribute('something') Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.6/xml/dom/minidom.py", line 835, in setIdAttribute self.setI...

trouble with xsl:for-each selection using xsl:variable

Problem: I am having trouble generating an xpath expression that selects a node in a different section of the XML document by position. I am using xsl:variable to create the expression, but when I use a xsl:for-each with the value of the xsl:variable as my select statement I get an error. <xsl:variable name="input_params_query"> <...

Automatically attach XML files to XSD schema in Visual Studio?

I just discovered the beauty of Visual Studio's automatic XSD schema generation.* Is there an easy way to have VS automatically attach files with particular names to existing XSD schema? So if I have myconfig.xml files scattered throughout a project (or several projects) I would want them to always validate against myconfig.xsd, rather...

Rails render XML of a INNER JOIN

I'm using 2 joined models class Product < ActiveRecord::Base has_and_belongs_to_many :providers end class Provider < ActiveRecord::Base has_and_belongs_to_many :products end and my controller looks like this class ProductsController < ApplicationController @products = Product.find( :all, :joins => :providers, ...

Keeping XML files in iPhone apps safe from jailbreak?

As you may know, jailbreaking allows you to access the directories of apps that iPhone developers make. For example, there are many websites that show people with jailbreaks the file path of some of the XML files in fieldrunners app. After changing these you can change nearly anything and make each paid weapon free. I was thinking ab...

Lua vs. XML for data storage

Many of us have been indoctrinated in using XML for storing data. It's benefits and drawbacks are generally known, and I surely don't want to discuss them here. However in the project I'm writing in C++, I'm also using Lua. I've been very surprised how well Lua can be used to store and handle data. Yet, this aspect of Lua is less recogni...