News XSLT: handle XHTML documents where the first paragraph is included in other elements, e.g. <div id=body/>
git-svn-id: https://svn.apache.org/repos/asf/lenya/trunk@603887 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/modules/news/xslt/collection2xhtml.xsl b/src/modules/news/xslt/collection2xhtml.xsl
index 3a3a2a0..bea54c2 100644
--- a/src/modules/news/xslt/collection2xhtml.xsl
+++ b/src/modules/news/xslt/collection2xhtml.xsl
@@ -84,7 +84,7 @@
</xsl:variable>
<a href="{$href}" style="text-decoration: none"><xsl:value-of select="$title"/></a>
</h2>
- <xsl:apply-templates select="xhtml:html/xhtml:body/xhtml:p[1]" mode="excerpt"/>
+ <xsl:apply-templates select="xhtml:html/xhtml:body//xhtml:p[1]" mode="excerpt"/>
</div>
</xsl:template>