xelement
XElement.Remove (XNode.Remove) doesn't work
I\'m trying to remove individual nodes from their parent, I tried the Remove method but it doesn\'t seem to be working. How is this done? Is this a bug or what?[详细]
2023-04-12 01:15 分类:问答how to find out whats the nodeType?
Im trying to read a XML file from google API places and add to a structure, but im having some problems with C# because im new at it...[详细]
2023-04-10 17:39 分类:问答Workaround for "undeclared prefix" error on XElement.Load()
I\'m pulling the source of a website. I then want to extract a specific part of it. My intention is to do this with LINQ-to-XML.[详细]
2023-04-07 10:06 分类:问答XPath and XNodes vs Xelements, whats better for mapping two large xml documents?
I want to map two fa开发者_开发技巧irly large xml documents, one of them using the NIEM schema. I am most familiar with the System.Xml.Linq (XElement) class but have heard good things about using XPat[详细]
2023-04-06 07:22 分类:问答c# SqlDataReader to XElement Efficiently
I have a Sql SP that takes around 1 minute to run, returning 25,000 rows of data. (multiple datasets can be returned).[详细]
2023-04-05 13:40 分类:问答How would I deserialize some class from XML (file), and vice versa?
I have the following class and data members (plus irrelevant methods) I am new to XML and .NET (that excuse is getting old though) and have spent a couple of days reading the MSDN entries (and whateve[详细]
2023-04-05 07:08 分类:问答NullReferenceException while using XElement
I have a method that is suppose to edit a xml file: public void EditItem(Item item, string xml) { Data = XDocument.Load(HttpContext.Current.Server.MapPath(\"~/App_Data/Items/\" + xml + \".xml\"));[详细]
2023-04-01 18:55 分类:问答C# - Get XElement.Value in a custom datetime format
Here is my problem: I have a XElement storing a DateTime, and I want to get the Value property returning the DateTime in a custom format.[详细]
2023-04-01 01:11 分类:问答XElement.Descendants doesn't work with namespace
I have a simple XML, <S xmlns=\\\"http://schemas.microsoft.com/winfx/2006/xaml/presentation\\\"><开发者_如何学PythonH></H></S>[详细]
2023-03-31 15:56 分类:问答Can't get XPathSelectElements to work with XElement
I am creating an in-memory Xml tree using XElement.Here is a sample of my xml: <Curve> <Function>createCurve</Function>[详细]
2023-03-30 12:37 分类:问答