Hello,
If I have a xml document with a rootlevel
<workOrderReleased xmlns="http://www.qad.com/qdoc"
xmlns:enc="http://www.w3.org/2002/12/soap-encoding"
xmlns:qcom="http://www.qad.com/qdoc/common"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="workOrderReleasedWithComments-JITS17_1.xsd">
When I use the following vb.net code to remove the xlmns attributes they all
remove but the first one. I need to remove them all.
objXMLDoc.Load(fileString)
Dim objAttrib As XmlAttributeCollection =
objXMLDoc.DocumentElement.Attributes
objAttrib.RemoveAll()
Thank you for the help