1. The Transformation elements

img

Matches tag and outputs it as .

AttributeDescription from HTML to XMLDescription from XML to HTML
styleNode without class attribute is matched to ObjectStyle="[Normal Graphics Frame]"

"anyClassValue" is matched to ObjectStyle="anyClassValue"
ObjectStyle="[Normal Graphics Frame]" is matched to node without class attribute.
default styleNode without class attribute is matched to ObjectStyle="".

anyClassValue" is matched to ObjectStyle="anyClassValue"
ObjectStyle="anyStyleValue" is matched to class="anyStyleValue".

From HTML to XML – all attributes are default match attributes, so the first is applied for the node and all tags are changed to <Image ObjectStyle="[Normal Graphics Frame]" .....>

From XML to HTML – the first attribute is an exact match attribute, the "default style" attribute is a default match attribute. If the ObjectStyle value is anything other than [Normal Graphics Frame], the "default style" attribute is used.

If you have suggestions for improving this article, let us know!