Groups | Blog | Home


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 > december 2003 > threads for december 15 - 21, 2003

Filter by week: 1 2 3 4 5

escapeOutput and webmethod
Posted by sd at 12/21/2003 7:59:40 PM
Hello All, I aplogize if this has already been answered however I couldn't find anything related to this... I have bunch of webservices written in vb.net returning native data types, due to constraints of the client I need to return data that has been output escaped i.e. when a string...more >>


Generate XSD from class
Posted by Bert at 12/21/2003 3:15:00 PM
Hi, Is there a way to generate an XSD from a class programmatically, so without using xsd.exe? Thanks, B....more >>

XML comments
Posted by Saso Zagoranski at 12/21/2003 10:59:42 AM
Hi! I have a question about XML comments included in VS. net. Let's say I have a project in a solution. And this project has a class with some methods: class MyClass { /// <summary>...</summary> /// <param name="param1"> parameter1</param> /// <returns> some string </retu...more >>

direct edit of the ii6s metabase.xml using c# or vb.net
Posted by Roger at 12/20/2003 8:02:17 PM
I need to edit the IIS 6.0 config file (metabase.xml) and had a go with this code, trying to get a list of all defined websites, and write their name to console, but it does not seem to work, would appreciate any pointers: ----------- Try Dim doc As New XmlDocument ...more >>

SOAP responses and .NET
Posted by sjain NO[at]SPAM wherenet.com at 12/20/2003 12:56:01 AM
I am testing a WebService by writing a client on .NET. I used the WSDL to successfully create a proxy class, and am able to send correct SOAP requests, as per the WebService. The SOAP trace utility shows that I am getting a good SOAP response. However, the .NET proxy object returns silen...more >>

Serialize class to string?
Posted by Ben Fidge at 12/19/2003 7:20:36 PM
How do you use the XmlSerializer to serialise a class instance to a string as opposed to a file or stream? Thanks Ben Fidge ...more >>

Serializing an object.
Posted by Scott Meddows at 12/19/2003 12:06:50 PM
I'm trying to serialize an object in VB.NET. I have all my objects denoted with the <Seralizable()> Attribute. This is the code I am using... Dim sf As SoapFormatter = New SoapFormatter Dim ms As IO.MemoryStream = New IO.MemoryStream sf.Serialize(ms, currentIssue) ErrorReportingTextBo...more >>

Data Mapping between Applications.
Posted by techWorld76 NO[at]SPAM yahoo.com at 12/19/2003 8:11:54 AM
Hello, Could anyone please throw your suggestions on the following scenario? (It would be really helpful if you could provide a solution using ..NET,XSLT,XSD,Web Service other than 'Biztalk Server' Approach.) - Honestly speaking, I am new to this Data Exchanging Process, though I have...more >>



Repeater and XML Node List
Posted by williamg75 NO[at]SPAM hotmail.com at 12/18/2003 6:06:30 PM
Alrighty, so if I have an XmlNodeList as the data source for a repeater, in my repeater, I would like to do things like: <%# DataBinder.Eval(Container.DataItem, "ChildNodes[0].InnerText") %> But everytime I do it says stuff like: 'System.Xml.XmlChildNodes' does not allow indexed acces...more >>

ERROR saving Grid as XML
Posted by Filippo Pandiani at 12/18/2003 3:58:47 PM
SCENARIO ======================================= I have a Grid and I want to save the values on an XML. Let me say that I am NOT using DataSet to load valus on my grid. PROBLEM ======================================= When I am saving a Grid to XML I get the following exception: "Token S...more >>

XML WebService ASP.NET
Posted by Scott at 12/18/2003 3:18:56 PM
Hello - I am very new to the .NET environment, so please be paitent - Can anyone point me to a very basic example of a project that takes an XML stream from a web page and sends it to a ASP.NET Web Service that can then be used to pull records from a SQL Server DB. Like I said I am green at this...more >>

XslTransform Problems with Whitespace
Posted by Kevin Westhead at 12/18/2003 3:04:04 PM
I'm using XslTransform to apply a transform to an XML document, however I get validation problems when parsing the resulting XML document due to invalid whitespace. I'm passing in an XPathNavigator for the input to the Transform method and specifying a Stream for the output. Here is an example...more >>

Document load problem with entities
Posted by Miquel Labòria at 12/18/2003 1:06:56 PM
When I load a document, it have text "&ntilde;" I recibe an error: Reference to undeclared entity, 'Ntilde' "Ntilde" is an entity of iso-8859-1, why load method can't load it. How can I refer entities ISO-8859-1? Please help me... ...more >>

Win98 memory bottleneck for using XML in MSDE2000
Posted by theju NO[at]SPAM wp.pl at 12/18/2003 9:27:54 AM
Used to read newsgroup for answers, now have to ask for them as well. I have an application (C#, .NET 1.1) that connects to local db on MSDE 2000 SP3a (using ADO from MDAC 2.71) on one side and to a web service on the other (not relevant I guess). Some stored procedures consume xml produced by...more >>

Validating a XML document with a XSD
Posted by Brian Kedersha at 12/17/2003 5:34:14 PM
I found code for validating XML documents with the XML Schema cashed for rapid access. Example 3: Validating with XMLSchemaCache. http://msdn.microsoft.com/library/en-us/xmlsdk/htm/xsd_devgd_hdi_validate_5zzn.asp This code seems not to be working no matter I do to fix it. I receive the f...more >>

XMLTextWriter Encoding problem
Posted by adamr1000 NO[at]SPAM hotmail.com at 12/17/2003 1:59:29 PM
The following code sample should produce a valid xml file to the console. However, when I try this in C# (Visual Studio 2003, 1.1 Framework), there is an extra questionmark preceding the rest of the content. MemoryStream ms = new MemoryStream(); XmlTextWriter xtw = new XmlTextWriter(ms, Enco...more >>

Problem with XSD
Posted by RF at 12/17/2003 10:47:15 AM
Hi, I have a schema file test.xsd (~30KB). Whenever I try to load this schema into VS.NET it takes about 60% of CPU time, at the same time when I switch to XML view it takes 100% of CPU time. It takes about 1-5 minutes to load successfully. How can I disable the option of VS.NET of loading ...more >>

XmlSerializer encoding and declaration issue
Posted by Mullin Yu at 12/17/2003 10:33:27 AM
I am using XmlSerializer to serialize an object to xml string like the following at C#. Now, I want to know how can I 1. change the default encoding to utf-8 or others, instead of utf-16 2. remove the XML declaration => <?xml version ....> 3. remove the white space / tab of the xml structure ...more >>

Retrieving JUST text from a node with child nodes
Posted by Bjorn at 12/16/2003 5:31:42 PM
Hi all, Can't seem to figure out how to retrieve the text of a node with multiple child nodes (and I just want the text of the parent, not the InnerText or InnerXML that comes with it). My doc looks something like this: <parent attrib1 attrib2 attrib3> Extractable string <child...more >>

String TO xml (xml string)
Posted by Braden at 12/16/2003 2:39:28 PM
I am trying to take a string and convert it to a data source. The string is Xml that I am pulling out of sharepoint and looks like this: <Field FromBaseType="TRUE" Type="Choice" Name="Status" ColName="nvarchar1" DisplayName="Status"> <CHOICES> <CHOICE>Active</CHOICE> <CHOICE>Resolved</CH...more >>

Newbie: Adding Schema breaks working code
Posted by ElJay at 12/16/2003 1:22:58 PM
The following code worked great until I added a schema (generated by VS ..NET) to the XML document. XmlDocument xdoc = new XmlDocument(); xdoc.Load("NewsSource.xml"); XmlNodeList nl = xdoc.SelectNodes("root/rssfeeds/site"); The XML file looks like this <?xml version="1.0" encoding="utf-8...more >>

web service
Posted by kkr at 12/16/2003 12:02:29 AM
Hi , i am new to .NET Tecnology. i have the following problem. i am accessing a lotus notes document in .Net using Domino objects component as reference. This is working perfect as a windows client. But when i try to execute the same code as a webservice it gives me "OUTOFMEMORY EXCEPTION...more >>

How can i specify default XML namespace when it does not declared in the xml document
Posted by zoodeka NO[at]SPAM hotmail.com at 12/15/2003 11:47:56 PM
How can i specify default XML namespace when it does not declared in the xml document I need it for validation against xml schema @@@I have a procedure Sub ValidateXMLDocument(ByRef XMLDocument As Xml.XmlDocument, ByVal SchemaPath as string) If XMLDocument.DocumentElement.NamespaceURI = ...more >>

A question for the guro
Posted by Ayende Rahien at 12/15/2003 7:08:54 PM
How do I select a node that has both namespace and is prefixed? IE: <a:b> (and also in the default namespace!) ...more >>

.net xml editor doesn't recognize extension correctly
Posted by John at 12/15/2003 5:26:55 PM
I am trying to use the xml desinger in .net 1.1 to create the follow schema. where USAddress is derived from Address But when I generate the xml file, the .net xml editor says "The active schema does not support the element 'street'" The schema is from a msdn .net example. What I am missin...more >>

Error Message (Same table, cannot be the the child of two nested relations)
Posted by Brian Kedersha at 12/15/2003 2:54:05 PM
We created a XML Schema that has nested table relations. We had the following Warning message come up. An unhandled exception of the type 'System.ArgumentException' occurred in system.data.dll Additional information: The same Table (DOS_Identifiers) cannot be the child table in two nested...more >>

Xml replace method removes indentations
Posted by Amendra at 12/15/2003 2:34:23 PM
Hi, I am using the document.replacechild method to replace some values. But when used, it removes the previous indentation that was in the document for that node. Actually looks like the CRLF is being removed for some reason, any luck. Eg... The original doc <locationAdd> <friend...more >>

System.Array to XML
Posted by Abraham Lopez at 12/15/2003 8:13:12 AM
Hi.. Is there a way to convert a System.Array to XML... If you know thanks very much... if you don't... Please do not respond stupid things like " Yes -- many ways." ...more >>

USE of system.xml.xpath
Posted by alpha at 12/15/2003 5:02:09 AM
Hi Friends, When we need the xpath namespace as we can traverse the xml document using xmldocument object like using selectSingleNode or selectNodes methods. In system.xml.xpath namespace we have to use XPathNavigator , XPathExpression , XPathNodeIterator class to get the sam...more >>


DevelopmentNow Blog