I need a little help getting an attribute added to my XML Doc. I am trying to
interface with the FedEx web site and they have this in the root:
<FDXTrackResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="FDXTrackRequest.xsd ">
How do I get the noNamespaceSchemLocation in there? I have tried this: (This
is in the class of the XMLRoot)
[XmlAttribute("xsi", Namespace = "FDXTrackRequest.xsd")]
public string noNamespaceSchemaLocation;
and
[XmlAttribute("xsi:noNamespaceSchemaLocation", Namespace =
"FDXTrackRequest.xsd")]
public string noNamespaceSchemaLocation;
to no avail. What am I missing. I tried some other code I found in this
newsgroup and it did not work either.
--
Jerel Byrd