foundry:title function.
+ default-value otherwise.
+
+ A helper function for retrieving an attribute value from an element. If the attribute is
+ set on the current element the value of the attribute is used as result. If the
+ attribute is not set the default-value is used. This method is used
+ by several layout tags with optional attributes. A common use pattern looks like this:
+
+ <xsl:template match="example">
+ <xsl:variable name="width"
+ select="foundry:get-attribute-value('width', '640')" />
+ <xsl:variable name="height"
+ select="foundry:get-attribute-value('height', '480')" />
+ /<xsl:template>
+
+
+ In this example, the element example has two optional attributes:
+ with and height. If the attribute is set in processed XML,
+ the value set there is used. Otherwise the default value (640
+ respectively 480) is used. Without this function a code block like the
+ one in the xsl:choose block of this function would be necessary for
+ each of the variables.
+
true if the debug mode if active, false otherwise.