We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 821be7b commit 0701a50Copy full SHA for 0701a50
src/Application/Samples/willy.xsl
@@ -1,3 +1,4 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
<!-- XSL designed to provide HTML output from Jon Bosak's Shakespeare XML collection -->
3
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
4
<xsl:template match="/">
@@ -113,4 +114,12 @@
113
114
</xsl:template>
115
<xsl:template match="PLAYSUBT">
116
-</xsl:stylesheet>
117
+ <xsl:template match="P">
118
+ <xsl:value-of select="text()" />
119
+ <!--add a special non-breaking space between paragraphs is it cannot be ignored whitespace. -->
120
+ <span> </span>
121
+ </xsl:template>
122
+ <xsl:template match="TITLE">
123
+ <!--do nothing - we don't want a duplicate title-->
124
125
+</xsl:stylesheet>
0 commit comments