giacomo 00/12/10 22:17:26
Modified: src/org/apache/cocoon/components/language/markup/sitemap/java
Tag: xml-cocoon2 sitemap.xsl
Log:
Added substitution to <parameters> elements. Patch submitted by Stuart
Roebuck.
Revision Changes Path
No revision
No revision
1.1.2.70 +2 -2
xml-cocoon/src/org/apache/cocoon/components/language/markup/sitemap/java/Attic/sitemap.xsl
Index: sitemap.xsl
===================================================================
RCS file:
/home/cvs/xml-cocoon/src/org/apache/cocoon/components/language/markup/sitemap/java/Attic/sitemap.xsl,v
retrieving revision 1.1.2.69
retrieving revision 1.1.2.70
diff -u -r1.1.2.69 -r1.1.2.70
--- sitemap.xsl 2000/12/08 20:38:59 1.1.2.69
+++ sitemap.xsl 2000/12/11 06:17:25 1.1.2.70
@@ -77,7 +77,7 @@
*
* @author <a href="mailto:[EMAIL PROTECTED]">Giacomo
Pati</a>
* @author <a href="mailto:[EMAIL PROTECTED]">Berin
Loritsch</a>
- * @version CVS $Revision: 1.1.2.69 $ $Date: 2000/12/08 20:38:59 $
+ * @version CVS $Revision: 1.1.2.70 $ $Date: 2000/12/11 06:17:25 $
*/
public class <xsl:value-of select="@file-name"/> extends AbstractSitemap
{
static final String LOCATION = "<xsl:value-of
select="translate(@file-path, '/', '.')"/>.<xsl:value-of select="@file-name"/>";
@@ -667,7 +667,7 @@
<!-- collect parameter definitions -->
<xsl:template match="map:pipeline//parameter">
- param.setParameter ("<xsl:value-of select="@name"/>", "<xsl:value-of
select="@value"/>");
+ param.setParameter ("<xsl:value-of select="@name"/>",
substitute(listOfLists, "<xsl:value-of select="@value"/>"));
</xsl:template>
<!-- FIXME:(GP) is this still valid? -->