The specified node cannot be inserted as the valid child of this node, because the specified node is

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
I have an XmlNode (the concrete type is XmlElement) and I want to add an attribute. If I create an XmlAttribute and use l.AppendChild(a) I get an error:
<span style="font-family:Consolas; font-size:xx-small <span style="font-family:Consolas; font-size:xx-small
The specified node cannot be inserted as the valid child of this node, because the specified node is the wrong type.
<hr class="sig Kevin Burton

View the full article
 
Back
Top