diff options
| author | Paul Everitt <paul@agendaless.com> | 2008-07-24 17:14:16 +0000 |
|---|---|---|
| committer | Paul Everitt <paul@agendaless.com> | 2008-07-24 17:14:16 +0000 |
| commit | 1a7b14de4bc89ef0fd162ef8e62d01926e42b54e (patch) | |
| tree | 8d9ccc8187ac29eb80ac310c6f82c17d548cdf54 /docs/tutorials/lxmlgraph/step03/myapp/xsltview.xsl | |
| parent | c1a6ef6f751a16b7a352bc3fdad13d4b5b73f212 (diff) | |
| download | pyramid-1a7b14de4bc89ef0fd162ef8e62d01926e42b54e.tar.gz pyramid-1a7b14de4bc89ef0fd162ef8e62d01926e42b54e.tar.bz2 pyramid-1a7b14de4bc89ef0fd162ef8e62d01926e42b54e.zip | |
Add tutorial sections
Diffstat (limited to 'docs/tutorials/lxmlgraph/step03/myapp/xsltview.xsl')
| -rw-r--r-- | docs/tutorials/lxmlgraph/step03/myapp/xsltview.xsl | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/tutorials/lxmlgraph/step03/myapp/xsltview.xsl b/docs/tutorials/lxmlgraph/step03/myapp/xsltview.xsl new file mode 100644 index 000000000..4d759b15b --- /dev/null +++ b/docs/tutorials/lxmlgraph/step03/myapp/xsltview.xsl @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> + <xsl:template match="/document"> + <html> + <head/> + <body> + <h1>My template is viewing item: <xsl:value-of select="@name"/></h1> + <p>The node has a name of: <xsl:value-of select="name()"/>.</p> + </body> + </html> + </xsl:template> +</xsl:stylesheet> |
