WebMarkupMin.Core.GenericHtmlMinifier.CanRemoveXmlNamespaceAttribute C# (CSharp) 메소드

CanRemoveXmlNamespaceAttribute() 개인적인 정적인 메소드

Checks whether remove an the xmlns attribute
private static CanRemoveXmlNamespaceAttribute ( WebMarkupMin.Core.Parsers.HtmlTag tag, HtmlAttribute attribute ) : bool
tag WebMarkupMin.Core.Parsers.HtmlTag Tag
attribute WebMarkupMin.Core.Parsers.HtmlAttribute Attribute
리턴 bool
        private static bool CanRemoveXmlNamespaceAttribute(HtmlTag tag, HtmlAttribute attribute)
        {
            return tag.NameInLowercase == "html" && attribute.NameInLowercase == "xmlns";
        }