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 > november 2005 > threads for november 1 - 7, 2005

Filter by week: 1 2 3 4 5

XmlDocument.WriteTo thread safety
Posted by Charles.Deisler NO[at]SPAM gmail.com at 11/6/2005 6:44:50 PM
I'm reading a xmldocument in from the file system and using xmldocument.writeto(xmltextwriter) to stream the xml data to the response.outputstream. From what i've read, reading an xmldocument is thread safe but does the writeto() method require a lock? Thanks in advance! ...more >>


passing param to xslt styleseet problem
Posted by Harolds at 11/6/2005 4:34:13 PM
The code below worked in VS 2003 & dotnet framework 1.1 but now in VS 2005 the pmID is evaluated to "" instead of what the value is set to: .... xmlItems.Document = pmXML // Add the pmID parameter to the XSLT stylesheet XsltArgumentList xsltArgList = new XsltArgumentList(); xsltArgList.Ad...more >>

How to add xsi:schemaLocation attribute to XML element
Posted by kaush at 11/4/2005 1:51:15 PM
Hi all, I am trying to serialize a C# object into a XML document using "XmlSerializer" class. One of the elements of the XML document needs a "xsi:schemaLocation" attribute. I am not sure how to add this to the XML element Please help me with if you can. Thanks, kaush ...more >>

simpleContent extension and attributes?
Posted by SideByEach at 11/4/2005 12:38:09 PM
Check out the sample XML below. Sample XML: <xs:element name="Image"> <xs:complexType> <xs:simpleContent> <xs:extension base="xs:string"> <xs:attribute name="Type" type="xs:string" use="required"/> <xs:attribute name="Name" type="xs:string" use="required"/> </xs:ext...more >>

Deleting XML Record from Dataset removing table?
Posted by John at 11/4/2005 12:07:23 PM
Hi All, When I delete the last record from my dataset and then WriteXML() to the file; the Table itself, in the xml file, is removed. I need to prevent the table structure from being deleted if there are no more records to be written to the XML file from the Dataset. Any ideas here, John...more >>

Best Web Service Approach
Posted by Kolossi at 11/4/2005 3:22:27 AM
I'm a bit of a newbie to web services, and would appreciate some thoughts as to the best approach for making a web service available to various, possibly non-microsoft, clients. I need to accept "orders" which are in an XML format defined by an XML schema (XSD) set by an external standards bod...more >>

xsl:apply-templates dont get it
Posted by jimbo_vr5 NO[at]SPAM hotmail.com at 11/4/2005 12:11:19 AM
Hey I think i've figured out the idea behind apply-templates. But going through the tutorial on <http://www.w3schools.com/xsl/xsl_apply_templates.asp> theres simply just something that i dont get! In the following i've copy pasted the example from <http://www.w3schools.com/xsl/xsl_apply_templ...more >>

Good XML-Database?
Posted by Pascal Schmitt at 11/3/2005 10:00:17 PM
Hello! I'm looking for a (free, if possible) XML-Database wich is usable from ..NET-Code (especially XPath-Queries and XSLT) I know eXist, but it is only accessible via WebServices or HTTP and the only working method (from .NET) is depreceated (XQuery does not work, it requires some kind...more >>



Reading an XML post in an ASP.NET web site
Posted by spudgun at 11/3/2005 2:53:06 PM
I desperately need some help on this. I have a website that will recieve votes via sms (text messages). The person voting will send a message to a certain number which will then forward on an xml post to an address I have specified. I've sent up an aspx file at this point with a form on it....more >>

how do you add an xml schema attributegroup to a complextype extension?
Posted by comic_rage NO[at]SPAM yahoo.com at 11/3/2005 9:49:37 AM
I am trying to get my schema to look like this <xsd:extension base="MyExtension"> <xsd:attributeGroup ref="DocumentAttributes"> <xsd:annotation> <xsd:documentation>Notes</xsd:documentation> </xsd:annotation> </xsd:attributeGroup> </xsd:extension> I know I need to add the a...more >>

Trouble with Xpath query
Posted by mel_dev NO[at]SPAM comcast.net at 11/3/2005 5:45:32 AM
All, I'm brand new to XML and have been given a deadline to deliver some new functionality part of which requires stepping through an xml doc. I have hit a wall with the way I've structured an xpath query to select nodes from the xml and would be most appreciative of some assistance. The beg...more >>

IXMLDOMDocument::loadXML fails on what seems to be a perfectly fine xml
Posted by Alexandra at 11/3/2005 12:17:45 AM
Hi, I am trying to parse an XML file using DOM in VC++. I need an element which is inside other elements. So I am loading the file. Calling GetElementsByTagName to get the first level elements. Iterating through them, get to the one I need and here I am actually in need of anoth...more >>

getting TEXT of an xslt.transform
Posted by darrel at 11/2/2005 5:01:43 PM
On my page right now, I call a function: <%=getMenu()%> in my codebehind, I have the function do an xslt transformation: sub xslt.Transform(doc, xslArg, Response.Output, Nothing) end sub Instead of calling the function directly on the main page, I now want to just place a literal...more >>

question on "include" in schema files (.xsd). Trouble validating schema in .NET
Posted by bibsoconner NO[at]SPAM yahoo.com at 11/2/2005 1:25:42 PM
Hi, I hope someone can please help me. I'm having a lot of trouble with schema files in .NET. I have produced a very simple example that uses "include" to include other schema files. It all works with SPY, but when I pick "Validate Schema" from the .NET 2003 menu, it fails with message: ...more >>

xml with inline xsl schema validation fails
Posted by madhumadala NO[at]SPAM gmail.com at 11/2/2005 9:40:15 AM
Hi, I have an xml file with inline xsl when i try to validate with the schema it is throuing lot of errors is there any way to do this if i remove xsl and validate, it is woring fine Thanks ...more >>

Safe way to read attribute
Posted by Torben Laursen at 11/2/2005 12:00:00 AM
Hi Is there a easy way to read a attribute and at the same time making sure that the attribute excist and is of the right type (int, string, double)? Thanks Torben ...more >>

allow any child element in
Posted by Jeremy Chapman at 11/1/2005 4:39:31 PM
I want to create an xsd so that I can validate xml against it. All I care is that the root node (named brl) exists in the document. Any other node can go inside it. If I validate an xml file with just the brl node it validates fine, but if I put other elements in I get errors. How can I c...more >>

Getting around .Net Strings being UTF-16 encoded only
Posted by Mike Murray at 11/1/2005 12:12:05 PM
Hi I have the following issue. I have a character that is return by a SQL Server database "=C9" to be precise, the issue is that when I store character in a .net string variable my understanding is that it converts it to UTF-16 automatically. I've seen a lot of quotes saying "All String dataty...more >>

Calls to GetElementsByTagName affect performance of XML DOM
Posted by Dima at 11/1/2005 8:46:17 AM
Call to XmlNode.GetElementsByTagName returns XmlNodeList that stays in sync with XmlDocument thanks to events fired by XmlDocument. Once this list is created there is no way to remove its event handlers from the document. Calling GetElementsByTagName second time for the same tag name will creat...more >>


DevelopmentNow Blog