WebMarkupMin.Core.GenericHtmlMinifier.CanRemoveXmlNamespaceAttribute C# (CSharp) Method

CanRemoveXmlNamespaceAttribute() private static method

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
return bool
        private static bool CanRemoveXmlNamespaceAttribute(HtmlTag tag, HtmlAttribute attribute)
        {
            return tag.NameInLowercase == "html" && attribute.NameInLowercase == "xmlns";
        }