projects
/
idzebra-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dffefbf
)
include id in snipet xsl
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 29 Jun 2005 16:50:08 +0000
(16:50 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 29 Jun 2005 16:50:08 +0000
(16:50 +0000)
test/xslt/snippet.xsl
patch
|
blob
|
history
diff --git
a/test/xslt/snippet.xsl
b/test/xslt/snippet.xsl
index
6d027ea
..
d1c132a
100644
(file)
--- a/
test/xslt/snippet.xsl
+++ b/
test/xslt/snippet.xsl
@@
-3,6
+3,7
@@
<!-- Identity transform stylesheet -->
<xsl:param name="snippet" select="''"/>
+<xsl:param name="id" select="''"/>
<xsl:output indent="yes"
method="xml"
version="1.0"
@@
-10,6
+11,7
@@
<xsl:template match="/">
<snippet>
+ <id><xsl:value-of select="$id"/></id>
<xsl:copy-of select="$snippet"/>
</snippet>
</xsl:template>