From 914fa8774c8165c4072cafcc1f1ca1a033c9e9bc Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Sat, 4 Apr 2015 16:09:22 +0200 Subject: Improve the poem to html transformation --- contrib/xslt/poem.xsl | 49 +++++++++++++++++++++++++++++++++++++------------ 1 file changed, 37 insertions(+), 12 deletions(-) (limited to 'contrib/xslt/poem.xsl') diff --git a/contrib/xslt/poem.xsl b/contrib/xslt/poem.xsl index 197ec4a..a3bd3b0 100644 --- a/contrib/xslt/poem.xsl +++ b/contrib/xslt/poem.xsl @@ -3,23 +3,27 @@ + xmlns:poem="poem" + exclude-result-prefixes="poem"> + <!DOCTYPE html> - Poem + <xsl:value-of select="/document/poem:poem/author"/> – <xsl:value-of select="/document/poem:poem/title"/>