We have a current system that outputs an XML file which is in the following format:
<INVENTORY>
<ITEM>
<SERIALNUMBER>something</SERIALNUMBER>
<LOCATION>something</LOCATION>
<BARCODE>something</BARCODE>
</ITEM>
</INVENTORY>
I need to use this data to load into the standard .NET 2.0 grid. But the grid needs the X...
I'm trying to use the Macromedia XSLTransform class to convert XML returned from Amazon Web Services to HTML. Here's the PHP page that calls the transform:
<?php
require_once('includes/MM_XSLTransform/MM_XSLTransform.class.php');
$restquery = "http://ecs.amazonaws.com/onca/xml?Service=AWSECommerceService&AWSAccessKeyId=[myid]&...
I'll admit I'm new to xslt and I'm going through various tutorials and documentation as I go, but I have a situation that I'm not sure how to look up the answer for.
Basically it is this. I have an xml document that looks like so...
<tag1>
<tag2>
foo
</tag2>
<tag3>
bar
</tag3>
<tag2>
goo
</tag2>
<tag3>
mar
</ta...
Hi I am a beginner programmer tyring to use TXMLparser with Delphi to just read a small xml file so I can understand how they work.
I have the following structure in xml file 'parser.xml' ;
<rule>
<alert>priority 3</alert>
<desc> </desc>
<action>beep</action>
</rule>
And I have the following code in delphi
VAR
Parser : TXml...
I have the following XML that I'm running in SQL Server, and it breaks, why?
declare @xml varchar(max)
declare @hDoc int
set @xml = '<transaction>
<item itemId="1" value="Hello World" />
<item itemId="2" value="Hello &World" />
<item itemId="3" value="Hello <World" />
<item itemId="4" value="Hello >World" />
<item itemId="5" va...
How can I show relations between ToDo-lists? I am using Devtodo.
I will give an example. I have my MIT humor in one XML-file:
<todo version="0.1.19">
<note priority="low" time="1237320287">
see the MIT humor-video
</note>
</todo>
Other file is about Usenet-humor
<todo version="0.1.19">
<note priority=...
I am trying to traverse Docbook section nodes. Their structure are as follows:
<sect1>
<sect2>
<sect3>
<sect4>
<sect5>
</sect5>
</sect4>
</sect3>
</sect2>
</sect1>
So sect1 only have sect2 inside, sect2 will only have sect3 inside, and so on. We can also have multiple sub nod...
I am simply trying to retrieve an attribute from XML into my Perl program. However, I am having problems retrieving attributes.
I am using XML::Simple.
I can recover information fine when XML is like this:
<IdList>
<Id>17175540</Id>
</IdList>
by using this code
$data->{'DocSum'}->{'Id'};
However, when the XML is like this:
<I...
I have to port a smaller windows forms application (product configurator) to an asp.net app which will be used on a large company's website, demand should be moderate because it's for a specialized product line.
I don't have access to a database and using XML is a requirement from their web developers.
There are roughly 30 different p...
When creating a wsdl file in eclipse it sets the name spaces to:
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
Why exactly is it using schemas.xmlsoap.org and not the relevant w3 schemas?
...
I have one element
this one i need to make it as optional.
Is there any other way than making minoccurs = "0"
Thanks in advance,
...
Are there benefits of writing a web service interface whose methods all take and return XML documents, rather than the more usual parameter lists of native types and classes?
We have some existing web services that are designed like this. The XML documents that are passed to their methods are typically large (as in they contain maybe 10...
I have some XML and an XPath query. I'm using Yahoo! widgets, so I'm using XPath 1.0.
Here's the gist of my XML...
<root>
<cat num="SOURCE">
<movie>
<swf>speak.swf</swf>
<width>250</width>
<height>150</height>
<colour>cccccc</colour>
</movie>
<movie>
...
I have an XML file which is in the following format:
<root>
<category>
<doctype>
<name>Doc1</name>
<site>
<name>Site1</name>
<target>iframe</target>
<url>http://www.gmail.com</url>
</site>
</doctype>
<doctype>
<name>Doc2</name>
<site>
<name>Site2</name>
...
Hi,
I am using expat parser to parse an XML file of around 15 GB . The problem is it throws an "Out of Memory" error and the program aborts .
I want to know has any body faced a similar issue with the expat parser or is it a known bug and has been rectified in later versions ?
...
I have something like this
1.mxml
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" creationComplete="init()">
<mx:Script source="_Public.as"/>
</mx:Application>
_public.as
[Bindable]
public var config:XML;
public function init():void
{
var request:URLRequest = new URLRequest("config/config.xml");
try {
loader.l...
At present I am populating a standard .net 2.0 GridView & TreeView control using a physical XML document which uses an XSLT stylesheet. But i need to make the population of the grid more dynamic, while still using the XSLT style sheet
Does anyone know if it is possible to populate a standard .net 2.0 Gridview & TreeView control another ...
I have an object graph that I would like to convert to and from JSON and XML, for the purposes of creating a REST-style API. It strikes me that someone must have done this already, but a quick search using Google and Stack Overflow reveals nothing.
Does anyone know of a suitable (Apache or equivalent license preferred) library to do th...
XmlElement updateRecipient = doc.CreateElement("UpdateRecipient");
XmlElement email = doc.CreateElement("EMAIL");
XmlElement listID = doc.CreateElement("LIST_ID");
XmlElement column = doc.CreateElement("COLUMN");
XmlElement name = doc.CreateElement("NAME");
X...
I need to parse pretty big XML in PHP (like 300 MB). How can i do it most effectively?
In particular, i need to locate the specific tags and extract their content in a flat TXT file, nothing more.
...