xml

DockLayoutPanel not fullscreen with GWT uiBinder

I want to display a fixed-size GUI (say, 700 x 400 pixels) at the top left of a browser window arbitrarily sized by the user. Within my 700x400, I want to lay out components via DockLayout. If possible, I'd like to do this purely declaratively, i.e. without code, using UIBinder XML. The docs and examples aren't enough for me to figure t...

How would I parse the XML file in R and carry out basic Statistics Analysis on the data.

Hi, I am trying to parse the XML file in R, so that I can analysis the data. I am trying to get the mean and standard deviation of the price. Also I would like to be able to get the rate of change in the time of the share price changing. I have tried entering the data by hand but am having problems with the date structure ( I have tried ...

Parsing XML data with Cocoa

I'm working on an iTunes menu bar controller and I want to get the names of all the songs in the user's library. I have found that there is an xml file called iTunes Library.xml. It holds all the data for iTunes (name, artist, album .ect) I want to be able to access that data to use in my controller. I really have never used xml for an...

Is this a bug in a xml parser?

Hi, I wonder if there is bug in a xml parser because of the following problem. I use a XMLRPC package which uses an xml parser. I debugged the package. I can see this. The server returns an xml which something like this: <value><string>line1\nline2\nline3\n</string></value> \n represesnts literal new line character (10,13 or 10). T...

Reading/Writing intermediate values from/to disk

Hi, I am currently working on this application(C#,WPF,LINQ2XML,.NET 4.0) that displays details for 'Animals'. An example of this would be the application displaying the types of Animals such as 'Birds','Mammals','Reptiles'. For each type of Animal, I will have sub-entries such as for 'Birds' I will have sub-entries like 'Sparrow','Hawk'...

Creating multiple XML files from one vanilla XSLT

I have several different XSLT files that all work on the same original XML file to produce four different XML file outputs. Is it possible to make all these XSLT files into one using vanilla XSLT (that is, not using XALAN or anything that's XSLT-parser specific)? All help is appreciated and thanks in advance! ...

xstream flatten an object

Hello, I am trying to flatten the xml output of xstream using a converter/marshaling with no luck. For example, public class A{ public B b; public int F; public String G; } public class B{ public String C; public String D; public int E; } is output as <A> <B> <C></C> <D></D> <E></E> </B> ...

How to get all the info in XML into dictionary with Python

Let's say I have an XML file as follows. <A> <B> <C>"blah"</C> <C>"blah"</C> </B> <B> <C>"blah"</C> <C>"blah"</C> </B> </A> I need to read this file into a dictionary something like this. dict["A.B1.C1"] = "blah" dict["A.B1.C2"] = "blah" dict["A.B2.C1"] = "blah" dict["A.B2.C2"] = "blah" But the format of the dict doesn...

How to cause datagridview to update automatically upon changes to XML File?

Working on a password manager application and I've gotten it to the point where it will accept user data from a second form, write to an XML file, then on the first form parse through the xml data and populate a datagridview with all the user supplied account information. Working great so far, but I'd like to code in some functionality t...

Optimizing queries for a database using SQL/XML. Suggested resources?

This question is theoretical as well as practical. Any results indicating useful resources on optimizing queries will be appreciated. There is a large SQL database which stores a large amount of data stored in SQLXML fields. Querying the XML directly is not fast enough. I have looked at some MSDN articles on optimizing SQLXML (i.e....

Why does the browser go crazy when I write things like <div/>?

I mean, aren't <div/> and <div></div> supposed to be exactly the same thing? By browser I mean the latest Firefox and Internet Explorer. And by go crazy I mean ignore styles of tags that contain the <div/>. ...

execute sql which is placed in an xml file using Java code

how to execute sql which is placed in an xml file using Java code? ...

fetch details from xml tag

Hi Given the following XML file: <FlightHistoryGetRecordsResponse> − <FlightHistory DepartureAirportTimeZoneOffset="2" ArrivalAirportTimeZoneOffset="1" ActualAirTime="101" ActualAircraftType="319" ActualBlockTime="124" ActualGateArrivalDate="2010-07-10T11:58:00.000" ActualGateDepartur...

Is it possible to deserialize to the current class? [C#]

I have a settings class that I want to be able to serialize and deserialize to save and load settings to a file. With hindsight, I'd have designed my whole app to create an instance of settings when needed. As it is, my settings are persistent (mimicking the default application settings behaviour). Given my current architecture, I can d...

How can i create such a xml hieararcy ?

I want to create dynamic XML hieararchy but still couldn't be successful about it.I tried LinqToXml classes and XML classes but still i couldn't. I want to create such a hierarchy in a loop dynamically. Create root node <Root></Root> Then add child for it. <Root> <Biggest></Biggest> </Root> Then add child for last added node <Ro...

Map multiple xml feeds to one object

Using C# I want to be able to map a number of xml feeds to one custom object. Each xml feed has the same kind of data but has its own naming convention. Ideally i would like to store for each xml feed its own mapping and apply that automatically when copying the xml data to my object. I would like to do this as the system may grow to h...

How to get raw markup for an org.w3c.Node

Possible Duplicate: How to I output org.w3c.dom.Element to string format in java? I have an xml snippet, like <div> <span> <a href="http://someUrl.com"&gt;Cool site, bro!</a> </span> </div> And an org.w3c.dom.Node, corresponding to my div element. How do I get a Node's String r...

CSS layout messed up in firefox but not IE or Opera?!

Hi, For some reason Firefox is messing up the following websites layout, it works fine in IE and Opera though... http://87.194.141.33/bivakas/shop I have tried using firebug to find missing divs or anything like that but sadly without success. If anyone would be willing to take a couple minutes to have a look at why this may be happen...

Magento - Help Specifying the Page Layout

Here’s what’s going on: I have a page content for a module rendering in my 3 column layout (which I believe is the default) and I want it to render in 1 column, but I don’t know how. The longer version: I’m using Unirgy’s Dropship Microsite and I’m trying to get the vendor landing page to render in the 1 column layout. My layout xml f...

LinqToXml OR Xml ?

Hello everybody I am trying to processing on xml and i am so tired to work with Xml namespace classes. I found it really hard. So i am trying to do same things with LinqtoXml classes and i see that many things possible with LinqtoXml instead of Xml classes. So i really get confused which i have to use. When and why do u prefer Xml ...