Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
all groups > dotnet xml > december 2005 > threads for december 1 - 7, 2005

Filter by week: 1 2 3 4 5

xmlNodeReader question
Posted by adhag at 12/7/2005 12:26:02 PM
Hi I am trying to parse through a large file in pieces using the xmlNodeReader. I only need it to be forward only and performance is the key but I am having a problem trying to get all the information out of my xml file. For arguments sake my sample xml file looks like this <?xml version...more >>


From_excell_to_XMÖ
Posted by Lamis at 12/7/2005 1:48:02 AM
Hi, I have never worked with xml files (in .net C#).. How can I read an excell file to XML file??? I do not want to read all the columns. Thank your for your help. -- LZ...more >>

Deserializing primitive element with attribute
Posted by voipdealer at 12/6/2005 6:39:29 PM
I think this XML response sucks, but it's being sent to us from a third-party, so I can't do anything about it except work with it. I am receiving the following return code elements inside a response: <Response> <RC1 message="SUCCESS">0</RC1> <RC2 message="Blah blah blah">1</RC2> </Res...more >>

Merging Few XML
Posted by paolol at 12/6/2005 2:19:03 PM
Hi, I need to merge few XML DB file in one big XML, nay easy way biside reading one by one and writing a new big one ?? Thanks, Paolol...more >>

load an existing buffer using IXMLDOMDocument
Posted by Polaris at 12/5/2005 1:27:15 PM
Hi Experts: Is there a way to load an existing buffer (an XML file) using IXMLDOMDocumentPtr->load()? I know it works for loading an XML file, but I need to load an existing buffer with known length. Thanks In Advance! Polaris ...more >>

reading an xml file problem
Posted by adhag at 12/5/2005 7:41:03 AM
Hi I have an app that uses xpath to read an xml document. The problem is a 70meg file uses 1.5 gig of memory. What I really need is to read only chunks of the file at a given time and cannot afford the overhead of reading in 1.5 gig of memory. A simplified example would be an xml file of...more >>

Using just the XmlDocument to validate xml against an xsd schema
Posted by John H at 12/5/2005 7:40:25 AM
Hi, How can i just use the XmlDocument object to validate an xml instanace against a schema referenced inside the xml instance? The Load method seems to not validate it against the schema. Thanks John ...more >>

XML schemas .NET 2.0
Posted by peter.moss NO[at]SPAM gmail.com at 12/5/2005 4:29:14 AM
I have an XML schema and I am trying to validate any XML document sent against it. Here's some of the code: XmlReaderSettings xmlReaderSettings = new XmlReaderSettings(); xmlReaderSettings.Schemas.Add(@"http://myschema/myschema.xsd", "myschema.xsd"); xmlReaderSet...more >>



Serialization: Two Scenarios - Best Approach?
Posted by integragreg NO[at]SPAM yahoo.com at 12/4/2005 5:13:34 AM
I apologize for the length of this post, but this particular problem takes a bit of explanation. I have a set of hierarchically-related classes that I want to serialize on demand at runtime. There are two scenarios for serialization: the first is what I refer to as a "reduced" values set, wh...more >>

Serialization Problem
Posted by Curious at 12/3/2005 8:20:06 AM
Hi, I am trying to use the following code to make xml serialization to a file. The following error is being given: "An unhandled exception of type 'System.InvalidOperationException' occurred in system.xml.dll Additional information: There was an error generating the XML document." Th...more >>

How to detect, if an element string has to be written as CDATA
Posted by Stefan Gentzmer at 12/2/2005 10:56:36 PM
Hello, how can i detect, if the text for a XmlElement has to be written as CDATA (i am using the XmlWriter) instead of a normal string. For example <start> <node1>HelloWorld</node1> <node2>a>b</node2> </start> How can i programmatically detect, that node1 can be written by u...more >>

differences between XslTransform and XslCompiledTransform
Posted by Eckhard Schwabe at 12/2/2005 7:33:42 PM
when switching from the old "XslTransform " to "XslCompiledTransform" I notice a difference in the handling of whitespace. I need to transform a XML file which contain tabs (\t), and which remain untouched when I use XslTransform to do the transformation. But after switching to XslCompiledTr...more >>

How to change name of an XML node
Posted by KK at 12/2/2005 6:20:50 AM
Hi, Is there any way to change the name of XML node? In the following xml, I want to change the node <FIELD_1> to <FIELD_ITEM> in all the places. Ex: <NewDataSet> <LOOKUP> <FIELD_1>First_Item113</FIELD_1> <FIELD_2>First_Item224</FIELD_2> </LOOKUP> <LOOKUP> <FIELD_1...more >>

Remove and insert
Posted by Markus at 12/2/2005 1:26:03 AM
Hi! I wanted to select a subset of nodes (list = selectNodes("parent/child[foo='bar']") from a XmlDocument, then remove all (parentNode.removeAll();) child-nodes and insert the previous selected nodes back. Of course the XmlNodes in the nodelist ref. where lost once the removeAll() were ...more >>

newbie how do i read the following values in a XML file
Posted by dogo at 12/1/2005 10:46:33 PM
Hi a newbie to VB2005. I have the following xml file that i would like to read there value in, and place the result into a relevent textbox <?xml version="1.0"?> <?xml-stylesheet type="text/xsl" href="reg.xsl"?> <bml> <type> <modes>449B27</modes> <country></country> </trans...more >>

"xsi:type" missing from serialization of object- XmlSerializer
Posted by geoffrobinson at 12/1/2005 5:36:53 AM
Hi, I'm serializing an object using XmlSerializer. It is serializing, but we are getting errors upon deserialization. We use the following code to serialize: FileStream fs = new FileStream(NavCmdFile, FileMode.Create, FileAccess.Write, FileShare.None); XmlSerializer xmlFmt = new XmlSeria...more >>

synchronization of Xml file access in .net Pro
Posted by rathoreaditya81 NO[at]SPAM gmail.com at 12/1/2005 1:41:17 AM
Hi, Iam trying to develop a solution for my comapny in MS VS Pro, using C++.net. My work involves extensive usage of xml as well. I use DOM model for xml opeartions. Now the problem scenario is that multiple clients might be using my application as same time and trying to modify/update the ...more >>


DevelopmentNow Blog