0
votes
0answers
9 views
xml display in asp.net page
I have created xml with XElement, but when I display this on an aspx page the format is not what I would like which is:
c# code:
var persons = new[] {
new Person {
Name = "Patrick ...
0
votes
1answer
31 views
Downloading xml file from a url using c#
I would like to download the document on this ("http://www.ploscompbiol.org/article/info%3Adoi%2F10.1371%2Fjournal.pcbi.1002244") page as an xml file. I have tried webclient.downloadfile() but i got ...
0
votes
0answers
5 views
SEC EDGAR xml's return 404 not found
I am pretty stumped on this one..I have a program that parses xml files that are made available through the SEC's EDGAR database using XmlDocument.Load()
ex: ...
-1
votes
1answer
38 views
How the XmlReader works in C#
I'm trying to read some Xml from a string I made, but really any Xml file would be ok.
I just want to browse the Xml nodes like it's a multidimensional matrix and eventually put them in a DataTable ...
0
votes
0answers
29 views
pass dropdownlist value to submit button
I am currently working with MVC4 and Mysql database. I have Model called MessageExchangeModel and MY controller called FirstController and My action are DisplayUsersDetails. I am currently using ...
1
vote
1answer
13 views
Choose XML transaction based off descendants with LINQ
I want to get a list of transactions based of a descendant. But I am having trouble getting the linq syntax correct.
My data looks like this:
<Data>
<MyTransactionXML>
...
1
vote
1answer
19 views
SqlBulkCopy XML with a GUID foreign key
I am tryin to insert data using XML files and SqlBulkCopy. The destination table is a time series table set up as below
create table TimeSeries (
Id uniqueidentifier constraint ...
-7
votes
0answers
32 views
backup data cd run on browser without any server side programming [closed]
i need a logic and solution as well, let explain me my problem,
i have to work on project in which i have to store html files in CD and provide a interface to user from where he can search particular ...
0
votes
4answers
55 views
C# XML get nodes based on attribute
I have the following xml:
<root ...>
<Tables>
<Table content="..">
</Table>
<Table content="interesting">
<Item ...></Item>
...
1
vote
2answers
27 views
C# XElement.Load method not detected?
I'm trying to read a simple XML document into memory using Linq.
But when I try to use the XElement.Load method, Visual Studio doesn't seem to recognize it at all.
I've imported the System.Linq ...
0
votes
1answer
30 views
C# XML 'colon' in root name possible?
I'm creating a simple XMl file, and the root name must be 'site:Root', so I do the following:
private XmlDocument CreateXMLDocument()
{
XmlDocument xmlDoc = new XmlDocument();
...
-4
votes
2answers
49 views
How to parse this XML code in C#?
Though I have been able to find many examples on parsing but I haven't been able to achieve the results which I intend to. I want to parse this XML code in C# for retrieving the last part of the XML ...
0
votes
1answer
17 views
Build a Custom Serialization as String in System.Xml.Serialization
Hi guys I have 2 classes like this:
[XmlRoot("Config")]
public class ConfigClass
{
[XmlElement("Configuration1")]
public string Config1 { get; set; }
[XmlArray("Infos")]
...
1
vote
1answer
15 views
xml deserialization - I am getting 0 item with some node that has attribute
I have an stripped down XML sample here
<?xml version="1.0" encoding="utf-8"?>
<node1>
<items>
<item>
<displayname>planet_one</displayname>
...
0
votes
1answer
20 views
Save XDocument with UNIX line endings
I have a code section looking like this:
XDocument xml = new XDocument(
new XElement("test1",
new XElement("test2", "abc")
)
);
I now want to save the xml document using the Save ...