diff options
author | Leif Johansson <leifj@sunet.se> | 2014-10-02 22:56:23 +0200 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2014-10-02 22:56:23 +0200 |
commit | d39a1dce549e4b219301b757381143ad89e2627f (patch) | |
tree | 690fb8246b8cef4cddfed9f25f05ea222c4a43d2 | |
parent | 390c5b253f9a1d5818c34aba16b356de4b0cfb6a (diff) |
listing entityIDs in yaml form
-rw-r--r-- | xslt/entity_id_list.xslt | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/xslt/entity_id_list.xslt b/xslt/entity_id_list.xslt new file mode 100644 index 00000000..bda1bb76 --- /dev/null +++ b/xslt/entity_id_list.xslt @@ -0,0 +1,26 @@ +<?xml version="1.0"?> +<xsl:stylesheet version="1.0" + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:shibmeta="urn:mace:shibboleth:metadata:1.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:ds="http://www.w3.org/2000/09/xmldsig#" + xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata" + xmlns:exsl="http://exslt.org/common" + extension-element-prefixes="exsl" + xmlns:xi="http://www.w3.org/2001/XInclude" + xmlns:shibmd="urn:mace:shibboleth:metadata:1.0"> + + <xsl:output method="text" indent="yes" encoding="UTF-8"/> + + <xsl:template match="md:EntitiesDescriptor"> + <md:EntitiesDescriptor> + <xsl:apply-templates select="md:EntityDescriptor"/> + </md:EntitiesDescriptor> + </xsl:template> + + <xsl:template match="md:EntityDescriptor"> + <xsl:text>- </xsl:text><xsl:value-of select="@entityID"/><xsl:text> +</xsl:text> + </xsl:template> + +</xsl:stylesheet> |