~ubuntu-branches/ubuntu/hardy/libxslt/hardy-security

« back to all changes in this revision

Viewing changes to tests/general/bug-165.xsl

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2007-11-19 14:47:49 UTC
  • mto: This revision was merged to the branch mainline in revision 15.
  • Revision ID: james.westby@ubuntu.com-20071119144749-fev916fklb1jpa8r
Tags: upstream-1.1.22
ImportĀ upstreamĀ versionĀ 1.1.22

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" ?>
 
2
<xsl:stylesheet version="1.0"
 
3
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform" >
 
4
 
 
5
<xsl:template match="p">
 
6
<xsl:value-of select="preceding-sibling::p[not(pPr/pStyle = $pStyle)][1]/preceding-sibling::p/pPr/pStyle"/>
 
7
</xsl:template>
 
8
 
 
9
</xsl:stylesheet>