paragraph

The transformation element paragraph matches the <p> tag and outputs it as <ParagraphStyle>.

Attribute

HTML to XML

XML to HTML

style

Node without a class attribute is matched to node with Style="NormalParagraphStyle".

"anyClassValue" is matched to Style="anyClassValue"

Style="NormalParagraphStyleis matched to a node without a class attribute.

style none

Node without a class attribute is matched to Style="NormalParagraphStyle"

"anyClassValue" is matched to Style="anyClassValue"

Style="[No paragraph style]" is matched to node without class attribute.

style default

Node without class attribute is matched to Style="Default"

"anyClassValue" is matched to Style="anyClassValue"

Style="Default" is matched to node without class.

default style

Node without class attribute is matched to Style=""

"anyClassValue" is matched to Style="anyClassValue"

Style="anyStyleValue" is mtached to class="anyStyleValue".