github.com/matislovas/ratago@v0.0.0-20240408115641-cc0857415a7a/xslt/testdata/general/bug-165.xsl (about)

     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>