Location: PHPKode > projects > XMLNuke Web Development Framework XML > xmlnuke-php5-v3.5r356/xmlnuke-php5/data/shared/snippet/snippet_htmlbody_faq.inc
<!-- USED ONLY WITH SNIPPET-HTMLBODY-BASIC -->
<!-- ATENTION: YOU NEED PUT IN YOUR HEADER SNIPPET_HTMLHEADER.INC -->
<!-- FAQ -->

<xsl:template match="faq">
  
  <xsl:if test="@title">
	<div style="text-weight: bold; font-size:18px"><xsl:value-of select="@title" /></div>
  </xsl:if>

  <div id="faqaccordion" style="margin-top: 2em;">
      <xsl:for-each select="item">
      <div>
    	 <h5><a href="#"><xsl:value-of select="@question" /></a></h5>
		 <div><xsl:apply-templates /></div>
	  </div>
      </xsl:for-each>
  </div>
</xsl:template>
Return current item: XMLNuke Web Development Framework XML