public static string StylesToString(HNodeTag node) { string desc = "{Styles: "; foreach (HStyle style in node.Styles) { desc += style.ToString(); desc += "; "; } desc += "}"; return(desc); }
public static string AttributesToString(HNodeTag node) { string desc = "{Attributes: "; foreach (HAttribute attribute in node.Attributes) { desc += attribute.ToString(); desc += "; "; } desc += "}"; return(desc); }