Advertisement
Guest User

Untitled

a guest
Nov 13th, 2017
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.03 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <rules xmlns="http://namespaces.plone.org/diazo"
  3.       xmlns:css="http://namespaces.plone.org/diazo/css"
  4.       xmlns:xi="http://www.w3.org/2001/XInclude"
  5.       xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  6.   <xsl:apply-templates css:select="section#navigation-horizontal"/>
  7.   <xsl:apply-templates css:select="section#back-navigation"/>
  8.  
  9. <xsl:if test="//h1[@class = 'documentFirstHeading']">
  10.   <header class="container" id="title">
  11.     <xsl:apply-templates select="//h1[@class = 'documentFirstHeading']"/>
  12.     <xsl:if test="//div[@class = 'documentDescription description']">
  13.       <p>
  14.         <xsl:apply-templates select="//div[@class = 'documentDescription description']/text()"/>
  15.       </p>
  16.     </xsl:if>
  17.   </header>
  18. </xsl:if>
  19.  
  20.   <xsl:apply-templates select="//section[@id = 'summary']"/>
  21.   <xsl:if test="//div[@id = 'parent-fieldname-text']">
  22.     <div class="container">
  23.       <xsl:apply-templates select="//div[@id = 'parent-fieldname-text']"/>
  24.     </div>
  25.   </xsl:if>
  26. </rules>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement