K
K Viltersten
I've been blessed with opportunity to tear my
hair out because of porting a 3.0-version to
2.0. It's handling XML's.
I need help with the following method. The
problem is at the ???-part. How can i add new
nodes to the node list there?
private static XmlNodeList
getElementsNamed(
XmlNodeList list,
String[] names)
{
XmlNodeList output = new XmlNodeList()
foreach (XmlNode node in list)
foreach (String name in names)
if (node.Name == name)
output.???
return output;
}
hair out because of porting a 3.0-version to
2.0. It's handling XML's.
I need help with the following method. The
problem is at the ???-part. How can i add new
nodes to the node list there?
private static XmlNodeList
getElementsNamed(
XmlNodeList list,
String[] names)
{
XmlNodeList output = new XmlNodeList()
foreach (XmlNode node in list)
foreach (String name in names)
if (node.Name == name)
output.???
return output;
}