Posts by Julio Cesar • 31 points
1 post
-
3
votes1
answer3577
viewsA: How to check if a tag exists in an xml?
var node = xmlEnvio.GetElementsByTagName("tag").OfType<XmlNode>(); if (node != null && node.Count() > 0) { foreach (XmlNode item in node) { if (item["tags"] != null) { //Código } }…