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 2006 > threads for march 15 - 21, 2006

Filter by week: 1 2 3 4 5

for some reason when i deploy my C# application on windows 2003 occasionaly rdr[0].ToString() hangs where rdr is a System.Data.SqlClient.SqlDataReader
Posted by Daniel at 3/21/2006 11:36:31 PM
for some reason when i deploy my C# application on windows 2003 occasionaly rdr[0].ToString() hangs where rdr is a System.Data.SqlClient.SqlDataReader. Is there a fix for this? is my visual studio.net out dated? ...more >>


How to add parent node in Vb.NET
Posted by neerajb NO[at]SPAM noida.nospamhcltech.com at 3/21/2006 8:46:22 PM
Hi, I am having an XML document(input.xml) which is showing the menu heirarchy used in my application.My requirement is to add "submenu" tag to those menuitems who are having the child menuitems as shown in output.xml. I am using VB.NET framework 1.1. Please Help, i have already invested ...more >>

Get Xml schema from user defined type at runtime?
Posted by John Glover at 3/21/2006 3:33:30 PM
To whoever can help, Is there a way to get the Xml schema for a user defined type at runtime? I've looked at the XmlSerializer as I had hoped there might be a way to retrieve it. I've also looked at XmlReader and XmlWriter, but again no luck. I am trying to generate a schema for an arbit...more >>

XML Deserialization (IXmlSerializable implementation)
Posted by John Glover at 3/21/2006 2:41:40 PM
To whoever can help, I've been having a problem with XML deserialization lately. I needed to serialize and deserialze two objects which inherited from Hashtable. Because IDictionary implementations cannot be serialized, I had to take matters into my own hands by implementing a wrapper o...more >>

Creating, saving pages showing xml docs in various sort orders automatically
Posted by vincemoon NO[at]SPAM rcn.com at 3/21/2006 12:18:14 AM
I can see from http://72.14.203.104/search?q=cache:6f-yXCR3f8kJ:www.readol.net/books/computer/WEb/XML%2520Programming/xmlproghtml/32ch08b.htm+%22metadata+about+any+entity%22&hl=en&gl=us&ct=clnk&cd=3 how XML is transformed by XSL into a sorted HTML table. That is, the XSL turns the XML, which is n...more >>

XML Schema with unnkown Element names
Posted by Mark Doerbandt at 3/20/2006 10:29:48 PM
Hi, I need to validate a XML document where some of the element names are unnknown. <xs:any processContents="lax"/> or "skip" allows me to do so. But: I want to validate those elements - the only thing unknown is the name of the elements. Especially the attributes are well-known and ne...more >>

XmlArrayItem not allowed on Root Elements
Posted by Wilco at 3/20/2006 10:49:20 AM
I'm trying to serialize a collection, which is the root element, however the items in the collection contain derived classes, and thus give an error without XmlArrayItem attributes. However I can't add these to the field I'm copying from as its the root element, and so they appear to get ignored...more >>

Deserialization Error
Posted by Doug at 3/20/2006 7:46:23 AM
Hello, I am trying to deserialize a very simply XML file and have the following code to do it. When I run the code, I keep getting this error: "An unhandled exception of type 'System.InvalidOperationException' occurred in system.xml.dll. Additional information: There is an error in XML doc...more >>



Upload XML file to website cart, Security Issues?
Posted by Stork via DotNetMonster.com at 3/17/2006 8:01:27 PM
Hi, Just a little background info, I am working on a WinForms program that allows users to have an eletronic version of my catalog, since while they are actually looking at peices they need to buy they won't also have internet access and be able to go to the website. The catalog has a fe...more >>

XmlBookmarkReader bug using ReadSubtree
Posted by eric.olstad NO[at]SPAM gmail.com at 3/17/2006 7:45:40 AM
I have discovered a bug in XmlBookmarkReader (code provided by MSDN, but not necessarily supported by Microsoft). The article is found here: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnxmlnet/html/XmlBkMkRead.asp Consider the following code to print xml. This code ass...more >>

NULL Value in XML Schema
Posted by Reuven Nisser at 3/16/2006 2:33:05 PM
Hi All, How to define an XML element with no value and no attribute? <X> <Y/> </X> And Y has no value? I've done it with: <xsi:element name="Y" type="rn:T_NULL"/> <xsi:simpleType name="rn:T_NULL"> <xsi:restriction base="xsi:string" length="0"/> </xsi:simpleType> But it seems...more >>

creating an instance of a custom control in xslt?
Posted by Josh Wolf at 3/16/2006 10:19:30 AM
I feel like this question has been half-answered on here for me a few times, but I'm looking for a more complete solution. I've got the results of a query being returned in XML and processed with XSLT via XmlDocument and XslTransform in C#. It outputs a web form. My problem is that I've got a ...more >>

sql server data to ms word using xml
Posted by ads at 3/16/2006 1:17:30 AM
hi i was given a task to display sql server data in ms word using xml. Im currently doing research to accomplish the task. What i have in mind is to create an xml template (or schema?) to load the sql server data first.Then add the xml template in the ms word add-in option. Is it possible? ...more >>

Read XML document from Web Service
Posted by Jeff Ditty at 3/15/2006 9:50:04 PM
Hello- I am looking for the best way to run different Xpath expressions from a web service, and return the appropriate XML data. The data source that the web service queries is an XML file, that is not very large (less than 2 MB). I can retrieve the entire XML file, but I would like to ha...more >>

blank lines screwing up XMLDocument object
Posted by Glenn Venzke at 3/15/2006 3:31:28 PM
I have an XMLDocument object that is attempting to parse an xml document generated by a cold fusion page. The problem is that for some reason the cold fusion page is generating a number of carriage returns preceding the XML declaration. This is causing the following error: System.Xml.XmlExc...more >>

Dataset diffgram doesn't set xsi:nil for nullable elements
Posted by KillerJ at 3/15/2006 7:31:21 AM
I found a post about this exact issue: http://groups.google.com/group/microsoft.public.dotnet.xml/browse_thread/thread/1dfeb38170cb0b1/ea073666a4035bd5?lnk=st&q=decimal+parse+error+loading+dataset&rnum=6&hl=en#ea073666a4035bd5 but it only shows how to correct the issue manually, not whether it...more >>

Read attributes of elements from xml schema.
Posted by asjad at 3/15/2006 1:48:01 AM
Is there any way through which attributes of elements along with their default value and possible values can be retrieved from the schema using C#. Any help will really be appreciated. ...more >>

XML Schema to describe specifc case
Posted by Reuven Nisser at 3/15/2006 12:00:00 AM
Hi, How can I describe an XML like this: <X> <Y/> <Z/> <Y/> <Y/> </X> I mean a case where Z appears once and Y appears zero or more times and the order is not important. If Z might appear more than once I can use: <xsi:choice minOccurs="0" maxOccurs="unbounded"> But I do not ...more >>

Problem deserializing XML data with xsd.exe
Posted by jcsnippets.atspace.com at 3/15/2006 12:00:00 AM
Hi everyone, I'm trying to read an xml config file in C#. To do this, I have used the xsd.exe tool to create an xsd file from my xml, and to generate code to read this xml file. Here is a small sample of my xml file: <feed> <location> <directory>data</directory> </locat...more >>


DevelopmentNow Blog