diff options
Diffstat (limited to 'spss.handbook/clients/common')
-rw-r--r-- | spss.handbook/clients/common/referencedData/XMLDocument.Para.xsl | 19 | ||||
-rw-r--r-- | spss.handbook/clients/common/referencedData/XMLDocument.withSchemaHint.xml | 6 |
2 files changed, 25 insertions, 0 deletions
diff --git a/spss.handbook/clients/common/referencedData/XMLDocument.Para.xsl b/spss.handbook/clients/common/referencedData/XMLDocument.Para.xsl new file mode 100644 index 000000000..328092b4c --- /dev/null +++ b/spss.handbook/clients/common/referencedData/XMLDocument.Para.xsl @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:doc="urn:document"> + <xsl:output encoding="UTF-8" method="xml" indent="yes"/> + <xsl:template match="/"> + <html xmlns="http://www.w3.org/1999/xhtml"> + <head> + <title>HTML-Dokument</title> + </head> + <body> + <xsl:apply-templates/> + </body> + </html> + </xsl:template> + <xsl:template match="doc:Paragraph"> + <p> + <xsl:value-of select="child::text()"/> + </p> + </xsl:template> +</xsl:stylesheet> diff --git a/spss.handbook/clients/common/referencedData/XMLDocument.withSchemaHint.xml b/spss.handbook/clients/common/referencedData/XMLDocument.withSchemaHint.xml new file mode 100644 index 000000000..3560a96e6 --- /dev/null +++ b/spss.handbook/clients/common/referencedData/XMLDocument.withSchemaHint.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<doc:XMLDocument xmlns:doc="urn:document" xmlns="http://reference.e-government.gv.at/namespace/moa/20020822#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:document XMLDocument.xsd"> + <doc:Paragraph>Ich bin der erste Absatz in diesem Dokument.</doc:Paragraph> + <doc:Paragraph ParaId="Para2">Und ich bin der zweite Absatz in diesem Dokument. +Ich habe weiters ein eigenens ID-Attribut bekommen.</doc:Paragraph> +</doc:XMLDocument> |