xmlreader
How to make second test passing in these C# Xml unit tests? What do I miss in initialization of XmlReaderSettings?
Issue description: I need to fix an issue with resolving of standard HTML entitities. I\'ve implemented HtmlEntityReader - implementation of XmlReader which has a code to resolve entities[详细]
2022-12-20 07:24 分类:问答Correcting XmlReader problems using ReadToDescendant and/or ReadElementContentAsObject
I\'m working on a mysterious bug in the usually very good open source project Excel Data Reader. It\'s skipping values reading from my particular OpenXML .xlsx spreadsheet.[详细]
2022-12-20 02:57 分类:问答Badly formated XML generated by XElement.ReplaceWith()
I am trying to replace a node using ReplaceWith(), but noticed that it results in badly formated XML (missing new lines and indentations).[详细]
2022-12-17 07:42 分类:问答Anyone use OSGeo.FDO.Common.Xml.XmlReader .NET API?
Trying a simple operation like this thro开发者_JS百科ws an exception. var reader = new OSGeo.FDO..Common.Xml.XmlReader(\"c:\\\\temp\\test.xml\");[详细]
2022-12-17 01:24 分类:问答Get xml attribute values as string[]
My xml file has something like this: ... <Keyword name = \"if\" /> <Keyword name = \"else\" />[详细]
2022-12-15 19:24 分类:问答Can anyone explain to me what is the meaning of the boolean parameter of the System.Xml.XmlDictionaryWriter.WriteNode(XmlReader, bool) method?
According to MSDN: defattr Type: System.Bo开发者_如何学Goolean If true, copy the default attributes from the XmlReader; otherwise false.If true, use default attributes; otherwise false.[详细]
2022-12-13 16:48 分类:问答xmlreader newline \n instead of \r\n
When I use XmlReader.ReadOuterXml(), elements are separated by \\n instead of \\r\\n. So, for example, if I have XmlDocument representatino of[详细]
2022-12-12 23:14 分类:问答Properly reading a nested XML document using an XmlReader.ReadInnerXML in .NET 3.5
I\'m using an XmlReader.ReadInnerXML to read an XML document (as text) embedded within in an element of an outer XML document.This works fine except for the handling of tab characters in attributes of[详细]
2022-12-12 02:50 分类:问答Not all code paths return a value C#?
This is my code: public String[] readXML(String filename) { XmlReader xmlReader = X开发者_如何转开发mlReader.Create(@filename);[详细]
2022-12-11 00:58 分类:问答Getting File Attributes with XMLReader in C#
I used the XMLReader format: XmlReader xmlReader = XmlReader.Create(\"batch.xml\"); while (xmlReader.Read())[详细]
2022-12-10 08:32 分类:问答