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 > may 2006 > threads for may 1 - 7, 2006

Filter by week: 1 2 3 4 5

Number format problem in web method
Posted by ADA at 5/7/2006 4:10:02 AM
Hi all, I have a funny problem. I have a function in Windows Application, which builds dataset in run time, adds data into the dataset and returns XML. One of dataset columns has System.Double type. If I try to insert into this column number in format "###0.00", in the output XML I'...more >>

Deserialize XML file
Posted by Sriranjan at 5/5/2006 3:15:16 PM
Hi, How do I deserialize an object based on a random XML file? I have tried using the XMLSerializer.Deserialize method but it does not set the values for the members. I need tto do this because I am trying to invooke a web service by passing this object as the input. Here is the sample ...more >>

Concatenate xml files
Posted by sham at 5/5/2006 2:19:59 PM
Hi to all, Is it possible with the .net framework to concatenate xml files? I have a number of xml files on disk and want to create one file which will have the format : <files> <file filename="a.xml" directory="c:\data\"> xml contents of file a.xml go here </file> <fi...more >>

how to test if attribute in sibling nodes have same value
Posted by K B at 5/5/2006 8:01:22 AM
I bit new to this. My xml files contains the following nodes: <root> <WI Title="Test1"> <Role Name="Legal"/> <Role Name="PM"/> </WI> <WI Title="Test1"> <Role Name="Legal"/> <Role Name="Legal"/> </WI> <WI Title="Test1"> <Role Name="PM"/> <Role Na...more >>

Sql Code generation tools
Posted by helpful sql at 5/4/2006 3:07:47 PM
Hi all, Are there any good Sql code generation tools out there in the market? If not can you please give me tips or sample code for creating one? I need to automate code generation for data integration. Here is what I repeatedly need to do... We have a table called CONTSUPP in our Sql...more >>

rss feed : escaped invalid xml chars display incorrectly in browser
Posted by John A Grandy at 5/4/2006 2:48:20 PM
I am using StringBuilder to build a string containing xml that is Response.Write() to the browser as an rss feed. To replace invalide xml chars, I am using code fragments such as xmlDocument.Append("<description>"); xmlDocument.Append(SecurityElement.Escape(productDescription)); xmlDocumen...more >>

Response.Write() rss xml
Posted by John A Grandy at 5/4/2006 2:21:40 PM
When writing rss xml to the client browser , is there any reason to load the rss xml string into an XmlDocument and then Response.Write() the XmlDocument.OuterXML.ToString() ? option 1: string rssXml = null; -- build rssXML -- Response.Write(rssXml); option 2: string rssXml = null; ...more >>

How to remove the extra \ in the ReadOutXML
Posted by John at 5/4/2006 12:08:13 PM
I have a SQL Query (SQL2005) returns for XML statement, my client is using ExecuteXmlReader to execute the query, everything if fine until I use ReadOutXML, the string has a extra \ before every ", how do I remove it? Here is the xml result I got <SearchResults xmlns:xsi=\"http://www.w3.org/20...more >>



VS2005 WSE 2.0 WSE040
Posted by Benjamin at 5/3/2006 7:09:02 AM
Hi! I am upgrading a WSE enabled web services project from VS2003 to VS2005. Still using/referencing WSE 2.0 (not WSE 3.0) because of backwards client compatibility issues. When calling the web service from a test client following exception is raised from the server (that worked of cours...more >>

understanding use of xsi:type
Posted by PeterW at 5/3/2006 2:07:02 AM
I have a bit of xml that I am trying to create an xsd schema from. A very simplified version is as follows: <?xml version="1.0" encoding="UTF-8"?> <centre xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="java:ucles.cbtas.model.Centre"> <number>25279</number> <customer-i...more >>

Add expected elements to xml
Posted by webloem at 5/2/2006 4:28:42 AM
Hi all, I am building an application in which users can edit data that is stored as xml. I have a xmlfile with my data and a xsd file to validate this data. Sometimes i add elements to my xsd, without adding them to my data. Now i want to build a function in my application that validates th...more >>

Validate parameter based on a XSD
Posted by Jinsong Liu at 5/1/2006 4:10:15 PM
The data type of a property in one of my class is defined in a XSD document as xs:ID. Is it possible I can validate the property by using the XSD? I can hardcode the validation, but I will have to changed the code in case XSD changed. thanks JS...more >>

Xslt question: how to transform children of a node into siblings?
Posted by Gabe Moothart at 5/1/2006 10:23:35 AM
Hi, I need some help figuring out how to do something in xslt. I have an xml document with a list of items. Each item in turn can have a list of options, like so: <item> <stuff>Item 1 Stuff</stuff> <option> <option_stuff>Option 1 Stuff</option_stuff> </option> <option> ...more >>

Inserting Nodes at specific location in XML
Posted by DWrek at 5/1/2006 9:46:02 AM
Here is my problem. I have an XML document that is returned to me by a third party service. The XML document contains results for a search but only lists a maximum of 10 results. If there are any further results then the XML document contains a URL to call and get the next set of 10 result...more >>


DevelopmentNow Blog