Parse a tag and find a value for an attribute whether it is standalone or embedded in a style.
It can also parse a CSS style if it is wrapped in {...}, e.g. "{fill:#ffffff;fill-rule:evenodd;fill-opacity:1;stroke:none;}" .
If ParseAll=True, it keeps processing the string until the attribute is found (even if there are multiple tags within the string).