stk:html.process(template)

This template is used to process HTML-areas in your content. Creates native resource URLs (images, attachments, pages and content), replaces deprecated HTML content.

element()stk:html.process
  1. element()document
  2. element()*image
  3. element()*imagesize
  4. xs:string?filter
  5. xs:integerregion-width

Examples

Input

<xsl:call-template name="stk:html.process">
    <xsl:with-param name="document" select="contentdata/text"/>
</xsl:call-template>

Parameters

document
Type
element()
image
Type
element()*
Default
//content[contentdata/sourceimage]
imagesize
Type
element()*
Default
$stk:config-imagesize
filter
Type
xs:string?
Default
$stk:config-filter
region-width
Type
xs:integer
Default
$stk:img-max-width