I have a set of data in tree structure. Currently I save those data to a binary file. The downside is that the sorting, filtering of these data are exceedingly difficult.Not only that, when the data size is large, it's very slow to read them from hard disk into memory.
So I am thinking about saving these tree like data to XML files. The...
Has anyone tried to use xml typed columns with Entity Framework ?
The entity returns a string.
Will the next version of Entity Framework support XElement types when the table column is of type XML.
Regards.
...
I would like to take the contents of an XML tag and have it displayed flipped both horizontally (mirror image) and vertically (as a column) when viewed through a stylesheet. Is this possible without using random third party libraries?
<mytag>Random Data</mytag>
...
I have at least 100 xml files each about 300 MB with email messages basically in the format listed below.
Now my question is, how do I get this data into say SQL Sever database so that I can perform query on this data. My queries would be along the lines of: Has a certain person sent an email to another certain person on a given period...
I have a bunch of XML data that I'd like use as a data source for some web-based reports. I'm using Reporting Services right now, but I don't really like their report designer very much. I'd like to customize things a little more and be able to generate graphs and charts and make them semi-interactive (allow for sorting, tool-tips, etc...
Hi there,
I'm doing a project at the moment which involves using bulk insert to fill an sql table with weather data.
BULK INSERT TableWeather
FROM 'C:\Program Files\EasyWeather\EasyWeather.dat' WITH (FIELDTERMINATOR = ',')
This seems to work fine but I need to do this every fifteen minutes and also actually...
I am studying computer science and we have to do a programming project which must be strongly related to XML and using XSD and XSLT or XQuery/XPath at least. Because I like C# I'd like to do it in this language, but I could use another if anyone has another idea.
My Idea is now to code some kind of appointment book. I imagine that all a...
I'm currently working on a small web application using Visual Studio 2008 Express. I'm attempting to retrieve an XML document from a server using a client library and then save the document into a database column (using Linq). The database column has the data type specified as xml. Unfortunately, I've been unsuccessful during my first fe...
What is the best way (or even the various ways) to pretty print xml in python?
...
Hi,
I found a few tools on the web which generate XML Schema for a given XML data instance. Something like - link text
I'm also thinking of developing one, but I'm kind of confused with the evaluation of the generated schema.
How can the schema generated be evaluated i.e. the schema generated confirms to the given data? Is there any ...
How do I convert the xml in an XDocument to a MemoryStream?
...
I've dealt with a few XML APIs in Java, but I don't have a good understanding of all the frameworks available in Java for dealing with XML for whatever purpose (e.g. JAXB, JAXP, Xerces, StAX, Castor, etc.). Can anyone highlight the most popular Java XML APIs and give a quick description of what they're intended to be used for? I'd also...
What's the easiest way to convert XML from UTF16 to a UTF8 encoded file?
...
Hello everyone,
I want to do XML validation to validate whether an input XML file conforming to a schema file (.xsd). My question is when do we need to specify the target namespace parameter and what is the function of the target namespace parameter?
I got this question from the following MSDN pages,
http://msdn.microsoft.com/en-us/li...
This is my XML file:
<?xml version="1.0" standalone="no" ?>
<!-- This file represents The Details of the user and the responces: -->
<Survey>
<Clientdetails>
<ClientName xmlns="yash" />
<ClientCompanyName xmlns="lnt" />
<ClientTelNo. xmlns="546" />
<ClientMobileNo xmlns="56" />
<ClientEMail xmlns="56" />
<...
I have an xml file with a specified schema location such as this.
xsi:schemaLocation="someurl ..\localSchemaPath.xsd"
I want to validate in C#. Visual Studio, when I open the file, validates it against the schema and lists errors perfectly. Somehow, tough, I can't seem to validate it automatically in C# without specifying the schem...
What is the most efficient way to solve this problem:
I've traversed a XML file and created the following set of linked (String) lists:
a > b > c
a > b > d
a > f > [i]
and now I'm trying to rebuild the XML into its original structure:
<a>
<b>
<c/><d/>
</b>
<f>i</f>
</a>
Any help would really be appreciated!
...
I need to add some tags to an existing XML schema and write it to file.
However, I need to add tags to every of the existing schema. What is the best way to accomplish it in C#?
Thanks!
I have the following code that parses the schema:
/// <summary>
/// Iterates over all elements in a XmlSchema and prints them out
...
I have some PLSQL code that calls a remote procedure in order to send an XMLType. What it does, though, is to devide the XMLType into multiple varchar2(4000) parameters, which the procedure accepts. The remote procedure is called via a DBLink.
Why does the XMLType have to be split? Is this restriction applicable to recent database versi...
I have a class with two properties for max and min values. It looks like this (ish):
public class Configuration
{
public int Max { get; set; }
public int Min { get; set; }
}
When I serialize this I get something like:
<Configuration>
<Max>10</Max>
<Min>0</Min>
</Configuration>
However, I need an extra element like this:
<C...