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 >>
|