diff options
Diffstat (limited to 'example/view.xsl')
-rw-r--r-- | example/view.xsl | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/example/view.xsl b/example/view.xsl new file mode 100644 index 0000000..af0e090 --- /dev/null +++ b/example/view.xsl @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:xhtml="http://www.w3.org/1999/xhtml" + xmlns="http://www.w3.org/1999/xhtml" + version="1.0"> + <xsl:output method="xml" indent="yes"/> + <xsl:include href="common.xsl"/> + + <xsl:template match="table/row"> + <a href="list.xhtml?q=select%20bug_search(%27%27,%20%27%27,%2010,%200)">back to listing</a> + <dl> + <dt>ID</dt> + <dd><xsl:copy-of select="id/text()" /></dd> + <dt>Reported</dt> + <dd><xsl:copy-of select="reported/text()" /></dd> + <dt>Reporter</dt> + <dd><xsl:copy-of select="reporter/text()" /></dd> + <dt>Project</dt> + <dd><xsl:copy-of select="project/text()" /></dd> + <dt>Description</dt> + <dd><pre><xsl:copy-of select="description/text()" /></pre></dd> + </dl> + </xsl:template> + +</xsl:stylesheet> |