- The characters `⸨` and `⸩` indicate parenthetical content
(`<html:small>`).
-- The characters `☞︎` and `☜︎` indicate strong importance
- (`<html:strong>`).
-
-- The characters `⹐` and `⹑` indicate emphasis (`<html:em>`).
+- The characters `` ` `` and `´` indicate code (`<html:code>`).
- The characters `⟪` and `⟫` indicate titles (`<html:cite>`).
- The characters `⦃` and `⦄` indicate keyword highlighting
(`<html:b>`).
-- The characters `` ` `` and `´` indicate code (`<html:code>`).
+- The characters `☞︎` and `☜︎` indicate strong importance
+ (`<html:strong>`).
+
+- The characters `⹐` and `⹑` indicate emphasis (`<html:em>`).
Once the tree is built as above, it is remediated into its final form
by the following steps :—
<with-param name="end-sigil" select="'⸩'"/>
</apply-templates>
</variable>
- <apply-templates select="exsl:node-set($result)/node()" mode="LesML:important"/>
- </template>
- <template match="node()" mode="LesML:important">
- <variable name="result">
- <apply-templates select="." mode="LesML:inline">
- <with-param name="element-name" select="'html:strong'"/>
- <with-param name="start-sigil" select="'☞'"/>
- <with-param name="end-sigil" select="'☜'"/>
- </apply-templates>
- </variable>
- <apply-templates select="exsl:node-set($result)/node()" mode="LesML:emphasized"/>
+ <apply-templates select="exsl:node-set($result)/node()" mode="LesML:code"/>
</template>
- <template match="node()" mode="LesML:emphasized">
+ <template match="node()" mode="LesML:code">
<variable name="result">
<apply-templates select="." mode="LesML:inline">
- <with-param name="element-name" select="'html:em'"/>
- <with-param name="start-sigil" select="'⹐'"/>
- <with-param name="end-sigil" select="'⹑'"/>
+ <with-param name="element-name" select="'html:code'"/>
+ <with-param name="start-sigil" select="'`'"/>
+ <with-param name="end-sigil" select="'´'"/>
</apply-templates>
</variable>
<apply-templates select="exsl:node-set($result)/node()" mode="LesML:titled"/>
<with-param name="end-sigil" select="'⦄'"/>
</apply-templates>
</variable>
- <apply-templates select="exsl:node-set($result)/node()" mode="LesML:code"/>
+ <apply-templates select="exsl:node-set($result)/node()" mode="LesML:important"/>
</template>
- <template match="node()" mode="LesML:code">
+ <template match="node()" mode="LesML:important">
+ <variable name="result">
+ <apply-templates select="." mode="LesML:inline">
+ <with-param name="element-name" select="'html:strong'"/>
+ <with-param name="start-sigil" select="'☞'"/>
+ <with-param name="end-sigil" select="'☜'"/>
+ </apply-templates>
+ </variable>
+ <apply-templates select="exsl:node-set($result)/node()" mode="LesML:emphasized"/>
+ </template>
+ <template match="node()" mode="LesML:emphasized">
<apply-templates select="." mode="LesML:inline">
- <with-param name="element-name" select="'html:code'"/>
- <with-param name="start-sigil" select="'`'"/>
- <with-param name="end-sigil" select="'´'"/>
+ <with-param name="element-name" select="'html:em'"/>
+ <with-param name="start-sigil" select="'⹐'"/>
+ <with-param name="end-sigil" select="'⹑'"/>
</apply-templates>
</template>
</transform>