Example

The following example shows how to print out the tag, its properties, and its required and optional subtags:

<p>
  <xsl:if test="(//tag/@inSubject = 'True') and (//tag/@inBody = 'True')">
    The operation tag must be on the subject line or on the first line of the body.
  </xsl:if>
  <xsl:if test="(//tag/@inSubject = 'True') and (//tag/@inBody = 'False')">
    The operation tag must be on the subject line.
  </xsl:if>
  <xsl:if test="(//tag/@inSubject = 'False') and (//tag/@inBody = 'True')">
    The operation tag must be on the first line of the body.
  </xsl:if>
</p>

<p>
  Operation tag is:<br/>
  <b><xsl:value-of select="//tag/@name"/></b>
</p>

<p>
  <table class="propertyList" border="1">
    <caption>Required Parameters</caption>
    <xsl:for-each select="//tag/param[@required = 'True']">
      <tr><td><xsl:value-of select="@name"/></td></tr>
    </xsl:for-each>		
  </table>
</p>

<p>
  <table class="propertyList" border="1">
    <caption>Optional Parameters</caption>
    <xsl:for-each select="//tag/param[@required = 'False']">
      <tr><td><xsl:value-of select="@name"/></td></tr>
    </xsl:for-each>		
  </table>
</p>

See Also

Help Tag Not Found

Raw XML

Next

Raw XML

Example