aboutsummaryrefslogtreecommitdiff
path: root/t/test-site/src/common/fillFeed.xsl
diff options
context:
space:
mode:
Diffstat (limited to 't/test-site/src/common/fillFeed.xsl')
-rw-r--r--t/test-site/src/common/fillFeed.xsl21
1 files changed, 8 insertions, 13 deletions
diff --git a/t/test-site/src/common/fillFeed.xsl b/t/test-site/src/common/fillFeed.xsl
index 79c7b57..5ba0d76 100644
--- a/t/test-site/src/common/fillFeed.xsl
+++ b/t/test-site/src/common/fillFeed.xsl
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<x:stylesheet xmlns:x="http://www.w3.org/1999/XSL/Transform"
xmlns:wc="http://webcoso.thenautilus.net/"
+ xmlns:f="http://webcoso.thenautilus.net/feeds"
exclude-result-prefixes="wc"
version="1.0">
@@ -12,29 +13,23 @@
<x:output method="xml" encoding="utf-8" doctype-public=""/>
- <x:template match="/document" priority="10">
- <x:apply-imports/>
- </x:template>
-
- <x:template match="*">
+ <x:template match="f:*">
<x:copy>
<x:apply-templates select="@*"/>
<x:apply-templates select="*|text()"/>
</x:copy>
</x:template>
- <x:template match="@*">
+ <x:template match="@f:*">
<x:copy/>
</x:template>
- <x:template match="PH">
- <url><x:value-of select="."/></url>
- <title><x:value-of select="wc:title-for($language,$filename,.)"/></title>
- <!--
- <body>
+ <x:template match="f:PH">
+ <f:url><x:value-of select="."/></f:url>
+ <f:title><x:value-of select="wc:title-for($language,$filename,.)"/></f:title>
+ <f:body>
<x:apply-templates select="wc:document($language,$filename,.)/document"/>
- </body>
- -->
+ </f:body>
</x:template>
</x:stylesheet> \ No newline at end of file