<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<!--
! CDDL HEADER START
!
! The contents of this file are subject to the terms of the
! Common Development and Distribution License, Version 1.0 only
! (the "License"). You may not use this file except in compliance
! with the License.
!
! You can obtain a copy of the license at legal-notices/CDDLv1_0.txt
! or http://forgerock.org/license/CDDLv1.0.html.
! See the License for the specific language governing permissions
! and limitations under the License.
!
! When distributing Covered Code, include this CDDL HEADER in each
! file and include the License file at legal-notices/CDDLv1_0.txt.
! If applicable, add the following below this CDDL HEADER, with the
! fields enclosed by brackets "[]" replaced with your own identifying
! information:
! Portions Copyright [yyyy] [name of copyright owner]
!
! CDDL HEADER END
!
! Copyright 2007-2008 Sun Microsystems, Inc.
! Portions Copyright 2011 ForgeRock AS
! -->
<xsl:output method="html"/>
<xsl:template match="/">
<xsl:element name="html">
<xsl:variable name="opends-url" select="'http://www.forgerock.com/'"/>
<xsl:variable name="opends-images" select="concat($opends-url,'public/images/')"/>
<xsl:variable name="opends-logo" select="concat($opends-images,'opendj_logo.png')"/>
<link rel="stylesheet" type="text/css" href="/branding/css/print.css" media="print"/>
<xsl:element name="head">
<link rel="stylesheet" type="text/css" href="/branding/css/print.css" media="print"/>
<link rel="stylesheet" href="https://opends.dev.java.net/public/css/opends.css" type="text/css"/>
<xsl:element name="title">
<xsl:value-of select="'Test Specification'"/>
</xsl:element>
</xsl:element>
<xsl:element name="body">
<xsl:element name="table">
<xsl:attribute name="class">
<xsl:value-of select="'tertmasttable'"/>
</xsl:attribute>
<xsl:attribute name="cellspacing">
<xsl:value-of select="'0'"/>
</xsl:attribute>
<xsl:attribute name="width">
<xsl:value-of select="'100%'"/>
</xsl:attribute>
<xsl:element name="tr">
<xsl:element name="td">
<xsl:element name="div">
<xsl:attribute name="class">
<xsl:value-of select="'collectionheader'"/>
</xsl:attribute>
<xsl:value-of select="'Test Specifications for OpenDJ'"/>
</xsl:element>
</xsl:element>
<xsl:element name="td">
<xsl:attribute name="width">
<xsl:value-of select="'10%'"/>
</xsl:attribute>
<xsl:element name="a">
<xsl:attribute name="href">
<xsl:value-of select="$opends-url"/>
</xsl:attribute>
<xsl:element name="img">
<xsl:attribute name="src">
<xsl:value-of select="$opends-logo"/>
</xsl:attribute>
<xsl:attribute name="alt">
<xsl:value-of select="'OpenDJ Logo'"/>
</xsl:attribute>
<xsl:attribute name="align">
<xsl:value-of select="'middle'"/>
</xsl:attribute>
<xsl:attribute name="border">
<xsl:value-of select="'0'"/>
</xsl:attribute>
<xsl:attribute name="height">
<xsl:value-of select="'33'"/>
</xsl:attribute>
<xsl:attribute name="width">
<xsl:value-of select="'104'"/>
</xsl:attribute>
</xsl:element>
</xsl:element>
</xsl:element>
</xsl:element>
</xsl:element>
<hr noshade="noshade" size="1" />
<xsl:element name="br"/>
<xsl:variable name="testspec" select="/qa/doc/testspec"/>
<xsl:element name="ol">
<xsl:for-each select="$testspec">
<!-- Test Spec List -->
<xsl:element name="li">
<xsl:element name="a">
<xsl:attribute name="href">
<xsl:value-of select="@location"/>
</xsl:attribute>
<xsl:value-of select="@name"/>
</xsl:element>
</xsl:element>
</xsl:for-each>
</xsl:element>
</xsl:element>
</xsl:element>
</xsl:template>
</xsl:stylesheet>