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 > september 2005 > threads for september 1 - 7, 2005

Filter by week: 1 2 3 4 5

if System.IO.StreamWriter write throws an exception, is there anyway to close the System.IO.StreamWriter object? it seems to stay open when this happe
Posted by Daniel at 9/7/2005 5:41:17 PM
if System.IO.StreamWriter write throws an exception, is there anyway to close the System.IO.StreamWriter object? it seems to stay open when this happens then future attempts to write to that same path fail because it says its in use by another process. ...more >>


xsd.exe bug or odd xsd file
Posted by Peter Kryszak at 9/7/2005 2:34:49 PM
I was given a couple of XSD files so that I could generate a client that targeted a SOAP/RPC web service. One of the XSDs includes a definition of an element that is a sequence of row elements, which in turn is defined as a sequence of column elements. The CS class file generated defines...more >>

Getting attribute value from xml using xpath to get file path
Posted by orit at 9/7/2005 8:28:07 AM
I have the following xml file: <?xml version="1.0" encoding="utf-8" ?> <course id="2555" title="Developing Microsoft .NET Applications for Windows (Visual C# .NET)" length="5 days" source="http://www.microsoft.com/learning/syllabi/en-us/2555Afinal.mspx"> <module id="1" title="Introducing Wi...more >>

Digital signature of the blob?
Posted by Arkady Frenkel at 9/7/2005 12:00:00 AM
Hi! I try to make digital signature of the blob and check it , but on check ( signature created and seems OK ) I catch exception : "An XmlDocument context is required to resolve the Reference Uri ." If instead of line reference.Uri = ""; If I put here some correct Uri - like reference....more >>

xml schemalocation
Posted by Lance Johnson at 9/6/2005 5:16:44 PM
I'm trying to generate a schemalocation entry on my root node when using the xmlserializer.serialize method. I have been unable to achieve this. Is there a certain attribute I need to be applying to my root node class for that to appear? Any help is appreciated. Lance Johnson ...more >>

Problem with XmlSerializer
Posted by jw56578 NO[at]SPAM gmail.com at 9/6/2005 3:56:00 PM
When i make a call to XmlSerializer xs = new XmlSerializer(System.Type.GetType("myobject")); I get this error Key cannot be null. Parameter name: key what is the cause of this? ...more >>

Encoding problem
Posted by Demon News at 9/6/2005 3:55:06 PM
I'm trying to do a transform (Using XmlTransform class in c#) and in the Transform I'm specifying the the output xsl below: <xsl:output method="xml" encoding="UTF-8" indent="no"/> the resulting xml ends up with the following declaration: <?xml version="1.0" encoding="utf-16"?> changing...more >>

System.IO.StreamWriter Close or Flush method to shut down the computer in such a way that just part of the file is written? or an empty file is writte
Posted by Daniel at 9/6/2005 12:55:57 PM
System.IO.StreamWriter Close or Flush method to shut down the computer in such a way that just part of the file is written? or an empty file is written? Also if the Close or Flush is to a streamwriter writing to a network share, is it possible for the network to go down in such a way that the ta...more >>



XSLT, XMl - problem with XPath
Posted by Pawel at 9/5/2005 11:16:07 PM
I have small problem with XslTransformation. I get from WebService xml document. I have xslt and I want transform xml document to html code. It's look easy but I cant't manage with xPath. Maybe someone help me with that. I have problems with xPath in xslt file. I can't navigate by names on...more >>

validating reader and entities
Posted by Stefano Sbrulli at 9/5/2005 5:19:47 PM
I am trying to use a validating reader to open an xml file with an associated DTD specifying all the entities I need. This method should work for entire files, but I get the error line "reference to a non-declared 'agrave' entity". If anyone has any suggestions or insights, they would be muc...more >>

xml serialize properties
Posted by ocampoj NO[at]SPAM gmail.com at 9/5/2005 1:46:10 PM
I am having a problem serializing an object. I have a very simple class. [Serializable] public class Phone : SwcDomainObject { private string areaCode; private string prefix; private string suffix; private string extension; public string AreaCode { get { return area...more >>

XSD for serialized object.
Posted by Craig at 9/5/2005 7:26:08 AM
Anyone have any snippets of creating an XSD that I could validate a serialized object against. Specifically my problem comes from the the following serialized xml which contains some d4p1 namespace entries. <Attachment d4p1:AttachmentId="297451" d4p1:IsConfidential="false" d4...more >>

POST an XML string to a URL from a windows form
Posted by Andreas Kviby at 9/4/2005 7:48:43 PM
I have a HTML-form that I need to be able to POST from my VB.NET client application and store the resulting XML in a STRING or XML-document. This is the HTML-form code: <form name="form1" method="post" action="http://www.ourdomainname.se/xml"> <textarea name="xmlrequest" cols="80" rows="20"> ...more >>

Adding attributes to an element
Posted by fix at 9/4/2005 1:22:33 AM
Hi, I have an XML document and I need to add some attributes to an element. I use the XMLDocument object to load the xml file, and I can get the element I need to add attributes to in an XMLNode. The problem is, it seems that I cannot create a new XmlAttribute, it has no constructor. Does a...more >>

ReadXML and data types
Posted by Stephanie Olds at 9/2/2005 8:16:05 AM
I have a C# program that reads an XML file into a DataSet set using ReadXml. I'm trying to get two of the columns in the resulting DataSet to be integer instead of string. The reaon I'm trying to do this is because I want to display the DataSet table in a DataGrid with these two columns in c...more >>

XMLSerializer using generic classes
Posted by Johnas Owan at 9/2/2005 12:00:00 AM
Hi! I'd like to build xml out of some c# classes with the XMLSerializer. My problem is: I have an envelope and want to fill it with different types of sub-nodes. But I don't like to build the envelope class for each subsystem class again and again. Instead the type of sub-node shall be cho...more >>

Offline Capability for web form filling
Posted by jobi.joy NO[at]SPAM gmail.com at 9/1/2005 5:23:10 AM
I have a requirement of having the capability of offline form filling for my website.So users can some way download the form and can fill out in offline mode. Any standard way to do this. I am not interested to write a webservices or complex Smart client for this. Any simple way like manipulat...more >>

Problem transforming empty element tags using XmlTransform
Posted by nospam NO[at]SPAM nospam.net at 9/1/2005 12:00:00 AM
I'm trying to transform an xml file that contains empty short elements like the following: <element attrib="abc"/> using the XmlTransform class. But I cannot seem to preserve the short format as everytime it get's converted to the longer format of: <element attrib="abc"></element> I ne...more >>

XMLTransform converts short empty tags to empty long tags
Posted by nospam NO[at]SPAM nospam.net at 9/1/2005 12:00:00 AM
I'm trying to do a transform on some xml using the XslTransform class. The input xml contains an empty element in short format like this... <element attrib="abc"/> But during the transform it's being converted to the longer form like this... <element attrib="abc"></element> My custom...more >>

XmlTransform problem
Posted by Hoots at 9/1/2005 12:00:00 AM
I'm trying to transform an xml file that contains empty short elements like the following: <element attrib="abc"/> using the XmlTransform class. But I cannot seem to preserve the short format as everytime it get's converted to the longer format of: <element attrib="abc"></element> I ne...more >>

XML Transform problem
Posted by Demon News at 9/1/2005 12:00:00 AM
I'm trying to transform an xml file that contains empty short elements like the following: <element attrib="abc"/> using the XmlTransform class. But I cannot seem to preserve the short format as everytime it get's converted to the longer format of: <element attrib="abc"></element> I ne...more >>


DevelopmentNow Blog