XSLT - XSL template with param

0 votes
293 views
added Sep 26, 2019 in XSLT by anonymous
<!--example 1-->
<xsl:if test="$PropertyListing/PropertyCategoryTypes">
  <xsl:call-template name="ToTitleCase">
    <xsl:with-param name="text" select="$PropertyListing/PropertyCategoryTypes"/>
  </xsl:call-template>
</xsl:if>

 

1 Response

0 votes
responded Sep 26, 2019 by anonymous
<!--example 2-->
<xsl:call-template name="ImageTagHelper">
  <xsl:with-param name="ImageInfo" select="." />
  <xsl:with-param name="Size" select="2" />
  <xsl:with-param name="AltText" select="'...'" />
</xsl:call-template>

 

lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...