Using xsl:if

A simple example: using xsl:if to pluralize author if there are multiple authors.

]]>Author
<]]>xsl:if test=count( $docAuthors/author) gt 1
  ]]>s
xsl:if]]>
Variables and Conditionals, slide 4 of 6