Exemple #1
0
        // Adds the tags found in XmlNode to the HashNode as keyword and value pairs
        private static void AddTagsToNode(XmlNode node, HashNode hashNode)
        {
            foreach (XmlNode child in node.ChildNodes)
            {
                string keyword = child.Attributes[GlobalConstants.OSM_ATTR_KEYWORD].Value;
                string value   = child.Attributes[GlobalConstants.OSM_ATTR_VALUE].Value;

                hashNode.AddTag(keyword, value);
            }
        }