migrated contents of /projects folder into /campaigns and /activities, and set rewrite rules to honor old urls
svn path=/trunk/; revision=23884
This commit is contained in:
41
activities/wipo/wiwo.xsl
Normal file
41
activities/wipo/wiwo.xsl
Normal file
@@ -0,0 +1,41 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
|
||||
<xsl:stylesheet version="1.0"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
|
||||
<xsl:output method="xml"
|
||||
encoding="ISO-8859-1"
|
||||
indent="yes"
|
||||
/>
|
||||
|
||||
<xsl:template match="/">
|
||||
<xsl:copy>
|
||||
<xsl:apply-templates select="@*|node()" />
|
||||
</xsl:copy>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="/html/body">
|
||||
<body>
|
||||
<xsl:apply-templates />
|
||||
<h3><xsl:value-of select="/html/text[@id='osig']" /></h3>
|
||||
<ul>
|
||||
<xsl:apply-templates select="/html/set/osig/node()" />
|
||||
</ul>
|
||||
|
||||
<h3><xsl:value-of select="/html/text[@id='isig']" /></h3>
|
||||
<ul>
|
||||
<xsl:apply-templates select="/html/set/isig/node()" />
|
||||
</ul>
|
||||
<xsl:apply-templates select="/html/text/footer/node()" />
|
||||
</body>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="@*|node()" priority="-1">
|
||||
<xsl:copy>
|
||||
<xsl:apply-templates select="@*|node()"/>
|
||||
</xsl:copy>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="/html/set" />
|
||||
<xsl:template match="/html/text" />
|
||||
</xsl:stylesheet>
|
Reference in New Issue
Block a user