<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:template match="navigationPrePrroduction">
<navigationDevice>
<xsl:for-each select="module/section">
<navigationLink>
<xsl:attribute name="url"><xsl:value-of select="@url"/></xsl:attribute>
<text><xsl:value-of select="title"/></text>
<xsl:for-each select="section">
<navigationSubLink>
<xsl:attribute name="url"><xsl:value-of select="@url"/></xsl:attribute>
<text><xsl:value-of select="title"/></text>
<xsl:for-each select="section">
<navigationSubSubLink><xsl:attribute name="url"><xsl:value-of select="@url"/></xsl:attribute>
<text><xsl:value-of select="title"/></text>
</navigationSubSubLink>
</xsl:for-each>
</navigationSubLink>
</xsl:for-each>
</navigationLink>
</xsl:for-each>
</navigationDevice>
</xsl:template>

<xsl:template match="footerMajorLinksPreProduction">
  <footerMajorLinks>
    <xsl:for-each select="module/section">
      <link>
        <text><xsl:value-of select="title"/></text>
        <xsl:attribute name="url"><xsl:value-of select="@url"/></xsl:attribute>
      </link>
    </xsl:for-each>
  </footerMajorLinks>
</xsl:template>

<xsl:template match="footerSiblingLinksPreProduction">
  <footerSiblingLinks>
    <xsl:for-each select="section/section">
      <text> | </text>
      <link>
        <text><xsl:value-of select="title"/></text>
        <xsl:attribute name="url"><xsl:value-of select="@url"/></xsl:attribute>
      </link>
    </xsl:for-each>
  </footerSiblingLinks>
</xsl:template>




</xsl:stylesheet>






