So the application we've got calls the API's of all the major carriers (UPS, FedEx, etc) for tracking data.
We save the most recent version of the XML feed we get from them in a TEXT field in a table in our database.
We really hardly ever (read, never so far) access that data, but have it "just in case."
It adds quite a bit of additio...
We are using JAXB to map Java classes into XML files. Currently we use the Java-to-XSD approach by annotating the Java classes.
This works fine in general but we've hit the following problem now: we want an attribute of one XML element to refer to another XML element by it's name/ID. Imagine some XML describing a conceptual schema, with...
I've tried reading various tutorials online but I can't make any headway on solving this issue which is easy to describe but which I can not conceive of a solution.
Here is some sample XML:
<AAA>
<BBB>
<CCC>1</CCC>
<CCC>2</CCC>
</BBB>
<BBB>
<CCC>3</CCC>
<CCC>4</CCC>
</BBB>
</AAA>
I want...
I want to prepend the following text to the response body of a WCF operation:
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="transform.xslt" type="text/xsl" ?>
Problem is that the Message class uses XML Readers and Writers to specify the contents of the message. Inserting this text as the first line after the tag makes...
Is it possible to set up the firefox rss feed reader to correctly translate XML entities such as ampersand (&) from & amp; ?
...
Hi All,
I have an XML file and I open that in SQL Server using OPENXML and then read the values in the XML file and insert them into the table. Assume that the XML structure is like this "<Student><name>XYZ</name><id>123</id><fathersname>XYS</fathersname><fathersid>3489</fathersid></Student>". Now I need to add this as two different row...
I am looking for a neat/clean way to store a list of strings into a C# settings file. As far as I can work out, you can't store List objects into these settings, so basically it needs to be converted to a string. For example, say I have a list of names:
N*a*m*e*A
Name;B
Complex, Weird, Name
Name"nickname"Person
i.e. I am trying to ...
I've seen some references recently to POX or "plain old XML". Is there a movement to simplify XML use?
Wikipedia says:
People typically use the term [POX] as
a contrast with complicated,
multilayered XML specifications like
those for web services or RDF.
Personally I find some of the usage of XML schemas and DTDs overly com...
Hi friends,
I'm researching at google for hours, but could not find anything :/
how can I create rss.xml for my wordpress blog?
I do not mean feed://www.blabla.com/blog/feed/ ! I need the posts in .xml format. how can I create such .xml for my wordpress posts?
I need
http://www.blabla.com/blog/rssfeed.xml
NOT feed://www.bl...
Hi, I try used custom XML serialization on my own class with IXmlSerializable, and also use xml scheme.
public class Service : System.Web.Services.WebService
{
[XmlSchemaProvider("GetSchemaDocument")]
public class EmployeeDetails3 : IXmlSerializable
{
public int employeeID;
public string firstName;
...
I'm building an xml document from a hash. The xml attributes need to be in order. How can this be accomplished?
hash.to_xml
...
We're looking for a way to parse large amounts of XML files that conform to a rigid schema (specifically this one). All we want to do is create 1-to-1 data mappings between several database tables and the XML file, so we can set up a trigger on the table where our web service software package inserts the file, then automatically parses ...
Hi,
I have a few windwos services. They get xml column from Sql server manipulate and update it.
Service A- Gets XML
Service B- Gets XML
Service A- Updates XML (it will be lost)
Service B- Updates XML
I must lock row and I use next Code:
SqlCommand cmdUpdate = new SqlCommand();
cmdUpdate.CommandText = "select MyXML from M...
It is simple enough to put the outer text of an XML node in a WPF text box. But is there a way to get the text box to format the text as an XML document? Is there a different control that does that?
...
Hello
I have a org.w3c.dom.Node object.
I would like to see if it has any other siblings.
Here's what I have tried:
Node sibling = node.getNextSibling();
if(sibling == null)
return true;
else
return false;
HOWEVER, for some reason (possibly due to identation or line spaces in the source XML) I am not getting the expected re...
I am using the XML::Simple module to parse an XML file. When I run the following script then I do not get data in human readable form and so it is difficult to see the output of the parsed XML file.
Code:
#!usr/bin/perl -w
use XML::Simple;
my $ref = XMLin('SampleXML.xml');
use Data::Dumper;
print Dumper($ref);
...
From Googling around it looks like an old Google bug has come back....
http://groups.google.com/group/Google%5FWebmaster%5FHelp-Tools/browse%5Fthread/thread/4e43c2efecb881cf?pli=1
My sitemap index file and sitemap itself validates here:
http://www.validome.org/google/validate
but Google Webmaster Tools says:
Missing XML tag
This...
I have two XML files that are generated by another application I have no control over. The first is a settings file, and the second is a list of changes that should be applied to the first.
Main settings file:
<?xml version="1.0"?>
<preset>
<var id="9" opt="0" val="6666666"/>
<var id="9" opt="1" val="10000000"/>
<var id="9" opt="...
Is there a new version of XML out?
If so when was it released and what are the new features?
...
I like the way ElementTree parses xml, in particular the Xpath feature. I've an output in xml from an application with nested tags.
I'd like to access this tags by name without specifying the namespace, is it possible?
For example:
root.findall("/molpro/job")
instead of:
root.findall("{http://www.molpro.net/schema/molpro2006}molpro/...