Name
getStretchyEmbellished
Synopsis
<xsl:template name="getStretchyEmbellished">
<xsl:param name="nodes"/>
<xsl:param name="mode" select="'v'"/>
...
</xsl:template>
Description
This function simply browses each node and checks if it is an embellished operator using
isEmbellished
function. If the function
returns
true
, the node is copied. Otherwise, nothing is done.
Parameters
-
nodes
-
Elements to check.
-
mode
-
Stretching mode: v
is to retrieve the operators that stretch vertically (default value),
h
is for horizontally, and b
is for both vertically and horizontally.
Returns
Returns all the embellished operators that have to stretch vertically, horizontally or both.