Exemple #1
0
            public static string StylesToString(HNodeTag node)
            {
                string desc = "{Styles: ";

                foreach (HStyle style in node.Styles)
                {
                    desc += style.ToString();
                    desc += "; ";
                }

                desc += "}";

                return(desc);
            }
Exemple #2
0
            public static string AttributesToString(HNodeTag node)
            {
                string desc = "{Attributes: ";

                foreach (HAttribute attribute in node.Attributes)
                {
                    desc += attribute.ToString();
                    desc += "; ";
                }

                desc += "}";

                return(desc);
            }