Exemplo n.º 1
0
        internal bool IsNewNode(XmlNode node)
        {
            // The transformation engine will only add elements. Anything
            // else that gets added must be contained by a new element.
            // So to determine what's new, we search up the tree for a new
            // element that contains this node.
            XmlFileInfoElement element = FindContainingElement(node) as XmlFileInfoElement;

            return(element != null && !element.IsOriginal);
        }
Exemplo n.º 2
0
        internal bool IsNewNode(XmlNode node)
        {
            XmlFileInfoElement element = this.FindContainingElement(node) as XmlFileInfoElement;

            return((element != null) && !element.IsOriginal);
        }