Initial version
[java-idp.git] / webApplication / sites.xsl
1 <?xml version="1.0"?>
2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:shib="urn:mace:shibboleth:1.0" version="1.0">
3
4 <!-- set the output properties -->
5 <xsl:output method="html"/>
6
7 <!-- main rule for outer element -->
8 <xsl:template match="shib:Sites">
9 <HTML>
10   <HEAD>
11     <LINK REL="stylesheet" TYPE="text/css" HREF="main.css"/>
12     <TITLE>Shibboleth Site Registry</TITLE>
13   </HEAD>
14   <BODY BGCOLOR="white">
15   <DIV CLASS="head">
16   <H1><IMG SRC="images/internet2.gif" ALT="Logo" ALIGN="middle"/>Shibboleth Site Registry</H1>
17   </DIV>
18   <xsl:for-each select="shib:OriginSite">
19     <xsl:sort select="@Name"/>
20     <P>
21     <B>Origin Site</B>:
22     <xsl:value-of select="@Name"/>
23     <BLOCKQUOTE>
24       <U>Alias(es)</U>
25       <xsl:for-each select="shib:Alias">
26         <BR/><xsl:value-of select="."/>
27       </xsl:for-each>
28     </BLOCKQUOTE>
29     <BLOCKQUOTE>
30       <U>Handle Service(s):</U>
31       <xsl:for-each select="shib:HandleService">
32         <BR/><xsl:value-of select="@Name"/>
33         <xsl:text> - </xsl:text>
34         <I><xsl:value-of select="@Location"/></I>
35       </xsl:for-each>
36     </BLOCKQUOTE>
37     </P>
38   </xsl:for-each>
39   </BODY>
40 </HTML>
41 </xsl:template>
42
43 </xsl:stylesheet>
44