Attachment 'paragraphs.xsl'

Download

   1 <?xml version="1.0" encoding="UTF-8"?>
   2 <xsl:stylesheet version="1.0" xmlns:html="http://www.w3.org/1999/xhtml"
   3                               xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
   4                               xmlns:msxsl="urn:schemas-microsoft-com:xslt"
   5                               xmlns:wwmode="urn:WebWorks-Engine-Mode"
   6                               xmlns:wwfiles="urn:WebWorks-Engine-Files-Schema"
   7                               xmlns:wwdoc="urn:WebWorks-Document-Schema"
   8                               xmlns:wwsplits="urn:WebWorks-Engine-Splits-Schema"
   9                               xmlns:wwtoc="urn:WebWorks-Engine-TOC-Schema"
  10                               xmlns:wwproject="urn:WebWorks-Publish-Project"
  11                               xmlns:wwprogress="urn:WebWorks-XSLT-Extension-Progress"
  12                               xmlns:wwlog="urn:WebWorks-XSLT-Extension-Log"
  13                               xmlns:wwfilesystem="urn:WebWorks-XSLT-Extension-FileSystem"
  14                               xmlns:wwuri="urn:WebWorks-XSLT-Extension-URI"
  15                               xmlns:wwstring="urn:WebWorks-XSLT-Extension-StringUtilities"
  16                               xmlns:wwprojext="urn:WebWorks-XSLT-Extension-Project"
  17                               xmlns:wwexsldoc="urn:WebWorks-XSLT-Extension-Document"
  18 >
  19  
  20  <xsl:template match="wwdoc:Paragraph[@stylename = 'SectionQuote']" mode="wwmode:content">
  21   <xsl:param name="ParamContext" select="." />
  22   <xsl:param name="ParamSplits" />
  23   <xsl:param name="ParamCargo" />
  24   <xsl:param name="ParamLinks" />
  25   <xsl:param name="ParamSplit" />
  26 
  27   <html:div style="color: Red">
  28    <xsl:apply-templates select="$ParamContext/node()" mode="wwmode:content">
  29     <xsl:with-param name="ParamSplits" select="$ParamSplits" />
  30     <xsl:with-param name="ParamCargo" select="$ParamCargo" />
  31     <xsl:with-param name="ParamLinks" select="$ParamLinks" />
  32     <xsl:with-param name="ParamSplit" select="$ParamSplit" />
  33     <xsl:with-param name="ParamPreserveEmpty" select="true()" />
  34     <xsl:with-param name="ParamUseCharacterStyles" select="true()" />
  35     <xsl:with-param name="ParamParagraph" select="$ParamContext" />
  36    </xsl:apply-templates>
  37   </html:div>
  38  </xsl:template>
  39 </xsl:stylesheet>

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2008-02-13 06:16:07, 2.2 KB) [[attachment:paragraphs.xsl]]
 All files | Selected Files: delete move to page

You are not allowed to attach a file to this page.