diff options
author | harald.bratko <harald.bratko@d688527b-c9ab-4aba-bd8d-4036d912da1d> | 2005-07-22 14:47:14 +0000 |
---|---|---|
committer | harald.bratko <harald.bratko@d688527b-c9ab-4aba-bd8d-4036d912da1d> | 2005-07-22 14:47:14 +0000 |
commit | c119f7cbbdf918a7757f43fe4769725215dd68d0 (patch) | |
tree | fa7e671345b6ff8be37a7e5c42e85ce416f9fd02 /id.server/doc | |
parent | 76a5c49eb5812b040550e3d30dae302487907fd7 (diff) | |
download | moa-id-spss-c119f7cbbdf918a7757f43fe4769725215dd68d0.tar.gz moa-id-spss-c119f7cbbdf918a7757f43fe4769725215dd68d0.tar.bz2 moa-id-spss-c119f7cbbdf918a7757f43fe4769725215dd68d0.zip |
Example for a transformation capable of slececting
between standard and WID mode.
git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@392 d688527b-c9ab-4aba-bd8d-4036d912da1d
Diffstat (limited to 'id.server/doc')
-rw-r--r-- | id.server/doc/moa_id/examples/TransformsInfoAuthBlock.txt | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/id.server/doc/moa_id/examples/TransformsInfoAuthBlock.txt b/id.server/doc/moa_id/examples/TransformsInfoAuthBlock.txt index d9cbec71d..edbde0073 100644 --- a/id.server/doc/moa_id/examples/TransformsInfoAuthBlock.txt +++ b/id.server/doc/moa_id/examples/TransformsInfoAuthBlock.txt @@ -2,7 +2,7 @@ <dsig:Transforms> <dsig:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/> <dsig:Transform Algorithm="http://www.w3.org/TR/1999/REC-xslt-19991116"> - <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion"> + <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion" xmlns:pr="http://reference.e-government.gv.at/namespace/persondata/20020228#"> <xsl:template match="/" xmlns="http://www.w3.org/1999/xhtml"> <html> <head> @@ -11,11 +11,17 @@ <body> <h1>Signatur der Anmeldedaten</h1> <p></p> -<h4>Mit meiner elektronischen Signatur beantrage ich <b><xsl:value-of select="//@Issuer"/></b>, +<h4>Mit meiner elektronischen Signatur beantrage ich, <b><xsl:value-of select="//@Issuer"/></b>, geboren am <xsl:value-of select="substring(//saml:Attribute[@AttributeName='Geburtsdatum']/saml:AttributeValue,9,2)"/>.<xsl:value-of select="substring(//saml:Attribute[@AttributeName='Geburtsdatum']/saml:AttributeValue,6,2)"/>.<xsl:value-of select="substring(//saml:Attribute[@AttributeName='Geburtsdatum']/saml:AttributeValue,3,2)"/>, den Zugang zur gesicherten Anwendung.</h4> <p></p> <h4>Datum und Uhrzeit: <xsl:value-of select="substring(//@IssueInstant,9,2)"/>.<xsl:value-of select="substring(//@IssueInstant,6,2)"/>.<xsl:value-of select="substring(//@IssueInstant,1,4)"/>, <xsl:value-of select="substring(//@IssueInstant,12,2)"/>:<xsl:value-of select="substring(//@IssueInstant,15,2)"/>:<xsl:value-of select="substring(//@IssueInstant,18,2)"/></h4> +<xsl:if test="//saml:Attribute[@AttributeName='wbPK']"> + <h4>wbPK(*): <xsl:value-of select="//saml:Attribute[@AttributeName='wbPK']/saml:AttributeValue/pr:Identification/pr:Value"/></h4> + <p></p> + <hr></hr> + <font size="2">(*) wbPK: Das <i>Wirtschaftsbereichsspezifische Personenkennzeichen</i> wird aus den jeweiligen Stammzahlen des Buergers und des Wirtschaftsunternehmens berechnet und ermoeglicht eine eindeutige Zuordnung des Buergers zum Wirtschaftsunternehmen.</font> +</xsl:if> </body> </html> </xsl:template> |