stk:time.format-time(template)

element()?stk:time.format-time
  1. xs:stringtime
  2. xs:stringlanguage
  3. xs:string?picture
  4. xs:booleanwrap-in-time
  5. xs:string*attr

Examples

Input

<xsl:call-template name="stk:time.format-time">
    <xsl:with-param name="time" select="'17:34'"/>
</xsl:call-template>

Result

<time datetime="17:34:00">17:34</time>

Parameters

time
Valid input formats: ISO 8601 and hh:mm
Type
xs:string
language
Type
xs:string
Default
$stk:language
picture
Type
xs:string?
wrap-in-time
Wrap the time in a time element?
Type
xs:boolean
Default
true()
attr
Custom attributes. Format: 'foo=bar'. Multiple attributes: 'foo=bar', 'fish=salmon'
Type
xs:string*