summaryrefslogtreecommitdiff
path: root/example/view.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'example/view.xsl')
-rw-r--r--example/view.xsl13
1 files changed, 7 insertions, 6 deletions
diff --git a/example/view.xsl b/example/view.xsl
index af0e090..84a9d5a 100644
--- a/example/view.xsl
+++ b/example/view.xsl
@@ -2,24 +2,25 @@
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
+ xmlns:bugs="urn:x-bugs"
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">
+ <xsl:template match="bugs:table/bugs: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>
+ <dd><xsl:copy-of select="bugs:id/text()" /></dd>
<dt>Reported</dt>
- <dd><xsl:copy-of select="reported/text()" /></dd>
+ <dd><xsl:copy-of select="bugs:reported/text()" /></dd>
<dt>Reporter</dt>
- <dd><xsl:copy-of select="reporter/text()" /></dd>
+ <dd><xsl:copy-of select="bugs:reporter/text()" /></dd>
<dt>Project</dt>
- <dd><xsl:copy-of select="project/text()" /></dd>
+ <dd><xsl:copy-of select="bugs:project/text()" /></dd>
<dt>Description</dt>
- <dd><pre><xsl:copy-of select="description/text()" /></pre></dd>
+ <dd><pre><xsl:copy-of select="bugs:description/text()" /></pre></dd>
</dl>
</xsl:template>