G
Giulio Petrucci
Hi there,
I have this snippet:
using System.Xml;
....
XmlDocument doc = ...;
XmlNode foo = doc.CreateElement("foo");
foo.Attributes.Appen(doc.CreateAttribute("id", "23"));
my 'foo' tag looks like this:
<foo d2p1:id="" d2p1="23"/>
My questions are:
1. Why? ;-)
2. How can I get rid of the d2p stuff and have just <foo id="23/>?
Thanks in advance,
Giulio
--
I have this snippet:
using System.Xml;
....
XmlDocument doc = ...;
XmlNode foo = doc.CreateElement("foo");
foo.Attributes.Appen(doc.CreateAttribute("id", "23"));
my 'foo' tag looks like this:
<foo d2p1:id="" d2p1="23"/>
My questions are:
1. Why? ;-)
2. How can I get rid of the d2p stuff and have just <foo id="23/>?
Thanks in advance,
Giulio
--