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

Filter by week: 1 2 3 4 5

XMLReader - nodes not found
Posted by Logician at 8/14/2005 12:45:53 AM
Task: To Read an XML document and handle data contents in .NET for new processing Request: Any details on how to read an XML document processing all nodes and content in .NET Problems: Duplicate DATA tags, end nodes (ley01) and then data lower down, system loses its positions My Experien...more >>


namespace problem during validation
Posted by tomek.romanowski NO[at]SPAM gmail.com at 8/13/2005 6:13:23 AM
Hi ! I have problem with validating of the document with multiple namespaces. The odd thing is, that my data work O'K when I test it under XMLSpy but it doesn't work with my C# code. My first 'main' schema is as follows: incr2.xsd ---------- <xs:schema targetNamespace="http://vit.volvo.co...more >>

The root element is missing
Posted by Samem N via DotNetMonster.com at 8/12/2005 7:29:21 PM
Does anyone know how to solve this error? I dont know where it went wrong. Any help would be appreciated .Thanks ERROR ______ Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and...more >>

Do you have to be online to validate XML against a W3C schema?
Posted by LesleyW at 8/12/2005 5:07:02 AM
Hi Apologies if this is a really dumb question, but being new to XML and Schemas, I wonder if giving the namespace for eg xsd or xsi as a website address means that the user has to be online when they run the app? If so, what should I do if I can't guarantee that they will be? Can I bring a...more >>

Invalid Characters Error calling XmlDocument.Load() when an XML Attribute value contains Chinese Characters
Posted by Chief at 8/11/2005 11:33:28 PM
I am unable to load an xml document that contains Chinese characters in an attribute value. I need to load the document into and XmlDocument object and am using the XmlDocument.Load(string filename) method. I get an error that says the document contains invalid characters. The document loads fin...more >>

How to Write XML document by reading .XSD File
Posted by mitesh.n.gandhi NO[at]SPAM gmail.com at 8/11/2005 11:23:58 PM
Hi, I would like to Write XML document by reading .xsd file using vb.net/c#.net. May be this Question has been answered earlier. Please if anyone knows the link or example let me know. Thanks, Mitesh ...more >>

Help on XML Explicit
Posted by maguca NO[at]SPAM gmail.com at 8/11/2005 2:32:10 PM
Hello, I am starting to work with XML Explicit. I am having problems with the tags and the level they generate in. Can anyone please help me, for I have looked aroung and it seems that I am doing everything fine!!! I am attaching below an example of the query and the XML it generates. =...more >>

xmlns="" in created elements
Posted by NeilL at 8/11/2005 10:12:03 AM
In the XML document I'm trying to create I do the following elem = _doc.CreateElement("Author"); elem.InnerText = "something"; parentElem.AppendChild(elem); Thiw works properly however the resulting XML file has the following <Author xmlns="">something</Author> what I'm trying to unde...more >>



Cannot use a prefix with an empty namespace exception
Posted by NeilL at 8/11/2005 9:51:09 AM
I'm trying to create an XML document that can be opened in Excel. I have some simple code that ... eventually does the following elem = _doc.CreateElement("Style"); elem.SetAttribute("ss:ID","Default"); elem.SetAttribute("ss:Name","Normal"); parentElem.AppendChild(elem); to add a "Style" ...more >>

Line number information in XmlDocument?
Posted by Greg Allen at 8/11/2005 9:39:44 AM
Is there a way to get line number information from an XmlDocument object? As I work with the various elements in the XmlDocument, I want to be able to refer to the line number. I found an article on extending the DOM, which seems to be exactly what I want, here: http://msdn2.microsoft...more >>

Inserting/Adding objects to Collections
Posted by Vishal Somaiya at 8/11/2005 12:00:00 AM
Hello I am trying read from a xml file, pull the values in a object and then add the object to an ArrayList. I am using a 'while' loop to move through each node in the xml file and pulling the required values as needed and setting them to the relevant property within my object. The reading of...more >>

how would I store the XML
Posted by rviray at 8/10/2005 9:03:38 PM
I am making multiple web service calls from a single ASPX page, th return from those WS calls are XmlDataDocuments. I am trying to make decision on where I should store the info (i.e., SQL, new xml file stored on web server, in memory Session objects, State Bag, etc.) really would like to sto...more >>

"the data at the root level is invalid" "line 1, position 1."
Posted by TS at 8/10/2005 10:29:29 AM
Hi, i have a problem validating xml against schema. I used http://apps.gotdotnet.com/xmltools/xsdvalidator/Default.aspx validator and it says it is fine. Can you tell me why this doesn't work? Thanks! Schema: <?xml version="1.0"?> <xs:schema id="ReportInfo" targetNamespace="http://tempur...more >>

Large xml file
Posted by Roshawn Dawson at 8/10/2005 8:02:00 AM
Hi, I'd like to know what's typically considered a large xml file? Are we talking about a file that's measured in kilobytes or megabytes and beyond? Where do we begin to consider an xml file to be a "large" file? Also, for small xml files and assuming that you want to perform an xsl tr...more >>

ReadXml inference rules?
Posted by n_o_s_p_a__m NO[at]SPAM mail.com at 8/9/2005 10:02:42 AM
Is there any documentation that explains the rules used by DataSet.ReadXml for creating columns and rows? ...more >>

How to handle apostrophe in xml
Posted by AGB at 8/9/2005 7:27:30 AM
Hi all, I am calling a web service that returns the characters &#39; wherever an apostrophe occurs in my xml results. This is through SharePoint. For instance, if I have the text Today's News I get Today&#39;s News. How can I convert this to Today's News easily? Thanks ...more >>

XslTransform return Xml.InnerText
Posted by Franck at 8/8/2005 11:59:12 PM
Hi, Getting crazy with the XslTransform Class. I'm trying to transform an xml string with an xsl string with the following code : 'Create the XslTransform object and load the stylesheet. Dim oXslXmlReader As XmlTextReader = New XmlTextReader(MyXslString, XmlNodeType.Document, Nothing) Dim o...more >>

Getting file size
Posted by Roshawn Dawson at 8/8/2005 3:56:14 PM
Hi, Does anyone know how to get the size of an xml file using VB.NET? I haven't the slightest idea where to begin. Thanks, Roshawn...more >>

Same Table cannot be the child table in two nexted relations...
Posted by Alfetta159 at 8/8/2005 1:07:02 PM
I've been setting up a schema with the XML Designer in VS .NET 2003. The designer lets me set up a lot of things including a complex type that contains an unnamed complex type called modified. When I try to preview the dataset, I get an error described as "The same table (modified) cannot ...more >>

how to detect who redirects traffic to a aspx page? is this info passed along in request object or can sites anonymously redirect traffic to other sit
Posted by Daniel at 8/8/2005 12:15:59 PM
how to detect who redirects traffic to a aspx page? is this info passed along in request object or can sites anonymously redirect traffic to other sites? ...more >>

Do ID & IDREF work in DOTNET - they do in MSXML4.0
Posted by VernonR at 8/8/2005 6:39:07 AM
I'm having problems getting the .NET 1.1 XSL transform to cross reference using ID / IDREF correctly. I have collapsed to a simple set of files to show the problem more clearly... The output line using MSXML4.0 is correct <Output>First List Item = Hello</Output> The output using MSXML3.0...more >>

XML Newbie Question
Posted by Colin Basterfield at 8/8/2005 12:00:00 AM
Hi, I have a class class SearchStateSpec { private string _text; private string _sql; private Type SelectionClass; } Now as there are a number of these, I'd like to store these in an XML file, and load them up when the program needs them, or at create time, so what are ...more >>


DevelopmentNow Blog