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 > april 2005 > threads for april 15 - 21, 2005

Filter by week: 1 2 3 4 5

XPathNodeIterator.Count Bug?
Posted by Jamie da Silva at 4/21/2005 11:06:02 PM
I couldn't find a better resource for reporting a possible .NET Framework 1.1 (SP0 & 1) bug, so if this is not the proper forum, please let me know. The problem appears to occur when using "self::" to match the current node of an XPathNavigator. In this case the resulting XPathNodeIterator r...more >>


getting around SOM limitations
Posted by Rein Petersen at 4/21/2005 1:26:13 PM
Hey, I love the SOM buuuuuut, I'm trying to add/read my own namespaced attribute in a node of my schema without having to jump back and forth from SOM to DOM. I think a sample is important here because there will certainly be confusion about what kind of attribute I'm talking about. Here is...more >>

Save DB query results as XML file
Posted by Trillium at 4/21/2005 1:20:03 PM
I am trying to query a SQL Server database, retrieve the results as XML, and save them to a file. I was trying to use the SqlXmlCommand, SqlXmlCommandType.XPath and an xsd to query the database, and load the results into a XmlTextReader. This works fine. But then I get stuck. I don't wan...more >>

XmlValidatingReader question
Posted by jason at 4/21/2005 9:36:41 AM
how do you use the XmlValidatingReader to validate an XML document that is passed into the XmlValidatingReader constructor? it looks like the normal process is to use an underlying reader, as follows (C#): XmlValidatingReader oMyVReader = new XmlValidatingReader(oMyReader); oMyVReader...more >>

XPath query doesn't work in .Net 2.0
Posted by Sébastien Ros at 4/21/2005 5:29:02 AM
I tries to migrate an existing application from 1.1 to 2.0 but it seems that one of my XPath expressions no more works on this version. I tried a SelectNodes().Count. The result is 1 in v1.1 and 0 in v2.0. Here is the XPath expression: //Entity[@Type = 'EPT:Priority' and (Attribute[@Name = ...more >>

Read from webpage ?
Posted by kjo007 NO[at]SPAM hotmail.com at 4/21/2005 1:51:15 AM
Is there a way i can read xml from a webpage. The situation is that i have to type in an Url with some parameters (a login), when the page returns, it returns an ID that i have to use through the session, the ID is retuned in XML format, and this is what i need to read. The Xml page looks l...more >>

Compilation error in class generated with XSD.exe
Posted by Julia Beresford at 4/21/2005 1:47:02 AM
Hi I am having problems generating classes from an xml schema using XSD.exe. The schema in question is WiX.xsd (a Microsoft schema for WiX - a tool to create MSIs). The xsd tool generates the classes but I get the following compilation error: -------------------------------------------...more >>

Serializing 'unknown' objects
Posted by Ivo Bronsveld at 4/21/2005 12:00:00 AM
All, I have quite a challenging task ahead of me. I need to write an object model (for code access) based on a schema, which cannot be made into a dataset because of it's complexity. So I created a couple of objects and serializing it into XML based upon the schema works perfectly. The ...more >>



how to deserialize a sub class
Posted by saliwen at 4/20/2005 11:31:01 PM
hi,all I'v gotten a problerm of deserializing xml to object.the scene is: I generated the classes using xsd tools including a class A and sub-class B, then I deserialize from XmlNodeReader only has B's node, and no exception was catched,and instance of B has been constructed,but has no data ....more >>

XSLT Question
Posted by Philipp Schumann at 4/20/2005 4:47:02 PM
Hi, I'm using .NET Framework 1.1 XSLT. Can anyone tell me why this works: <xsl:for-each select="$somenodelist"> <xsl:if test="ext:CheckCondition (@condition)">Bla</xsl:if> </xsl:for-each> But the following doesn't produce the same results - it behaves as if CheckCondition (a custom f...more >>

Modifying an XML of more than 10 GB(REALTIME) !!!!
Posted by Harpreet Matharu via DotNetMonster.com at 4/20/2005 4:28:23 PM
Hello, I'm working on a very large XML file in C#. I need to modify or insert certain data on spicified tags in the file, without creating a new file !!!! !. How can this be possible ? I'm using XmlTextReader for reading this file....more >>

using xml to build ASP.NET applications
Posted by chris yoker via DotNetMonster.com at 4/20/2005 3:09:18 PM
hiya, ATM, I use vis studio to drag and drop controls on to my web forms. Apparently, an app can be built via XML and XSLT.I've been googling, but I'm still none the wiser as to why people would go to a low level of xml when they could use the IDE? Is it because: 1) the same xml can be us...more >>

Modifying Excel in DotNet System.Xml
Posted by tascienu NO[at]SPAM ecoaches.com at 4/20/2005 2:41:00 PM
Consider the following code... Open excel document and save it as xml. Try to modify it in vs.net using the following code... ' ------------------------------ Try Dim x As New Xml.XmlDocument x.Load("Book1.xml") Dim CellNode As Xml.XmlNodeList = x.DocumentElement.ChildNodes M...more >>

InnerXML and InnerText BOTH don't work right
Posted by kben at 4/20/2005 2:36:56 PM
I'm trying to get some text into an XMLElement that may or may not contain markup, and it may or may not contain characters that need escaping. I want the special characters escaped, but I want to preserve the markup. This is so a user can enter some text with (xml compatible) HTML tags and hav...more >>

Problem with XMLTextReader
Posted by prasad at 4/20/2005 12:00:00 AM
Hi, I am using XMLTextReader class to read the xml files. In some cases xml declaration tag might start after space/tab charecters. These kind of files are supported by the browsers and xml dom's but the xmltextreader's are not supporting to read this kind of files. Using XMLTextRea...more >>

Problem with calling .Net Web Service. XML provided. Anyone help?
Posted by windsurfing_stew NO[at]SPAM yahoo.com.au at 4/19/2005 11:25:33 PM
Hi, I'm hoping that someone will be able to help out with a problem we are having. We have a web service built in .Net 1.1. We are trying to call it from PHP4 using the NuSOAP add on. It seems the SOAP it is sending as the request isn't what the web service is looking for. Here is what m...more >>

soap serialisation to text
Posted by BrentonMCA at 4/19/2005 9:44:01 PM
I want to be able to serialise an object and then pass the serialisation text as a string to a Web service without serialising to a file first. I also want to be able to deserialise from the text without using a file. How can I do these? Brenton...more >>

Strange question: Add same nodes to XmlDocument
Posted by Marco Rizzi at 4/19/2005 7:48:02 AM
Hi all, i'm trying to add same node to XmlDocument. This is Xml that I want to create: <TableColumns> <TableColumn><Width>1.5in</Width></TableColumn> <TableColumn><Width>1.5in</Width></TableColumn> <TableColumn><Width>1.5in</Width></TableColumn> <TableColumn><Width>1.5in</Width></TableColumn>...more >>

Webservice from XSD
Posted by jacobs.j NO[at]SPAM pandora.be at 4/19/2005 1:04:11 AM
Hello, recently I have been assigned the task to upgrade an application. This application communicated with a 3rd party through mail boxes. Now this 3rd party wants to upgrade to using webservice requests, and so we have to upgrade too. The problem is 1) I have very limited knowledge of ...more >>

fastest way to ReadXmlSchema, ReadXml and WriteXml
Posted by DraguVaso at 4/19/2005 12:00:00 AM
Hi, I should use XML to synchronize the data from different (VB.NET) applications, and I was just wondering which Overloads of these functions ( ReadXmlSchema, ReadXml and WriteXml) goes the fastest? I don't think the ReadXMLSchema would give a lot of difference, but maybe the overlaods of Re...more >>

SelectSingleNode and Namespace
Posted by Jonathan at 4/18/2005 12:00:00 AM
Hi, I use a XML-Doc with a Namespace like the following example: <HomedResources = xmlns=3Dhttp://schemas.microsoft.com/RtcServer/2002/11/dbimpexp = Version=3D"3"> <HomedResource UserAtHost=3D"PBoul@team.de" Enabled=3D"1" = VersionPermission=3D"10" =20 VersionContac...more >>

Validation fails when mixing XSD and DTD
Posted by ben at 4/15/2005 1:02:48 PM
When running the code below the validation fails when the first line of my xml contains <legalEnvelope version="1.1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > If I change this line to <legalEnvelope version="1.1"> It validated...more >>

Schemaset : schema compiled form code shows no PSVI elements
Posted by Steve at Pixelda at 4/15/2005 6:04:04 AM
I accidentally put this on another group - this is the more likley home... The first code fragment creates the simplest of XML Schemas is code. After the “Compile()” method is called on the schemaset objetc, the schema element count is zero – but I was expecting one element in the PSVI...more >>

WBI SOAP response - accented characters missing
Posted by Satish at 4/15/2005 2:46:02 AM
Hi Gurus, Please help me in this, I have tried all options available to me. (Option 1) I am making a simple request from VB.NET client to WBI generated WSDL and passing request parameters. The response I am expecting should have some accented characters (Customer Name: Lokalcenter Åbygård...more >>

How to add a namespace prefix to a digital signature
Posted by S. Baumann at 4/15/2005 12:00:00 AM
Hello, I use a code very similar to that found in the MSDN sample attached to the class XmlDsigEnvelopedSignatureTransform (code attached below). The code works fine and produces somethink like <Signature xmlns="http://www.w3.org/2000/09/xmldsig#"> <SignedInfo> <Canonicaliz...more >>


DevelopmentNow Blog