img

Matches <img> tag and outputs it as <Inline><Image/></Inline>.

Attribute

Description from HTML to XML

Description from XML to HTML

style

Node 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 style

Node 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 <img> 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.