Open
Description
It helps to avoid creating new struct if the field is just a text and some attributes.
Attributes can be given in a Tuple with the xml name of them:
@aml mutable struct tr "~"
th::String, "~", missing, ("class", "style")
end
Two commas were used because the first one is the place holder for the value checking function.
For accessing the Dict
after creation, one should be able to do this:
tr.th # regular content
tr.th["class"] # attribute