Initial version
authorcantor <cantor@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Tue, 23 Jul 2002 03:42:22 +0000 (03:42 +0000)
committercantor <cantor@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Tue, 23 Jul 2002 03:42:22 +0000 (03:42 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@227 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

webApplication/sites.xsl [new file with mode: 0755]

diff --git a/webApplication/sites.xsl b/webApplication/sites.xsl
new file mode 100755 (executable)
index 0000000..1a33883
--- /dev/null
@@ -0,0 +1,44 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:shib="urn:mace:shibboleth:1.0" version="1.0">
+
+<!-- set the output properties -->
+<xsl:output method="html"/>
+
+<!-- main rule for outer element -->
+<xsl:template match="shib:Sites">
+<HTML>
+  <HEAD>
+    <LINK REL="stylesheet" TYPE="text/css" HREF="main.css"/>
+    <TITLE>Shibboleth Site Registry</TITLE>
+  </HEAD>
+  <BODY BGCOLOR="white">
+  <DIV CLASS="head">
+  <H1><IMG SRC="images/internet2.gif" ALT="Logo" ALIGN="middle"/>Shibboleth Site Registry</H1>
+  </DIV>
+  <xsl:for-each select="shib:OriginSite">
+    <xsl:sort select="@Name"/>
+    <P>
+    <B>Origin Site</B>:
+    <xsl:value-of select="@Name"/>
+    <BLOCKQUOTE>
+      <U>Alias(es)</U>
+      <xsl:for-each select="shib:Alias">
+        <BR/><xsl:value-of select="."/>
+      </xsl:for-each>
+    </BLOCKQUOTE>
+    <BLOCKQUOTE>
+      <U>Handle Service(s):</U>
+      <xsl:for-each select="shib:HandleService">
+        <BR/><xsl:value-of select="@Name"/>
+        <xsl:text> - </xsl:text>
+        <I><xsl:value-of select="@Location"/></I>
+      </xsl:for-each>
+    </BLOCKQUOTE>
+    </P>
+  </xsl:for-each>
+  </BODY>
+</HTML>
+</xsl:template>
+
+</xsl:stylesheet>
+