aboutsummaryrefslogtreecommitdiff
path: root/spss.slinterface
diff options
context:
space:
mode:
authorgregor <gregor@d688527b-c9ab-4aba-bd8d-4036d912da1d>2005-04-15 11:45:26 +0000
committergregor <gregor@d688527b-c9ab-4aba-bd8d-4036d912da1d>2005-04-15 11:45:26 +0000
commit7fe4c5087df85877f1b71edb9eda8c0da9c8ac94 (patch)
tree4fd830cce8eae2e6fec6a184531cb2a4674941ae /spss.slinterface
parent1e13a7dc493a5e6b68b1501cdfe307b610d10490 (diff)
downloadmoa-id-spss-7fe4c5087df85877f1b71edb9eda8c0da9c8ac94.tar.gz
moa-id-spss-7fe4c5087df85877f1b71edb9eda8c0da9c8ac94.tar.bz2
moa-id-spss-7fe4c5087df85877f1b71edb9eda8c0da9c8ac94.zip
Beispieldaten für die Testformulare
git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@292 d688527b-c9ab-4aba-bd8d-4036d912da1d
Diffstat (limited to 'spss.slinterface')
-rw-r--r--spss.slinterface/test/bildspeicher/bild2.jpgbin0 -> 634 bytes
-rw-r--r--spss.slinterface/test/stylesheet.xsl29
2 files changed, 29 insertions, 0 deletions
diff --git a/spss.slinterface/test/bildspeicher/bild2.jpg b/spss.slinterface/test/bildspeicher/bild2.jpg
new file mode 100644
index 000000000..24e45d182
--- /dev/null
+++ b/spss.slinterface/test/bildspeicher/bild2.jpg
Binary files differ
diff --git a/spss.slinterface/test/stylesheet.xsl b/spss.slinterface/test/stylesheet.xsl
new file mode 100644
index 000000000..9af3e3cc6
--- /dev/null
+++ b/spss.slinterface/test/stylesheet.xsl
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xmlspysamplexml e:\cio\projekte\erecht\beispiele\xmlDokument.xml?>
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:inst="urn:instance">
+ <xsl:output encoding="UTF-8" method="xml" indent="yes"/>
+ <xsl:template match="/inst:XMLDarstellung">
+ <html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>HTML-Darstellung</title>
+ </head>
+ <body>
+ <p>
+ <xsl:for-each select="child::node()">
+ <xsl:choose>
+ <xsl:when test="./self::text()">
+ <xsl:value-of select="."/>
+ </xsl:when>
+ <xsl:when test="./self::inst:Bild">
+ <img>
+ <xsl:attribute name="src"><xsl:value-of select="./@Reference"/></xsl:attribute>
+ <xsl:attribute name="alt">alternative text</xsl:attribute>
+ </img>
+ </xsl:when>
+ </xsl:choose>
+ </xsl:for-each>
+ </p>
+ </body>
+ </html>
+ </xsl:template>
+</xsl:stylesheet>