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 > february 2007 > threads for february 22 - 28, 2007

Filter by week: 1 2 3 4

Adding namespace prefix to Root node
Posted by scottpet NO[at]SPAM gmail.com at 2/28/2007 1:35:43 PM
Hi, I want to add a namespace prefix to the root node of an object I am serializing to XML. I have been reading though this article: http://msdn2.microsoft.com/en-gb/library/system.xml.serialization.xmlnamespacedeclarationsattribute.aspx I get namespace prefixes in the document, but not o...more >>


Need XSLT to throw Runtime Exception
Posted by IAMDkg NO[at]SPAM gmail.com at 2/27/2007 2:09:06 PM
Hi there - Can somebody give me some pointers on how I can create a XSLT which will compile fine but will thow a runtime exception during runtime. I tried to do the following but it doesn't throw any runtime exception. <?xml version='1.0' encoding='utf-8'?> <xsl:stylesheet version='1.0' xm...more >>

Error in proxy class generation when using WSDL.exe of 2.0
Posted by Sriram Mallajyosula at 2/27/2007 3:24:03 AM
Hi, We were using .Net Framework 1.1 version of wsdl utility to generate proxy classes for our ASP.Net 1.1 version. But now if I try to create proxy classes for .Net Framework 2.0 version the classes are created but when I try to consume the web service some extra events are being added whi...more >>

DataSet/XmlSchema/DataGrid Framework 1.1 - 2.0 Problem
Posted by Martin Madreza at 2/26/2007 7:25:09 AM
Hi, I have a problem with reading an XmlSchema with Frameowk 2.0 and an own DataType. I found no example (searching two days). What I do is: DataSet dataSet = new DataSet(); dataSet.ReadXml("{path}/MySchemaAndData.xml"); dataView = dataSet.Tables[0]; dataGridView.DataSource = dataVie...more >>

XML and XSL translation
Posted by David at 2/24/2007 3:05:21 PM
Hi, I am trying to do an XML translation. I have not done much with XML apart from generating a few RSS feeds or saving from datasets. I have found numerous example on the net about it, all of them very similar. However, when I use them, they go into response.output rather than a label or l...more >>

xml schema: elements with unique attribute values.
Posted by Asko Telinen at 2/24/2007 12:00:00 AM
Hi all. I´m a bit newbie writing xml schemas. Is it possible to define xml element that must have unique attribute values in same level. For example if i have a xml - document: <list> <subsection name="first"> <!-- subsection contents --> </subsection> <subsection...more >>

xs:element name in xsd file for int.
Posted by trialproduct2004 NO[at]SPAM yahoo.com at 2/22/2007 11:06:03 PM
Hi all, I am having table in database with say name as '1company'. when i generate strongly typed dataset for this table in xsd file i am getting entry as below:- <xs:element name="_x0031_company" type="xs:string" minOccurs="0" /> Can anyone tell me why column name '1company' is written ...more >>

Translate() doesn't work
Posted by Gaurav at 2/22/2007 6:00:13 PM
Hi, I am using the Translate() function in one of the .XSLT file to remove the spaces, like this: <xsl:for-each select=".//Illustration"> <xsl:value-of select="translate(./@illusName, ' ', '')"/> …. This works fine with command line msxsl and XML editors like XMLSpy. However, if you...more >>



Removing xmlns:xsd and xmlns:xsi when using ImportNode
Posted by Keith Patrick at 2/22/2007 3:12:10 PM
I'm doing some document merging where I want to bring in an XmlDocument and import its document element into another document deeper in its tree. However, when serializing my underlying objects, .Net likes to add these namespaces: <RootNode xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns...more >>

XML Serialization with of a sub-class of DataTable.
Posted by sylvain.ross NO[at]SPAM gmail.com at 2/22/2007 12:25:21 PM
Hello everybody, I have a very weird problem regarding the serialization of a class that I wrote (named DummyClass in my exemple). My class inherits from DataTable. Then I just try a dummy XMLSerialization and then Deserialize it into a new object. The problem is that everything is fine ...more >>


DevelopmentNow Blog