<?xml version="1.0" encoding="UTF-8"?>

  <!-- ############### AML FAQ XSLT (English) ########### -->
  <!-- # (c) www.help-info.de                           # -->
  <!-- # 2007-05-27 first release                       # -->
  <!-- # 2007-08-10 $HeadTitle                          # -->
  <!-- # 2007-08-10 fix: aml without faqDiv             # -->
  <!-- #                                                # -->
  <!-- ################################################## -->
  <!-- # answer                                         # -->
  <!-- # faq                                            # -->
  <!-- # faqDiv                                         # -->
  <!-- # faqEntry                                       # -->
  <!-- # question                                       # -->
  <!-- # transition                                     # -->
  <!-- #                                                # -->
  <!-- ################################################## -->

<xsl:stylesheet version="1.0"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                xmlns="http://www.w3.org/1999/xhtml"
		xmlns:aml="http://schemas.microsoft.com/maml/2004/10">

<!-- ===== setting values ================================== -->
<xsl:variable name="HeadTitle">Help-Info.de - Frequently Asked Questions</xsl:variable>

  <xsl:template match ="/">
    <html>
      <head>
        <title><xsl:value-of select="$HeadTitle" /></title>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
        <meta http-equiv="content-language" content="de"/>
        <meta name="keywords" content="MAML, FAQ, Frequently Asked Questions, Content Type, XSL, XML"/>
        <link href="../design_aml.css" rel="stylesheet" type="text/css"/>
      </head>
      <body>
        <xsl:call-template name="header"/>
        <!-- *** begin wrapper *** -->
        <div id="wrapper">
        <!-- *** begin content      *** -->
        <div id="content">
        <xsl:apply-templates/>
        <xsl:call-template name="footer"/>
        </div>
        <!-- *** end content *** -->
        </div>
        <!-- *** end wrapper *** -->
      </body>
    </html>
  </xsl:template>

<xsl:include href="aml_include_element-stylesheet.xsl" />

  <!-- ################# answer           ############### -->
  <xsl:template match="aml:answer">
    <tr class="background-solution">
      <td>
          <xsl:apply-templates/>
      </td>
    </tr>
  </xsl:template>
  <!-- ################# faq              ############### -->
  <xsl:template match="aml:faq">
    <h1>FAQ</h1>
    <xsl:if test="aml:faqDiv">
    <ul>
      <xsl:for-each select="aml:faqDiv">
        <li>
        <!-- ### add href to anchor for each title ### -->
          <a>
            <xsl:attribute name="href">#<xsl:value-of select="aml:title"/>
	    </xsl:attribute><xsl:value-of select="aml:title"/>
          </a>
        </li>
      </xsl:for-each>
    </ul>
  </xsl:if>
    <hr size="1"/>
    <p>
    Use STRG + F to find keywords!
    </p>
    <xsl:apply-templates/>
  </xsl:template>
  <!-- ################# faqDiv           ############### -->
  <xsl:template match="aml:faqDiv">
  <!-- ### add anchor for each title ### -->
    <a>
      <xsl:attribute name="name">
        <xsl:value-of select="aml:title"/>
      </xsl:attribute>
    </a>
      <hr size="1"/>
          <a href="#top">
            <img src="../images/site_arrow_up_16px.gif" width="16" height="16" border="0" title="Up .."/>
          </a>
      <xsl:apply-templates/>
  </xsl:template>
  <!-- ################# faqEntry         ############### -->
  <xsl:template match="aml:faqEntry">
    <table class="decoration">
      <xsl:apply-templates/>
    </table>
  </xsl:template>
  <!-- ################# question         ############### -->
  <xsl:template match="aml:question">
    <tr class="background-cause">
      <td>
        <xsl:apply-templates/>
      </td>
    </tr>
  </xsl:template>
  <!-- ############### transition ############### -->
  <xsl:template match="transition">
        <xsl:apply-templates/>
  </xsl:template>


  <!-- ############### header      ############### -->
  <xsl:template name="header">
  <!-- ### start of header ### -->
    <a name="top" id="top"/>
    <table  width="100%" height="72" border="0" cellpadding="0" cellspacing="0" background="../images/menu/menu_3px.jpg">
      <tr>
        <td>
          <a href="../home.htm">
            <img src="../images/menu/menu_logo.jpg" width="350" height="72" border="0"/>
          </a>
          <a href="../../de/xml/maml_faq.xml">
            <img src="../images/menu/menu_flag-de.jpg" width="25" height="72" border="0"/>
          </a>
          <a href="../redirect.htm">
            <img src="../images/menu/menu_sitemap.jpg" width="29" height="72" border="0"/>
          </a>
          <a href="../Help_Info_AP_Help/ap_help.htm">
            <img src="../images/menu/menu_ap_help.jpg" width="63" height="72" border="0"/>
          </a>
          <a href="../Help_Info_Help2/h2.htm">
            <img src="../images/menu/menu_help2.jpg" alt="Help2" width="51" height="72" border="0"/>
          </a>
          <a href="../Help_Info_HTMLHelp/hh.htm">
            <img src="../images/menu/menu_htmlhelp.jpg" alt="HTMLHelp" width="77" height="72" border="0"/>
          </a>
          <a href="../Help_Info_WinHelp/hw.htm">
            <img src="../images/menu/menu_winhelp.jpg" alt="WinHelp" width="67" height="72" border="0"/>
          </a>
          <a href="../Visual_Basic_2005/vb_2005.htm">
            <img src="../images/menu/menu_vb.jpg" width="30" height="72" border="0"/>
          </a>
          <a href="../Service/contact.htm">
            <img src="../images/menu/menu_impressum.jpg" width="83" height="72" border="0"/>
          </a>
        </td>
      </tr>
    </table>
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td background="../images/site/riffel_40px.jpg">
          <a href="../home.htm">
            <img src="../images/site/home.png" width="25" height="25" border="0"/>
          </a>
        </td>
      </tr>
    </table>
    <!-- ### end of header ### -->
     </xsl:template>
  <!-- ############### footer     ############### -->
  <xsl:template name="footer">
<!-- *** Beginn Seitenfuss *** -->
    <hr/>
<div id="footer">
    <p> <a href="#top"><img src="../images/site_arrow_up_16px.gif" width="16" height="16" border="0" title="Up .."/></a>
    </p>
</div>
    <hr/>
    <!-- Ende footer -->
</xsl:template>
</xsl:stylesheet>
