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 > march 2007 > threads for march 8 - 14, 2007

Filter by week: 1 2 3 4 5

what encoding does system.xml.xmldocument.save(string path) use to save the xml document if there is no <?xml... in the front of the xml document?
Posted by Daniel at 3/14/2007 9:13:25 PM
what encoding does system.xml.xmldocument.save(string path) use to save the xml document if there is no <?xml... in the front of the xml document? ...more >>


Problem with XmlNode.ChildNodes across different machines
Posted by The Man From SQL at 3/14/2007 2:42:03 PM
I'm having the darndest XML config file problem that I really need help with. I'm supporting a .NET 1.1 desktop application with its own config file, and I implement IConfigurationSectionHandler so I can have a custom config section in my config file. The IConfigurationSectionHandler.Creat...more >>

populate dataset fk value using xmlschema xsd
Posted by chudq NO[at]SPAM hotmail.com at 3/14/2007 12:40:46 PM
I am trying to use xml shema to load xml file to a dataset. Here are two tables: Table Item: Item_ID (key) Name Category_ID (foreign key from table Category) Table Category: Category_ID (key) Description I set relationship between 2 tables as commented above Here is a par...more >>

MSXML6 C++ unable to locate node
Posted by j.a. harriman at 3/13/2007 10:15:20 AM
Hi, I am new to using the MSXML functions in C++. I found this on MSDN as an example of what I wanted to do, http://msdn2.microsoft.com/en-us/library/ms765465.aspx. I have tried a number of XPATH examples to try and retrieve the "><Code>12455</Code>", but have been unable to do so. The M...more >>

Can't get encoding="iso-8859-1"
Posted by David Thielen at 3/12/2007 10:30:44 AM
I do the following: StringBuilder xml = new StringBuilder(); XmlWriterSettings xws = new XmlWriterSettings(); xws.Encoding = Encoding.GetEncoding("iso-8859-1"); xws.Indent = true; XmlWriter xtw = XmlTextWriter.Create(new StringWriter(xml), xws); .... But the xml it creates ...more >>

Serializing Class with Unqualified Root Element and Default Namespace attribute
Posted by Mark Olbert at 3/11/2007 5:04:10 PM
I'm trying to serialize (using XmlSerializer.Serialize) a class that I generated from an XSD schema using XSD.EXE /c. The problem I'm running into is that the root element needs to be unqualified, and the default namespace needs to be included on it as an attribute. The schema I'm using is this:...more >>

XMLNode - XMLDocument types question
Posted by GaryDean at 3/10/2007 12:25:10 PM
I have a web service method that returns an XMLDocument. The signature is: public XmlDocument GetPOs() The following client code calls this method but it accepts an XMLNode instead of an XMLDocument and my first question is why does this work? XmlNode neNode; neN...more >>

"Root element is missing" xml stream problem
Posted by lisa.bogart NO[at]SPAM eds.com at 3/8/2007 6:29:27 PM
I am getting a "Root element is missing" error when I try to load a stream into and XmlDocument. Can anyone help me with what I am doing wrong??? Dim xmlTextWriter As XmlTextWriter = Nothing Dim objFile As FileStream = Nothing objStream = New MemoryStream() xmlTextWriter = New System....more >>



Validate xml instance against schema
Posted by JoeZ at 3/8/2007 4:07:57 PM
Hi all, I am using XMLValidatingReader to validate xml instance against schema. Now my question is: in the schema, it has the target name space. In the instance, it doesn't have the name space. I can not add the name space into the instance, if I could do that I won't have any problem. ...more >>

Performance issues with XMLTextReader
Posted by Frank Schumacher at 3/8/2007 3:10:37 PM
Hi there, I need to parse a lot of html-files from wikipedia, and I need to do it as fast as possible. So I started a little testing with XMLTextReader, but the results I get confuse me. It seems that the Reader ALWAYS needs about 1 second for the first textReader.Read() Here's my testco...more >>

Fastest way to load an xml file into an array in .net
Posted by Jörgen Ahrens at 3/8/2007 12:00:00 AM
Hi All VS 2005 SP1 (C#, VB.NET) I need the absolut fastest way of loading an xml-file of about 700KB into an array. I need to load about 1500 of those xml-Files into arrays on startup of my application. Therefore it needs to be as fast as possible. Please also tell me if the xml struc...more >>


DevelopmentNow Blog