Faq Objekt, 4. Schritt (XSLT) - Einfache Version

"Roger Fischer" <[email protected]>
Newsgroups gmane.comp.cms.bitflux.general.german
Message-ID <[email protected]>
$PROJECT_DIR/xsl/faq.xsl


faq.xsl
-------

<?xml version="1.0" encoding="iso-8859-1" ?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:import href="../xsl/master.xsl"/>
<xsl:output method="html" encoding="iso-8859-1" indent="no"
doctype-public="-//W3C//DTD HTML 4.0 Transitional//EN"/>

<xsl:include href="../xsl/docbook/html/docbook.xsl" />
<xsl:include href="../xsl/docbook/common/common.xsl" />

<xsl:include href="../xsl/top_row_main_navigation.xsl" />
<xsl:include href="../xsl/left_column_navigation.xsl" />
<xsl:include href="../xsl/right_column_syndication.xsl" />
<xsl:include href="../xsl/footer.xsl" />



<xsl:template name="middle_column_main_content">

<td align="left" valign="top">
   	<table width="501" border="0" cellspacing="0" cellpadding="0">
	    <tr>
          <td></td>
        </tr>
	</table>
	<xsl:for-each select="$thisDocument/Faq">
	<table>
	<tr>
	  <td colspan="2">
      <b><xsl:value-of select="title"/></b><br/>
	  <xsl:value-of select="question"/><br/>
	  <xsl:apply-templates select="answer"/><br/>
	  </td>
	       </tr>
        	<tr>
            	<td align="left" colspan="2">
				    <br/>
                    <img src="/images/line_punkt_quer501.gif" width="501"
height="1" border="0"/>
					<br/>
				 </td>
			</tr>
		</table>
     </xsl:for-each>
</td>
</xsl:template>

</xsl:stylesheet>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.