From: schnydszch <eug...@ya...> - 2013-05-03 13:50:40
|
Here's my sitemap.xsl: <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:sitemap="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:php="http://php.net/xsl"> <xsl:output method="xml" indent="yes" encoding="utf-8"/> <xsl:template match="sitemap:urlset"> <add> <xsl:for-each select="//sitemap:loc"> <doc> <xsl:value-of disable-output-escaping="yes" select="php:function('VuFindSitemap::getDocument', normalize-space(string(.)))"/> </doc> </xsl:for-each> </add> </xsl:template> </xsl:stylesheet> xsl:value-of disable-output-escaping="yes" select="$document"/> </doc> </xsl:if> </xsl:for-each> </add> </xsl:template> </xsl:stylesheet> -- View this message in context: http://vufind.2307425.n4.nabble.com/vufind-wordpress-part-2-tp4662343p4662352.html Sent from the vufind-general mailing list archive at Nabble.com. |