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 > july 2004 > threads for july 22 - 28, 2004

Filter by week: 1 2 3 4 5

Deserializing NULLs into Integer variables
Posted by Mark McConnell at 7/28/2004 6:08:23 PM
Regarding deserializing XML into a custom object... I've been able to deserialize an XML doc into my custom object and everything works great. The problem I am encountering is when one of the XML elements contains a NULL and it maps to a variable of type Integer in my custom object, the deser...more >>


converting .xml to a comma delimited text file
Posted by Bernie Yaeger at 7/28/2004 4:27:08 PM
Is there a way to convert a .xml file to a comma delimited text file using vb .net? Thanks for any help. Bernie Yaeger ...more >>

compressing XML file
Posted by john smith at 7/27/2004 10:30:02 PM
Hi, In my .NET application I save data in an XML file. When opening a project from an XML file I parse the file and recreate objects, set settings etc. The problem is that the XML file can be very big (~20Mb). How can I compress/decompress it programatically? Is there such a functionality in...more >>

XML Attributes in a DataSet
Posted by Ryan at 7/27/2004 9:55:14 PM
How can one extract the Attribute values from a Dataset that has been loaded with an XML file like the following at the bottom of the document. I have to use a dataset and the XML file must remain the same? Regards, Ryan <?xml version="1.0" encoding="utf-8" ?> <Groups> <Group Name="...more >>

Looking for Advice
Posted by Wayne Wengert at 7/27/2004 8:48:53 AM
I am looking for pointers to good beginner books, tutorials or other resources to help me understand how to really use XML data. I program mostly in VB (I have several applications in VB6 but am just starting to convert to VB.NET). Most of my database backends are SQL Server 2000 with a few still...more >>

XmlAttribute question (0727)
Posted by matt.raffel NO[at]SPAM mindspring.com at 7/27/2004 8:28:24 AM
I have a class with a property is set to export as an XmlAttribute. I want the attribute to only be written if there is a value. Is that possible? Right now, the attribute is written no matter what. eg: [XmlRoot("Server")] class Server { [XmlAttribute("shareName")] public s...more >>

Serializing a collection
Posted by mr_carl_gilbert NO[at]SPAM hotmail.com at 7/27/2004 3:27:20 AM
Hi I am trying to serialize a collection of GUIDs by overriding the serialize function on a diagram component I am using. The following code sucessfully serializes a single GUID: Public Overloads Overrides Function Serialize(ByVal Key As Object) As String Dim objXML As New XmlD...more >>

Reading Non-standard XML
Posted by Jim Bayers at 7/26/2004 3:58:49 PM
When we send in credit card info, we get this in reply: <auth_resp xmlns="urn:auth"><auth_info_resp id="A1"><order_id>2XXXJl</order_id> <shopper_id></shopper_id> <total_amount>0.01</total_amount> <settlement_amount>0.00</settlement_amount> <action>X</action> <response_code>9</response_code>...more >>



Error using derived simpleType as attribute in XSD -> DataSet
Posted by Ian Griffiths at 7/26/2004 1:15:38 PM
I have been given a schema, instances of which I'm required to be able to consume and generate. I'd like to be able to manipulate these instances as DataSets internally in my application. The schema defines the following simpleType: <xs:simpleType name="cs"> <xs:restriction base="xs:token...more >>

System.IO.IOException: The filename, directory name, or volume label syntax is incorrect.
Posted by sales NO[at]SPAM logicians.com at 7/26/2004 3:53:24 AM
Also posted in general ASP.NET forum. System.IO.IOException: The filename, directory name, or volume label syntax is incorrect. I have hit a problem for which I can find no solutions. Has anyone any ideas? I am writing XML into a Memory STream and using a Transform to make HTML. This w...more >>

Validation Problem
Posted by Wayne Wengert at 7/25/2004 10:04:43 AM
I am building an XML file from a dataset using VB.NET. I've built an xsd file (listed below) and am attempting to validate a sample xml file (also below) using http://apps.gotdotnet.com/xmltools/xsdvalidator/Default.aspx but I get a single error: Value cannot be null. Parameter name: key I do...more >>

RSS Search
Posted by 9icj4u613jeqrx8 NO[at]SPAM jetable.org at 7/24/2004 10:44:31 PM
Hi! I'm looking for ideas on what would the best approach to design a search system for a RSS feeds. I will have some 50 RSS feeds (all RSS 2.0 compliant) stored locally on the web server. Now I'm wondering what would the best method to allow searching of these RSS files. Since the search will c...more >>

collection example
Posted by john m at 7/24/2004 7:09:08 PM
Hello, I would like to find an example of how to handle serializing/deserializing collections in VB.net i have an XML file that contains a collection of elements that have two keys. I would like to populate a combo box with each unique value of key one. then the other combo box is po...more >>

XML dataset
Posted by JAS at 7/24/2004 5:22:25 PM
I have made client software where users make orders. Local data is stored in xml file. Users are offline from network most of time eg. one week or month and then they connect dbserver. Problem: How to synchronize offline database to sql server??? New, modified and deleted rows must be syncro...more >>

Using XML to retreive data from remote computer
Posted by g18c NO[at]SPAM hotmail.com at 7/24/2004 4:04:09 PM
Hi, i would like to create a program which logs information which can then be retreived over the internet as an xml file. Basically i would retrieve the data by using an ip address, and hopefully some function call, using the machines ip address. I guess the url would be something like: mym...more >>

xslt newbie question
Posted by Mike P at 7/23/2004 4:10:38 AM
I'm a ASP.NET/C# programmer new to XSLT/XPath with a bit of experience of XML. I've been reading through some stuff on XSLT and I'm struggling to think of what situations I would want to use it in. Basically XSLT is like CSS for XML files, right (i.e. setting how the XML is displayed on screen...more >>

How can i get an Applicaton Exception to the Consumer
Posted by Stefan Glock at 7/23/2004 1:44:04 AM
Hi, i have a Web Service method which can throw an ApplicationException. On the Consumer of the Web Service i always get an SoapException. Is there an easy way to get on the Client Side the Application Exception? ...more >>

XmlSerializer - Serialize properties with get accessors?
Posted by Peter Cresswell at 7/22/2004 8:56:17 PM
Hello everyone, I would like to serialize an object to XML. Currently my code will serialize all of the public properties that are value types, but not my public properties that have get accessors. e.g: public class MyObject { public string name; // This is serialized OK public...more >>

XSLTransform and <?xml version ...
Posted by solex at 7/22/2004 4:23:10 PM
Hello, I have a XSLT file that I am trying to use with the XSLTransform class but it chokes on the first line: <?xml version="1.0" encoding="ISO-8859-1"?> returning the error: "System.Xml.XmlException: The data at the root level is invalid. Line 1, position 44. Anyone else have this proble...more >>

2 Dare (xmlschema question)
Posted by Alex Shirshov at 7/22/2004 10:07:58 AM
Hello, All! It seems the bug (http://groups.google.com/groups?hl=ru&lr=&ie=UTF-8&threadm=a53b01c28a00%242 08bc860%2439ef2ecf%40TKMSFTNGXA08&rnum=8&prev=/groups%3Fq%3DschemaLocation%2 BXmlSchema%2B.NET%26hl%3Dru%26lr%3D%26ie%3DUTF-8%26selm%3Da53b01c28a00%25242 08bc860%252439ef2ecf%2540TKMSFTNG...more >>

How to output numerical entity encodings with the XslTransform class?
Posted by Tim Meagher at 7/22/2004 12:20:00 AM
I am using the XslTransform class in C#.net to output XML files that include non-ascii Unicode characters such as the Greek capital letter theta U+0398. I can easily outout the data as serialized UTF-8 by using the default encoding of UTF-8; however, my customer wants any non-ascii characters ou...more >>


DevelopmentNow Blog