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 > february 2007 > threads for february 15 - 21, 2007

Filter by week: 1 2 3 4

vb.net xml namespace xmlns xmldocument
Posted by marfi95 at 2/21/2007 12:16:34 PM
I am using XMLDocument to create my xml. How do I remove the namespace information ? It is being put on all my xml nodes: <MyServ xmlns="http://www....../XInclude> <Timeout xmlns="">100</Timeout <MyServ> I am using CreateElement as such xElem = newXMLConfigDoc.CreateElement("Ti...more >>


Passing Static Text Between Client and Server
Posted by Mike at 2/21/2007 10:34:03 AM
I have a list of static text that I want the client and server to be able to share such that I don't have to hard-code the text on both sides. The client communicates with the server via web services. How do I set this up so that both sides can simply refer to the the same text? I tried a...more >>

vb.net creating xml
Posted by marfi95 at 2/21/2007 10:20:05 AM
My app is creating an entire XML document through the code. I want the root node to look as follows: <MyService xmlns:xi="http://www.w3.org/2003/XInclude"> .... </MyService I can't seem to get the :xi to be put into the xml though, so it looks like this: <MyService xmlns="http://www.w3...more >>

retaining leading whitespace in text of an xml node
Posted by Steve Richter at 2/19/2007 8:23:38 AM
when I run the following code the leading spaces of the "data" node are removed. How do I retain whitespace? private void CreateBasicXmlDocument() { XmlWriterSettings writeSettings = new XmlWriterSettings(); writeSettings.Indent = true; XmlWriter writer = XmlWri...more >>

xpath match text question
Posted by Chuck P at 2/18/2007 9:00:08 PM
I am trying to retrieve the @AnswerCount Attribute for the @QuestionID=1 AND the Answer element text =3 I successfully can pass the variables QuestionID and Answer but can't pull out the @AnswerCount <QuestionResults> <Question QuestionID="1"> <Answer AnswerCount="1">1</Ans...more >>

attribute not declared for validating schema init
Posted by William Johnston at 2/16/2007 11:18:00 AM
Hello, I get the following error when instanciating an XmlReader that performs validation: "The 'http://tenbase2.com/DVDTimestamps:schemaLocation' attribute is not declared." My beginning XML tag starts as follows: <DVDTimestamps xmlns:tb2="http://tenbase2.com/DVDTimestamps" tb2:schema...more >>

But it works without a namespace
Posted by nhogge NO[at]SPAM gmail.com at 2/15/2007 7:20:34 PM
I have recently come to peace with XML namespaces and have switch to always ripping them out to using them. Has not been too bad but some things I use to do no longer work. Given this XML: <?xml version="1.0"?> <UpdateManifest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd...more >>



DevelopmentNow Blog