I've just seen a case of the same old familiar story - we are trying to integrate to an external 3rd party web service, but the development has been done using a simulated web service. Of course as soon as we integrate with the actual web service we find that our code makes assumptions about the web service response, and so everything f...
Hey, I'm trying to use VTD-XML to parse XML given to it as a String, but I can't find how to do it. Any help would be appreciated.
http://vtd-xml.sourceforge.net
...
I have a project where a xsd document is loaded, and based on that a editor is created for each element. And then xml that implements that schema is loaded into the editor. This could be a simple textbox for a string, a datepicker for a date or a more complex data like a chapter with associated metadata.
The editor is generic so the edit...
Hi all,
Can anyone help me with this little issue I am having.
The XML
<MPN>
<MTR MSN="AB123456"/>
<MTR MSN="AB654321"/>
<MTR MSN="AB654322"/>
<MTR MSN="AB654323”/>
<MTR MSN="AB654324"/>
<JOB JobId="136">
<JMR MSN="AB123456">
<JRA DateActionRequiredBy="20090701120012" />
</JMR>
...
I have an XSD file which contains the schema for my XML. The XSD file contains an xs:Enumeration definition, which allows me to choose between 5 options as a value for one of the nodes.
Now, we want to be able to generate this data through Excel, so that non-technical people can create it.
When I import this XSD file into Excel, i want...
Hey guys I have a xml file that has a lot of info that I would like it to be in sqlite tables.
I am wondering if there's any tool, app to transform xml to sqlite.
By the way I am on OS X and I need the info for an iPhone app, so I can also take scripts or some source code to make the trasmformation.
Best Regards.
Carlos Vargas
...
Hello Stackers!
My question today deals with checking an XML file for a specific node.
Example:
<vid
flv="videoName"
thumb="thumbnail.jpg"
title="Video Title"
logo="Path to logo here">
</vid>
<vid
flv="videoName"
thumb="thumbnail.jpg"
title="Video Title"
</vid>
The first vid node contains a path to a logo graphic, I then need...
In working through the issues with another question, I've found text files with
embedded Ctrl-S characters (decimal 19) in them. When adding their text to an XML document, an exception is thrown (C#/.NET).
According to this page, as I read it, they are not in the rages for a "Char"
and so are illegal: http://www.w3.org/TR/REC-xml/#ch...
Hi,
I want to create an xml document that has multiple instance of a type, not sure what's the proper way to do this:
<farm>
<horses>
<horse name="jo"></horse>
<horse name="bill"></horse>
</horses>
</farm>
or should I skip the tag and just do this:
<farm>
<horse name="jo"></horse>
<horse name="bill"></horse>
</farm>...
I'm using an oledb data source in an SSIS package to pull a column from a database. The column is XML data type. In SSIS, it is automatically recognized as data type DT_NTEXT. It's going to a script component where I'm trying to load it into a System.Xml.XmlDocument. This is the code that I'm using to get the xml data into a string:
Sys...
consider following example:
<root>
<instruments>
<flute>
<baz>bazik</baz>
</flute>
<guitar>
<deep>
<baz>more bazik</baz>
</deep>
</guitar>
<drum>
<foo>fooled</foo>
</drum>
</instruments>
</root>
I want to select flute and guitar because they both...
If I am dealing with several standard xml formats what would be the best practice way of encapsulating them in C# 3.5? I'd like to end up with something similar to the System.ServiceModel.Syndication namespace.
A class that encapsulates the ADF 1.0 XML standard would be one example. It has the main XML root node, 6 child elements, 4...
I'm looking for a way to convert an XML Schema definition file into an ActiveRecord modeled database. Does anyone know of a tool that happens to do this?
So far the best way I've found is to first load the XSD into an RDBMS like postgres or mysql and then have rails connect to do a rake db:schema:dump. This however, only leaves me wit...
Do educate me about XML, I feel like a total dunce.
I'm supposed to send XML in a POST header and there's a library with method that takes a string contentType and a System.IO.Stream body.
How?
I suppose the first parameter is "text/html; charset=utf-8" which limits the type of stream used.
Bonus question: What's the easiest way of...
I have used the xsd.exe tool to generate a class from a schema, when de-serialising a valid XML document then I get exceptions.
Example xml is here : http://codepaste.net/wq22hy
Class definition is here : http://codepaste.net/bdy598
The problem is at the element, in that the class definition does not seem to handle the recursive nat...
I am attempting to parse a XML file using Javascript and I'm running into issues on IE7.
If I have this code:
function LoadXml()
{
var xmlPath = document.getElementById("hsTreeviewXmlPath").value;
var xmlhttp=false;
/*@cc_on @*/
/*@if (@_jscript_version >= 5)
// JScript gives us Conditional compilation, we can cope...
Hi all:
Currently I have an xml structure in an app. I needed to convert it from one structure to another. I have the xsds for it. The app is in C#. Naturally I thought of using good old coding to convert it, but that sounded like the least efficient idea. Someone recommended me to use XSLT, but I'm not 100% sure how it works.
Doe...
I call an XML document three-layered if its structure is laid out as following: the root element contains some container elements (I'll call them entities), each of them has some simpleType elements inside (I'll call them properties).
Something like that:
<data>
<spaceship>
<number>1024</number>
<name>KTHX</name>
</spaceship>
...
Hi guys,
I'm stuck with something which is probably quite simple to resolve but don't have a clue.
My XML data is as follows :-
<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="GetTicketCategories.xsl"?>
<ArrayOfCategory xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/200...
What is the easiest way to pretty print (a.k.a. formatted) a ord.w3c.dom.Document to stdout?
...