xml

Parsing, Handling and Using very large XML files

Hello, I'd like to create a program that generates content from very large XML files, upwards of 500mb in size. I'll need to get data from the files at various times, but the user is willing to wait for a bit, and it's all done on the local machine. I was womdering if anyone had any advice regarding: Implementation languages Whether x...

java - reading xml file from jar

I am trying to read the an xml configuration from a jar file deployed to dm-server here is the code Reader fileReader = null; try { fileReader = new FileReader("test.xml"); } catch (FileNotFoundException fnfex) { fnfex.printStackTrace(); } catch (IOException ioex) { ioex.printStackTrace(); } i was able to read it if i just write a...

PHP Reads XML Posted to my PHP Page

Hi All, I have a PHP page that needs to read XML posted to this page. The post will be done by content-type: application/xml(not application/x-www-form-urlencoded). For example, my page is called test.php, another server will post the XML to this page (test.php). My question is how can I create a code to this test.php page to read the...

converting uneven hierarchical list to a data frame

I don't think this has been asked yet, but is there a way to combine information of a list with multiple levels and uneven structure into a data frame of "long" format? Specifically: library(XML) library(plyr) xml.inning <- "http://gd2.mlb.com/components/game/mlb/year_2009/month_05/day_02/gid_2009_05_02_chamlb_texmlb_1/inning/inning_5....

Using Dashcode to query and XML file

Im trying to create a 'tree' using and xml source with dashcode for a webapp. My record set (as an example) is similar to a Used Car Lot: *where I have 100 cars *I have multiple of the same kinds of cars, but still varying makes and models What I'd like to do is have a stacklayout/dataArrays with a a table handle something like *Ford...

Xml Schemas and Date Times

I'm beginning a new project which involves heavy xml and schema use accross multiple platforms (windows, windows mobile, Iphone, Ipad, and more which are yet to be discovered!). This xml platform has to be able to exchange date times from all over the world as our product is currently being implemented in Australia as well as in Canada ...

Parsing big XML files using SAX parser (skip some lines/tags)

I am currently developing an app that retrieves some data from the internet . For this purpose i use SAX ,i used it before for parsing simple xml files like google weather api .However the websites that i am interested in take parsing to the next level ,the page is huge and looks messy. I only need to retrieve some specific lines ,the re...

updating node value in xml using php

hello every one ! this is my xml file. i want to update it. what is esiest way to update this xml file . any node value like videos file in movie tag ,title in title tag etc. <?xml version="1.0"?> <gallerylist> <record> <movie>videos/Avatar_HD.flv</movie> <title>Title:</title> <desc>Description</desc> <preview>videos/p...

SSRS 2005 - XML webservice dataset - parameters not getting passed to webservice

Hello All, I have an SSRS 2005 report which I'd like to use a webservice to retrieve some data. This webservice will take in several parameters. As a test I set up a very simple demo webservice project on my local environment: [WebService(Namespace = "http://tempuri.org/")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]...

[C#] How to Validate XML Against Schema (XSD)? Something is wrong.

Hello, I do not know enough about the XML namespace to see my error. Do you? public static bool ValidateXml(string xml, string xsd) { try { // build XSD schema StringReader _XsdStream; _XsdStream = new StringReader(xsd); XmlSchema _XmlSchema; _XmlSchem...

How to detect content of XML nodes with same name during XSL "apply-template"

It's been a while since I've done any XSL, so forgive me if this is a little confusing. I have an XML file, which I need to transform with XSL. It all works well until I try and detect "category", because there are multiple "category" nodes for each item. Part of XML file: <ROOT> <blog day="20" id="4" live="201007200947" month="7" mo...

simpleXML and the same child

I have a dummy xml like this: <SOA> <cities> <area>Area1</area> <period>period1</period> <center>center1</center> </cities> <cities> <area>Area1</area> <period>period1</period> <center>center2</center> </cities> <cities> <area>Area2</area> <period>period1</period> <center>center3</center> </cities> </...

Finding checkbox value, writing to XML result

Hi, I'm creating a weekly HTML email writing template (hence the weird file name) and I'm using ASP and XML as the backend. The XML is prefect but the ASP isn't.. What I'm going for here is to create an XMl node that has a value of notchecked and checked depending on if the checkbox on the form is checked or not. I've tried using If ...

XML to Java Object

Possible Duplicate: Java converting XML to Java objects Hi, Can someone please suggest the best and different ways of converting a XML file to an Java object? Thanks & Regards, Ravi. ...

updatin xml in php

hi every one i have an xml file and want to update my code is following <gallerylist> <record> <movie>videos/15Avatar_HD.flv</movie> <title>Avatar1</title> <desc>It plays any kind of video file that Flash Player supports</desc> <preview>videos/previews/6avatar.jpg</preview> <imgplaylist>videos/imgplaylist/14p1.jpg<...

Embed podcast feed in wordpress

I have a page in wordpress where I want to embed a player of some sorts that can take the first 3-5 items from a podcast xml feed and embed them in a player with a playlist. Preferable if the title and description can be shown as well. There is most likely plugins or scripts that does this but I just can't seem to find any. A hint for s...

C++ Reads/Writes XML without CLR

I know this is a very stupid question and I'm very new to C++. I'm developing Starcraft AI, it is DLL file. I'm trying to use XML to gather some data to the bot, however whenever I build the DLL with /clr option. The bot doesn't load properly. So, my question is what is CLR and is there a way to read/write XML without using /clr build ...

C++ Reads/Writes XML without CLR

I know this is a very stupid question and I'm very new to C++. I'm developing Starcraft AI, it is DLL file. I'm trying to use XML to gather some data to the bot, however whenever I build the DLL with /clr option. The bot doesn't load properly. So, my question is what is CLR and is there a way to read/write XML without using /clr build ...

Using jQuery to get data from XMl

<?xml version="1.0" encoding="UTF-8" ?> <iMon_Reporting version="1.0"> <DATA>active server pages</DATA> <DATA>asp.net</DATA> <DATA>asp.net applications</DATA> <DATA>health service</DATA> <DATA>health service management groups</DATA> <DATA>logicaldisk</DATA> <DATA>memory</DATA> <DATA>network in...

Why does an element appear twice after transformation?

I'm working with Perl and XSL. I try to change value of <Interval> to some number in an XML file. My XML looks like this: <?xml version="1.0"?> <Config> <Enabled>false</Enabled> <Interval>5</Interval> </Config> My XSL looks like this: <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w...