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 > january 2005 > threads for january 8 - 14, 2005

Filter by week: 1 2 3 4 5

Limit or specify nodes returned with SelectNodes() and xPath?
Posted by Dave at 1/14/2005 12:31:06 PM
Hi, Can you limit the number or specify which nodes are returned using an xPath query and the XmlDocument.SelectNodes() method? Such as return rows 1 to 25. Or do you have to use a foreach loop and select each node and build a new document from that? Thanks, Dave....more >>

XML Schema Validation Question
Posted by Drew Berkemeyer at 1/14/2005 11:19:02 AM
Hello, How can I use XSD to ignore certain nodes of an XML document. Specifically, we have an event that I want to define using XSD. I then want to validate incoming XML events with that XSD. However, I want the payload section of the event to be freeform and thus, *NOT* validated. Is th...more >>

Sending serialized XML by TCP
Posted by BrentonMCA at 1/13/2005 9:27:02 PM
I want to be able to serialise a .Net object and send the resulting XML by TCP. How can I extract the serialised XML as a string?...more >>

XML corruption when sent as email body...
Posted by Richard Moore at 1/13/2005 6:50:21 PM
Hi, Not sure if this is entirely an XML issue - but if I send an XML document in the message body of an email it gets mangled as follows... <dsOrderSummary= xmlns=3D"http://www=2Etempuri=2Eorg/dsOrderSummary=2Exsd"> The line of XML should actually read... <dsOrderSummary xmlns="http://w...more >>

XPath
Posted by Patrick at 1/13/2005 11:11:02 AM
Dear Ng, after I have loaded am XmlDataDocument file, I try to extract a single node via XmlElement myElem = (XmlElement)this.XmlDataDocument.SelectSingleNode("/Document/Headerdata/myElem"); this.myProperty = myElem.InnerText; But the myElem object stays undefined. The XPath is definit...more >>

intermittent error calling .NET web service
Posted by Eddie J at 1/13/2005 9:31:06 AM
I'm getting an intermittent error when calling a .NET web service from a .NET console application. Both are using v.1.1.4322 of the framework. Any ideas on what could be causing this? It can fail and then a few seconds later can work fine. The exception is: <log4net:event logger="WRDat...more >>

storing xml in cache asp.net
Posted by csgraham74 NO[at]SPAM hotmail.com at 1/13/2005 8:45:58 AM
Hi, Im building an asp.net website that uses xml documents for retrieval of data from a database. Can anyone give me examples on how to store xml documents in a cache and retrieve them again from a different webpage. Thanks CG...more >>

Using XPath against serialized object
Posted by Don at 1/12/2005 4:39:33 PM
Hi: I have the following web service object serialized into my XML DOM. With XPath, I am able to select '//document/Info/ID' from the XML. Adding the namespace is where I get a problem(see XML below). -------------------------- <document> <Info xmlns:xsd="http://www.w3.org/2...more >>



XmlValidatingReader, XmlSchemaException extra elements error handling
Posted by matthew.schneider NO[at]SPAM gmail.com at 1/12/2005 2:22:35 PM
I have a defined XML Schema, and XML documents containing data that I validate against it. Periodically, I will have a data document that will contain extra elements that are not part of my schema. The powers that be have determined that this is acceptable. I am looking for the best way to con...more >>

How do you use the xsd file?
Posted by Eskimo at 1/12/2005 1:19:05 PM
I get "The attribute targetNamespace does not match the designated namespace URI" and nothing else. I have an xml file, that was pre-existing. I have to validate against the schema provided, I downloaded it, and was attempting to use (where FILENAME = the .xml and sSchema is the path+f...more >>

XML & Decimal Numbers
Posted by John Bowman at 1/12/2005 12:21:53 PM
Hi, A couple Q's , so I've come to the experts<g>. 1) I need a definitive answer to the following debate. I've got a couple developers who disagree on the following question. We've got an XML file of numerical data results where it could contain values such as: <RESULT>0.12345</RESULT> ...more >>

XMLNodeReader, stupid question ?
Posted by Kris Desmadryl at 1/11/2005 1:20:05 PM
I want to loop all nodes of an xml file, because I want to search the content for a certain search pattern. I did something like this : reader = New XmlNodeReader(doc) While reader.Read() Select Case reader.NodeType Case XmlNodeType.Element Select Cas...more >>

Transforming Spaces into HTML file via XSL file
Posted by John Bowman at 1/10/2005 5:48:23 PM
Hi, I'm not certain this is the best place to post this, but here it goes. I'm trying to get spaces to work correctly when using the WebBrowser control. Basically, I've got a valid XML document and valid XSL file that I transform into an HTML file using .NET's XmlTransform object. This is ...more >>

xmlserialization and filenotfound exception too
Posted by alocin at 1/10/2005 1:17:05 PM
hi all; i got a dll with a simple class that instances a new XmlSerializer in her own method; i referenced that dll in a ascx control's code behind; the .ascx control is inserted in a aspx page. browsing the aspx page in IE, it crashes and i saw it throw a FileNotFoundException calling th...more >>

XSD Pattern Validation
Posted by Chin Jin Phua at 1/10/2005 12:18:32 PM
Hi, Anyone know how to specify a <XS:Pattern> so as to include a set of allowable characters? For example, I would like to allow all characters except QUOTE, PERCENT and AMPERSAND? Is that even possible to specify it in the XSD Schema? Thanks CJ...more >>

removing xmlns form xml vb.net
Posted by Jack Colletta at 1/9/2005 11:35:01 AM
Hello, If I have a xml document with a rootlevel <workOrderReleased xmlns="http://www.qad.com/qdoc" xmlns:enc="http://www.w3.org/2002/12/soap-encoding" xmlns:qcom="http://www.qad.com/qdoc/common" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="workOrderReleas...more >>

Reading child nodes with XmlTextReader?
Posted by Emsi at 1/8/2005 10:35:36 PM
Hello, how can I read values of child nodes with the XmlTextReader? File format: <root> <items> <item> <field1>value1</field1> <field2>value2</field2> </item> <item> .. </item> </items> </root> I'm loopin...more >>

XML vs. SQL Database
Posted by Michael Jesse at 1/8/2005 6:46:49 PM
I am developing a home project to be later released as an online application. I am currently using XML to store game data, user/member data, and other. Assuming a user base of 10,000 active users, is there a conflict if one user is updating information and another user is creating data on ...more >>

XML Schema, how to create one for this xml file?
Posted by android at 1/8/2005 4:29:01 AM
<Directory xmlns="http://tempuri.org/test.xsd" name="root"> <file name="File1"></file> <file name="File2"></file> <Directory name="Dir1"> <file name="File1"></file> <file name="File2"></file> <Directory name="Dir1"> <file name="File1"></file> ...more >>


DevelopmentNow Blog