Hi,
I am using the following code, and the xml being generated is shown
below:
XmlNode root = document.Docume ntElement;
XmlElement element = document.Create Element("rdf", "Stadium",
RDF_PATH);
element.SetAttr ibute("about", null, STADIUM_PATH+"/"+stadium.Name) ;
root.AppendChil d(element);
<rdf:Stadium about="http://www.test.fake/stadium/test" />
Now, what I require is to generate the following xml:
<rdf:Stadium rdf:about="http ://www.test.fake/stadium/test" />
How can this be done.
Can someone help me out.
Thanks in Advance
I am using the following code, and the xml being generated is shown
below:
XmlNode root = document.Docume ntElement;
XmlElement element = document.Create Element("rdf", "Stadium",
RDF_PATH);
element.SetAttr ibute("about", null, STADIUM_PATH+"/"+stadium.Name) ;
root.AppendChil d(element);
<rdf:Stadium about="http://www.test.fake/stadium/test" />
Now, what I require is to generate the following xml:
<rdf:Stadium rdf:about="http ://www.test.fake/stadium/test" />
How can this be done.
Can someone help me out.
Thanks in Advance
Comment