G
Guest
I have the following xml file -
<?xml version="1.0" encoding="utf-8" ?>
<Publisher1>Mary</Publisher1>
<Distributor>Joe</Distributor>
and snippet of vb.net code that is failing with the error-
"The <Publisher1> tag from namespace is not expected"
Dim XmlReader As New XmlTextReader("ReplConfig.xml")
Return XmlReader.ReadElementString("Distributor")
Any ideas?
<?xml version="1.0" encoding="utf-8" ?>
<Publisher1>Mary</Publisher1>
<Distributor>Joe</Distributor>
and snippet of vb.net code that is failing with the error-
"The <Publisher1> tag from namespace is not expected"
Dim XmlReader As New XmlTextReader("ReplConfig.xml")
Return XmlReader.ReadElementString("Distributor")
Any ideas?