¡@

Home 

c# Programming Glossary: xml

Looking for C# HTML parser [duplicate]

http://stackoverflow.com/questions/100358/looking-for-c-sharp-html-parser

an html file with more html specific features than generic xml parsing libraries. c# .net html parsing html content extraction..

Create Excel (.XLS and .XLSX) file from C# [closed]

http://stackoverflow.com/questions/151005/create-excel-xls-and-xlsx-file-from-c-sharp

can achieve with CSV files. I will look more into the 2003 xml format but that also puts a Excel 2003 requirement on the file...

XDocument or XMLDocument

http://stackoverflow.com/questions/1542073/xdocument-or-xmldocument

you please tell me why you would use one over another c# xml xmldocument xdocument share improve this question If you're.. please tell me why you would use one over another c# xml xmldocument xdocument share improve this question If you're using..

What 'additional configuration' is necessary to reference a .NET 2.0 mixed mode assembly in a .NET 4.0 project?

http://stackoverflow.com/questions/2455654/what-additional-configuration-is-necessary-to-reference-a-net-2-0-mixed-mode

you need to modify your App.Config file to include xml version 1.0 configuration startup useLegacyV2RuntimeActivationPolicy..

Why XML-Serializable class need a parameterless constructor

http://stackoverflow.com/questions/267724/why-xml-serializable-class-need-a-parameterless-constructor

there be a parameterless constructor in order to allow xml serialization to succeed EDIT thanks for cfeduke's answer. The.. constructor can be private or internal. c# .net xml serialization share improve this question During an object's..

Proper way to implement IXmlSerializable?

http://stackoverflow.com/questions/279534/proper-way-to-implement-ixmlserializable

Stop 8589246976854775808 MyCalendar c# xml xml serialization share improve this question Yes GetSchema.. Stop 8589246976854775808 MyCalendar c# xml xml serialization share improve this question Yes GetSchema should..

How to apply an XSLT Stylesheet in C#

http://stackoverflow.com/questions/34093/how-to-apply-an-xslt-stylesheet-in-c-sharp

XML Document using C# and write the output to a File. c# xml xslt share improve this question I found a possible answer..

How to Deserialize XML document

http://stackoverflow.com/questions/364253/how-to-deserialize-xml-document

XML document How do I Deserialize this XML document xml version 1.0 encoding utf 8 Cars Car StockNumber 1020 StockNumber.. ~ App_Data cars.xml XmlSerializer serializer new XmlSerializer typeof Cars StreamReader.. return cars that don't seem to work c# asp.net xml serialization xml deserialization share improve this question..

Best practice to save application settings in a Windows Forms Application

http://stackoverflow.com/questions/453161/best-practice-to-save-application-settings-in-a-windows-forms-application

on this subject but it is still not clear to me. c# xml winforms configuration files application settings share improve..

How do I get the path of the assembly the code is in?

http://stackoverflow.com/questions/52797/how-do-i-get-the-path-of-the-assembly-the-code-is-in

the code. Basically my unit test needs to read some xml test files which are located relative to the dll. I want the..

How does one parse XML files? [closed]

http://stackoverflow.com/questions/55828/how-does-one-parse-xml-files

a simpler method of parsing XML files in C# If so what c# xml share improve this question I'd use LINQ to XML if you're..

LINQ to read XML

http://stackoverflow.com/questions/670563/linq-to-read-xml

I got this code XDocument xdoc XDocument.Load data.xml var lv1s from lv1 in xdoc.Descendants level1 select lv1.Attribute.. result.AppendLine lv1 var lv2s from lv2 in xdoc... c# xml linq linq to xml share improve this question Try this. Load.. lv1 var lv2s from lv2 in xdoc... c# xml linq linq to xml share improve this question Try this. Load xml XDocument..

XDocument or XMLDocument

http://stackoverflow.com/questions/1542073/xdocument-or-xmldocument

or XMLDocument I am now learning XMLDocument but I've just ran into.. or XMLDocument I am now learning XMLDocument but I've just ran into XDocument and when I try to search.. I would thoroughly recommend using XDocument aka LINQ to XML. It's much simpler to create documents and process them. For..

Which .NET Dependency Injection frameworks are worth looking into? [closed]

http://stackoverflow.com/questions/21288/which-net-dependency-injection-frameworks-are-worth-looking-into

a lot but the real pain in the beehiind was all that pesky XML config you had to write They're pretty much all moving this.. the option but some people love putting all the config in XML personally I can't bare it so I have stuck to StructureMap now...

Reading/writing an INI file

http://stackoverflow.com/questions/217902/reading-writing-an-ini-file

The creators of the .NET framework want you to use XML based config files rather than ini files. So no there is no..

How to apply an XSLT Stylesheet in C#

http://stackoverflow.com/questions/34093/how-to-apply-an-xslt-stylesheet-in-c-sharp

Stylesheet in C# I want to apply an XSLT Stylesheet to an XML Document using C# and write the output to a File. c# xml xslt..

How to Deserialize XML document

http://stackoverflow.com/questions/364253/how-to-deserialize-xml-document

to Deserialize XML document How do I Deserialize this XML document xml version.. to Deserialize XML document How do I Deserialize this XML document xml version 1.0 encoding utf 8 Cars Car StockNumber..

Best practice to save application settings in a Windows Forms Application

http://stackoverflow.com/questions/453161/best-practice-to-save-application-settings-in-a-windows-forms-application

file appname.exe.config Registry Custom XML file I read that the .NET configuration file is not foreseen.. it as possible. Does this mean that I should use a custom XML file to save configuration settings If so I would like to see..

How does one parse XML files? [closed]

http://stackoverflow.com/questions/55828/how-does-one-parse-xml-files

does one parse XML files closed The default methods for dealing with XML in C#.. XML files closed The default methods for dealing with XML in C# seem incredibly crude to me leading me to suspect that.. in my searches. Is there a simpler method of parsing XML files in C# If so what c# xml share improve this question..

C# DLL config file

http://stackoverflow.com/questions/594298/c-sharp-dll-config-file

assembly but for which you want to make use of .NET's XML schema config section and config element mechanisms etc. This..

LINQ to read XML

http://stackoverflow.com/questions/670563/linq-to-read-xml

to read XML I got this XML file root level1 name A level2 name A1 level2.. to read XML I got this XML file root level1 name A level2 name A1 level2 name A2 level1..

Using C# regular expressions to remove HTML tags [duplicate]

http://stackoverflow.com/questions/787932/using-c-sharp-regular-expressions-to-remove-html-tags

before you should not use regular expressions to process XML or HTML documents. They do not perform very well with HTML and.. documents. They do not perform very well with HTML and XML documents because there is no way to express nested structures..

Create Generic method constraining T to an Enum

http://stackoverflow.com/questions/79126/create-generic-method-constraining-t-to-an-enum

to maintain case insensitivity I am usng this when parsing XML public static class EnumUtils public static T ParseEnum T string..

How to use HTML Agility pack

http://stackoverflow.com/questions/846994/how-to-use-html-agility-pack

xmlString to load from a string was htmlDoc.LoadXML xmlString ParseErrors is an ArrayList containing any errors.. HtmlNode are the classes you'll use most. Similar to an XML parser it provides the selectSingleNode and selectNodes methods.. boolean properties. These control how the Load and LoadXML methods will process your HTML XHTML. There is also a compiled..

Generating an Xml Serialization assembly as part of my build

http://stackoverflow.com/questions/134224/generating-an-xml-serialization-assembly-as-part-of-my-build

an Xml Serialization assembly as part of my build This code produces.. but ultimately runs without issue void ReadXml XmlSerializer serializer new XmlSerializer typeof MyClass ..... but ultimately runs without issue void ReadXml XmlSerializer serializer new XmlSerializer typeof MyClass ... Here..

XML Serialization and Inherited Types

http://stackoverflow.com/questions/20084/xml-serialization-and-inherited-types

and I now understand why it's not working.. In that the XmlSerializer is in fact doing some clever reflection in order to.. I should also add is that I DO NOT want to go down the XmlInclude route.. There is simply too much coupling with it and.. here . So summarise Goals I didn't want to go down the XmlInclude route due to the maintenence headache. Once a solution..

How to deal with XML in C#

http://stackoverflow.com/questions/220867/how-to-deal-with-xml-in-c-sharp

means of reading and writing in C# 2.0 is done through the XmlDocument class. You can load most of your settings directly into.. You can load most of your settings directly into the XmlDocument through the XmlReader it accepts. Loading XML Directly.. of your settings directly into the XmlDocument through the XmlReader it accepts. Loading XML Directly XmlDocument document..

Use Linq to Xml with Xml namespaces

http://stackoverflow.com/questions/2340411/use-linq-to-xml-with-xml-namespaces

Linq to Xml with Xml namespaces I have this code string theXml @ Response.. Linq to Xml with Xml namespaces I have this code string theXml @ Response xmlns.. to Xml with Xml namespaces I have this code string theXml @ Response xmlns http myvalue.com Result xmlns a http schemas.datacontract.org..

Reading Xml with XmlReader in C#

http://stackoverflow.com/questions/2441673/reading-xml-with-xmlreader-in-c-sharp

Xml with XmlReader in C# I'm trying to read the following Xml document.. Xml with XmlReader in C# I'm trying to read the following Xml document as.. Xml with XmlReader in C# I'm trying to read the following Xml document as fast as I can and let additional classes manage..

Why XML-Serializable class need a parameterless constructor

http://stackoverflow.com/questions/267724/why-xml-serializable-class-need-a-parameterless-constructor

need a parameterless constructor I'm writing code to do Xml serialization. With below function. public static string SerializeToXml.. With below function. public static string SerializeToXml object obj XmlSerializer serializer new XmlSerializer obj.GetType.. function. public static string SerializeToXml object obj XmlSerializer serializer new XmlSerializer obj.GetType using StringWriter..

Generate C# class from XML

http://stackoverflow.com/questions/4203540/generate-c-sharp-class-from-xml

Yes by using xsd.exe D temp xsd test.xml Microsoft R Xml Schemas DataTypes support utility Microsoft R .NET Framework.. 'D temp test.xsd'. D temp xsd test.xsd classes Microsoft R Xml Schemas DataTypes support utility Microsoft R .NET Framework..

What is Linq and what does it do? [closed]

http://stackoverflow.com/questions/471502/what-is-linq-and-what-does-it-do

powerful and harder to use than Linq To Sql. Linq To Xml examine the System.Xml.Linq namespace. Essentially people weren't.. to use than Linq To Sql. Linq To Xml examine the System.Xml.Linq namespace. Essentially people weren't satisfied with the.. people weren't satisfied with the stuff in System.Xml . So MS re wrote it and took advantage of the re write to introduce..