You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(202) |
Nov
(201) |
Dec
(280) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(493) |
Feb
(106) |
Mar
(215) |
Apr
(163) |
May
(79) |
Jun
(193) |
Jul
(47) |
Aug
(71) |
Sep
(127) |
Oct
(41) |
Nov
(49) |
Dec
(120) |
2005 |
Jan
(147) |
Feb
(45) |
Mar
(26) |
Apr
(71) |
May
(52) |
Jun
(28) |
Jul
(92) |
Aug
(50) |
Sep
(35) |
Oct
(193) |
Nov
(106) |
Dec
(52) |
2006 |
Jan
(51) |
Feb
(38) |
Mar
(33) |
Apr
(79) |
May
(107) |
Jun
(67) |
Jul
(21) |
Aug
(65) |
Sep
(44) |
Oct
(87) |
Nov
(12) |
Dec
(56) |
2007 |
Jan
(48) |
Feb
(58) |
Mar
(63) |
Apr
(31) |
May
(25) |
Jun
(20) |
Jul
(72) |
Aug
(54) |
Sep
(30) |
Oct
(76) |
Nov
(74) |
Dec
(25) |
2008 |
Jan
(39) |
Feb
(39) |
Mar
(62) |
Apr
(64) |
May
(59) |
Jun
(31) |
Jul
(25) |
Aug
(25) |
Sep
(17) |
Oct
(24) |
Nov
|
Dec
(1) |
2009 |
Jan
(60) |
Feb
(39) |
Mar
(16) |
Apr
(30) |
May
(52) |
Jun
(35) |
Jul
(15) |
Aug
(15) |
Sep
(21) |
Oct
(32) |
Nov
(39) |
Dec
(52) |
2010 |
Jan
(42) |
Feb
(40) |
Mar
(23) |
Apr
(20) |
May
(27) |
Jun
(10) |
Jul
(30) |
Aug
(30) |
Sep
(66) |
Oct
(12) |
Nov
(35) |
Dec
(60) |
2011 |
Jan
(16) |
Feb
(1) |
Mar
(3) |
Apr
(28) |
May
(21) |
Jun
|
Jul
(12) |
Aug
(6) |
Sep
(10) |
Oct
(14) |
Nov
(40) |
Dec
(60) |
2012 |
Jan
(23) |
Feb
(17) |
Mar
(24) |
Apr
(18) |
May
(13) |
Jun
(1) |
Jul
|
Aug
(5) |
Sep
|
Oct
(5) |
Nov
(5) |
Dec
(15) |
2013 |
Jan
(2) |
Feb
(5) |
Mar
(1) |
Apr
(2) |
May
(2) |
Jun
(3) |
Jul
|
Aug
(3) |
Sep
(5) |
Oct
(3) |
Nov
(1) |
Dec
(1) |
2014 |
Jan
(3) |
Feb
(5) |
Mar
(8) |
Apr
(3) |
May
(1) |
Jun
(1) |
Jul
(2) |
Aug
|
Sep
(4) |
Oct
(10) |
Nov
|
Dec
(9) |
2015 |
Jan
(18) |
Feb
(17) |
Mar
(5) |
Apr
(2) |
May
|
Jun
(5) |
Jul
(1) |
Aug
(2) |
Sep
(1) |
Oct
(24) |
Nov
(20) |
Dec
(41) |
2016 |
Jan
(9) |
Feb
(3) |
Mar
(2) |
Apr
(7) |
May
(8) |
Jun
(1) |
Jul
(6) |
Aug
(5) |
Sep
(2) |
Oct
(6) |
Nov
(1) |
Dec
(6) |
2017 |
Jan
(6) |
Feb
(1) |
Mar
|
Apr
(4) |
May
(1) |
Jun
(1) |
Jul
(2) |
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
|
From: <fr...@us...> - 2004-01-02 00:56:59
|
Update of /cvsroot/devil-linux/web In directory sc8-pr-cvs1:/tmp/cvs-serv21844 Modified Files: menu.shtml Log Message: match submenu with regular expression to also catch subpaths Index: menu.shtml =================================================================== RCS file: /cvsroot/devil-linux/web/menu.shtml,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- menu.shtml 1 Jan 2004 21:50:14 -0000 1.8 +++ menu.shtml 2 Jan 2004 00:56:56 -0000 1.9 @@ -2,7 +2,7 @@ <p class="menu"><a href="/news/">News</a></p> <p class="menu"><a href="/about/">About DL</a></p> <p class="menu"><a href="/documentation/">Documentation</a></p> -<!--#if expr="${SECTION} = documentation" --> +<!--#if expr="${SECTION} = /^documentation/" --> <p class="gray"> <a href="/documentation/1.0.x/">Version 1.0.x</a></p> <p class="gray"> <a href="/documentation/1.1.x/">Version 1.1.x</a></p> <!--#endif --> |
From: <fr...@us...> - 2004-01-02 00:56:29
|
Update of /cvsroot/devil-linux/web In directory sc8-pr-cvs1:/tmp/cvs-serv21756 Modified Files: index.shtml Log Message: better handling of inclusions Index: index.shtml =================================================================== RCS file: /cvsroot/devil-linux/web/index.shtml,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- index.shtml 2 Jan 2004 00:09:45 -0000 1.4 +++ index.shtml 2 Jan 2004 00:56:25 -0000 1.5 @@ -3,24 +3,28 @@ <html> <head> <meta content="text/html; charset=ISO-8859-15" http-equiv="content-type"> - <!--#if expr="${THIS_PAGE}" --><!--#include virtual="head_${THIS_PAGE}.shtml" --><!--#else --><!--#include virtual="head.shtml" --><!--#endif --> <link rel="stylesheet" type="text/css" href="/dl.css"> + <!--#set var="HEAD_PAGE" value="head" --> + <!--#set var="HEAD_PAGE_EXT" value="shtml" --> + <!--#if expr="${THIS_PAGE}" --><!--#set var="HEAD_PAGE" value="${HEAD_PAGE}_${THIS_PAGE}" --><!--#endif --> + <!--#if expr="${SECTION}" --><!--#set var="HEAD_PAGE" value="${SECTION}/${HEAD_PAGE}" --><!--#endif --> + <!--#include virtual="${HEAD_PAGE}.${HEAD_PAGE_EXT}" --><!--#endif --> </head> <body> <!--#if expr="${THIS_PAGE}" --><!-- THIS_PAGE="<!--#echo var="THIS_PAGE" -->" --><!--#endif --> <!--#if expr="${SECTION}" --><!-- SECTION="<!--#echo var="SECTION" -->" --><!--#endif --> -<!--#set var="CONTENT_FRAME" value="content" --> -<!--#set var="CONTENT_FRAME_EXT" value="shtml" --> -<!--#if expr="${THIS_PAGE}" --><!--#set var="CONTENT_FRAME" value="${CONTENT_FRAME}_${THIS_PAGE}" --><!--#endif --> -<!--#if expr="${SECTION}" --><!--#set var="CONTENT_FRAME" value="${SECTION}/${CONTENT_FRAME}" --><!--#endif --> +<!--#set var="CONTENT_PAGE" value="content" --> +<!--#set var="CONTENT_PAGE_EXT" value="shtml" --> +<!--#if expr="${THIS_PAGE}" --><!--#set var="CONTENT_PAGE" value="${CONTENT_PAGE}_${THIS_PAGE}" --><!--#endif --> +<!--#if expr="${SECTION}" --><!--#set var="CONTENT_PAGE" value="${SECTION}/${CONTENT_PAGE}" --><!--#endif --> <table border=0 width="100%"> <tr> <td class="frameleft"><!--#include virtual="menu.shtml" --></td> <td class="top"><p> </p></td> - <td class="frameright"><!--#include virtual="${CONTENT_FRAME}.${CONTENT_FRAME_EXT}" --></td> + <td class="frameright"><!--#include virtual="${CONTENT_PAGE}.${CONTENT_PAGE_EXT}" --></td> </tr> </table> |
From: <smi...@us...> - 2004-01-02 00:48:05
|
Update of /cvsroot/devil-linux/build/docs/documentation In directory sc8-pr-cvs1:/tmp/cvs-serv20276 Modified Files: Tag: rel-1-0-patches documentation.css Log Message: white header and footer Index: documentation.css =================================================================== RCS file: /cvsroot/devil-linux/build/docs/documentation/documentation.css,v retrieving revision 1.2 retrieving revision 1.2.2.1 diff -u -d -r1.2 -r1.2.2.1 --- documentation.css 27 Oct 2002 20:39:07 -0000 1.2 +++ documentation.css 2 Jan 2004 00:48:01 -0000 1.2.2.1 @@ -81,7 +81,7 @@ div.navheader { padding-top: 2px; - background-color: #c6bec6; + background-color: #FFFFFF; padding-right: 2px; border-bottom-style: solid; border-bottom-width: 1px; @@ -89,7 +89,7 @@ div.navfooter { padding-top: 2px; - background-color: #c6bec6; + background-color: #FFFFFF; padding-right: 2px; border-bottom-style: solid; border-bottom-width: 1px; |
Update of /cvsroot/devil-linux/build/docs/documentation/stylesheets/html In directory sc8-pr-cvs1:/tmp/cvs-serv17796/stylesheets/html Added Files: ChangeLog admon.xsl autoidx.xsl autotoc.xsl biblio.xsl block.xsl callout.xsl changebars.xsl chunk-code.xsl chunk-common.xsl chunk.xsl chunker.xsl chunkfast.xsl chunktoc.xsl component.xsl division.xsl docbook.xsl ebnf.xsl footnote.xsl formal.xsl glossary.xsl graphics.xsl html-rtf.xsl html.xsl htmltbl.xsl index.xsl info.xsl inline.xsl keywords.xsl lists.xsl maketoc.xsl manifest.xsl math.xsl oldchunker.xsl onechunk.xsl param.ent param.xml param.xsl param.xweb pi.xsl profile-chunk-code.xsl profile-chunk.xsl profile-docbook.xsl profile-onechunk.xsl qandaset.xsl refentry.xsl sections.xsl synop.xsl table.xsl task.xsl titlepage-new.xml titlepage-new.xsl titlepage.templates.xml titlepage.templates.xsl titlepage.xsl toc.xsl verbatim.xsl xref.xsl Log Message: so that's hopefully it, with the new stylesheets |
Update of /cvsroot/devil-linux/build/docs/documentation/stylesheets/images/callouts In directory sc8-pr-cvs1:/tmp/cvs-serv17796/stylesheets/images/callouts Added Files: 1.gif 1.png 10.gif 10.png 11.gif 11.png 12.gif 12.png 13.gif 13.png 14.gif 14.png 15.gif 15.png 2.gif 2.png 3.gif 3.png 4.gif 4.png 5.gif 5.png 6.gif 6.png 7.gif 7.png 8.gif 8.png 9.gif 9.png ChangeLog Log Message: so that's hopefully it, with the new stylesheets |
Update of /cvsroot/devil-linux/build/docs/documentation/stylesheets/fo In directory sc8-pr-cvs1:/tmp/cvs-serv17796/stylesheets/fo Added Files: ChangeLog admon.xsl autoidx.xsl autotoc.xsl axf.xsl biblio.xsl block.xsl callout.xsl component.xsl division.xsl docbook.xsl ebnf.xsl fo-patch-for-fop.xsl fo-rtf.xsl fo.xsl footnote.xsl fop.xsl formal.xsl glossary.xsl graphics.xsl htmltbl.xsl index.xsl info.xsl inline.xsl keywords.xsl lists.xsl math.xsl pagesetup.xsl param.ent param.xml param.xsl param.xweb passivetex.xsl pdf2index pi.xsl profile-docbook.xsl qandaset.xsl refentry.xsl sections.xsl synop.xsl table.xsl task.xsl titlepage.templates.xml titlepage.templates.xsl titlepage.xsl toc.xsl verbatim.xsl xep.xsl xref.xsl Log Message: so that's hopefully it, with the new stylesheets |
Update of /cvsroot/devil-linux/build/docs/documentation/stylesheets/images In directory sc8-pr-cvs1:/tmp/cvs-serv17796/stylesheets/images Added Files: ChangeLog blank.png caution.gif caution.png caution.tif draft.png home.gif home.png important.gif important.png important.tif next.gif next.png note.gif note.png note.tif prev.gif prev.png tip.gif tip.png tip.tif toc-blank.png toc-minus.png toc-plus.png up.gif up.png warning.gif warning.png warning.tif Log Message: so that's hopefully it, with the new stylesheets |
Update of /cvsroot/devil-linux/build/docs/documentation/stylesheets/common In directory sc8-pr-cvs1:/tmp/cvs-serv17796/stylesheets/common Added Files: ChangeLog af.xml ar.xml bg.xml bn.xml ca.xml common.xsl cs.xml da.xml de.xml el.xml en.xml es.xml et.xml eu.xml fi.xml fr.xml gentext.xsl he.xml hr.xml hu.xml id.xml it.xml ja.xml ko.xml l10n.dtd l10n.xml l10n.xsl la.xml labels.xsl lt.xml nl.xml nn.xml no.xml pi.xsl pl.xml pt.xml pt_br.xml ro.xml ru.xml sk.xml sl.xml sr.xml sr_Latn.xml subtitles.xsl sv.xml table.xsl targetdatabase.dtd targets.xsl th.xml titles.xsl tr.xml uk.xml vi.xml xh.xml zh_cn.xml zh_tw.xml Log Message: so that's hopefully it, with the new stylesheets |
Update of /cvsroot/devil-linux/build/docs/documentation/stylesheets/doc In directory sc8-pr-cvs1:/tmp/cvs-serv17796/stylesheets/doc Added Files: ChangeLog book.xsl ch01s02.html ch01s03.html ch01s04.html ch02s02.html ch03.html ch04.html ch05.html ch06s02.html ch06s03.html copyright.html extensions.html extensions.html.html htmlhelp.html htmlhelp.html.html index.html jrefhtml.xsl pr01.html publishing.html publishing.html.html ref.css reference.css reference.html reference.xsl warranty.html Log Message: so that's hopefully it, with the new stylesheets |
From: <smi...@us...> - 2004-01-02 00:39:58
|
Update of /cvsroot/devil-linux/build/docs/documentation/stylesheets In directory sc8-pr-cvs1:/tmp/cvs-serv17796/stylesheets Added Files: VERSION html.xsl html_single.xsl style.xsl Log Message: so that's hopefully it, with the new stylesheets |
Update of /cvsroot/devil-linux/build/docs/documentation/stylesheets/profiling In directory sc8-pr-cvs1:/tmp/cvs-serv17796/stylesheets/profiling Added Files: ChangeLog profile-mode.xsl profile.xsl strip-attributes.xsl xsl2profile.xsl Log Message: so that's hopefully it, with the new stylesheets |
Update of /cvsroot/devil-linux/build/docs/documentation/stylesheets/htmlhelp In directory sc8-pr-cvs1:/tmp/cvs-serv17796/stylesheets/htmlhelp Added Files: ChangeLog htmlhelp-common.xsl htmlhelp.xsl profile-htmlhelp-common.xsl profile-htmlhelp.xsl Log Message: so that's hopefully it, with the new stylesheets --- NEW FILE: ChangeLog --- 2003-12-10 Jirka Kosek <ko...@us...> * htmlhelp-common.xsl: Fixed parameter name collision 2003-11-29 Jirka Kosek <ko...@us...> * htmlhelp-common.xsl: Added new HTML Help parameters from patches by W. Borgert 2003-10-27 Jirka Kosek <ko...@us...> * htmlhelp-common.xsl: Handle setindex in a proper way 2003-09-23 Jirka Kosek <ko...@us...> * htmlhelp-common.xsl: Added new parameter manifest.in.base.dir which can be used to place manifest file and also project files for HTML Help and Eclipse Help into base.dir. This improvement also fixes bug (feature) #662955. 2003-08-12 Jirka Kosek <ko...@us...> * htmlhelp-common.xsl: It seems that HH can handle fragments identifiers in context help, so I changed stylesheets back to emit filename with fragment identifier. 2003-07-22 Jirka Kosek <ko...@us...> * htmlhelp-common.xsl: Moving template to place where it can be reused 2003-05-25 Jirka Kosek <ko...@us...> * htmlhelp-common.xsl, langcodes.xml: HTML Help language codes were moved to localization files. 2003-01-31 Jirka Kosek <ko...@us...> * htmlhelp-common.xsl: Xalan workaround for HHK files. 2002-10-15 Jirka Kosek <ko...@us...> * htmlhelp-common.xsl: HTML sensitive characters are manually escaped in attribute values (we must do it, as we don't use HTML/XML output method). 2002-10-14 Jirka Kosek <ko...@us...> * htmlhelp-common.xsl: Options->Home command works also when base.dir parameter is used and home button is disabled 2002-08-22 Jirka Kosek <ko...@us...> * htmlhelp-common.xsl: Index can be alternatively created using HHK file from now. This allows see-also processing and index terms also points to their exact location. 2002-06-13 Jirka Kosek <ko...@us...> * .cvsignore: Reflect changes in HTML Help stylesheet organization. * htmlhelp-common.xsl: Added parameter for disabling HTML output when testing various HTML Help features. * htmlhelp-common.xsl: New features. A lot of new features. For HTML Help. * htmlhelp-common.xsl: Turn on more verbose messages during compilation to CHM 2002-06-12 Jirka Kosek <ko...@us...> * Makefile, htmlhelp-common.xsl, htmlhelp.xsl, profile-htmlhelp.xsl: Rearranged code so HTML Help can be easily combined with custom chunking schemes. This is needed for TDG processing. 2002-06-09 Jirka Kosek <ko...@us...> * htmlhelp.xsl: Fixed bug #438793. HTML Help stylesheet works also in Xalan from now. 2002-06-03 Jirka Kosek <ko...@us...> * Makefile: Added dependencies for profiling stylesheets 2002-05-10 Jirka Kosek <ko...@us...> * htmlhelp.xsl: Updated to use shared manifest code. 2002-04-11 Jirka Kosek <ko...@us...> * htmlhelp.xsl: Updated to support new generate.toc parameter. 2002-03-14 Norman Walsh <nw...@us...> * .cvsignore: New file. * htmlhelp.xsl: Whitespace changes only: use PC-style CR/LF because Unix clients choke on this far less often than PC clients choke on the reverse. Grrr. * htmlhelp.xsl, langcodes.xml: Whitespace only: change CR/LF back to LF. Norm was a total moron. 2002-03-01 Jirka Kosek <ko...@us...> * Makefile: New file. 2002-02-16 Jirka Kosek <ko...@us...> * htmlhelp.xsl: Added missing support for refentries inside sections and for glossaries. * htmlhelp.xsl: Fixed bug #514883. Added missing colophon. 2002-02-10 Jirka Kosek <ko...@us...> * htmlhelp.xsl: Added parameter htmlhelp.default.topic for overriding default topic to display. * htmlhelp.xsl: Entry with link to page with Table of Contents is put into HTML Help ToC when htmlhelp.hhc.show.root=0 and generate.{set|book}.toc=1 2002-02-09 Jirka Kosek <ko...@us...> * htmlhelp.xsl: Added parameter which controls appearance of root element in HTML Help ToC. 2002-02-07 Jirka Kosek <ko...@us...> * htmlhelp.xsl: Duplicate image filenames from [FILES] section are now automatically removed in EXSLT friendly processors. 2002-02-05 Jirka Kosek <ko...@us...> * htmlhelp.xsl: Removed fragment identifiers from hrefs in alias.h file. 2002-02-03 Jirka Kosek <ko...@us...> * htmlhelp.xsl: Added parameter htmlhelp.title for manual control over HTML Help title. Improved code for automatic extraction of title from document. 2002-01-24 Jirka Kosek <ko...@us...> * htmlhelp.xsl: Fixed bug in alias.h when base.dir parameter was used. 2002-01-22 Jirka Kosek <ko...@us...> * htmlhelp.xsl: Feature request #507087. Added parameter for controling appearance of icons in HTML Help ToC. 2001-12-06 Jirka Kosek <ko...@us...> * htmlhelp.xsl: Template write.text.chunk moved to common place. 2001-12-04 Jirka Kosek <ko...@us...> * htmlhelp.xsl: Make compatible with last changes in chunking code. 2001-11-28 Jirka Kosek <ko...@us...> * htmlhelp.xsl: Use common pi-attribute template * htmlhelp.xsl: Added parameter htmlhelp.hhc.section.depth for controlling depth of sections in a TOC in a left pane of HTML Help viewer. * htmlhelp.xsl: Added support for automatic generation of map and context files for HTML Help. Topic names and IDs are marked by special PI <?dbhh topicname="..." topicid="..."?>. 2001-11-27 Norman Walsh <nw...@us...> * htmlhelp-common.xsl, htmlhelp.xsl: Removed obsolete XT support; added support for rootid parameter * htmlhelp.xsl: Fixed simple select typo 2001-11-27 Jirka Kosek <ko...@us...> * htmlhelp.xsl: Added $rootid support also for title of HTML Help window 2001-11-27 Norman Walsh <nw...@us...> * xthtmlhelp.xsl: Removed obsolete XT support; added support for rootid parameter 2001-11-05 Jirka Kosek <ko...@us...> * htmlhelp-common.xsl: Parameters moved to params subdirectory. 2001-11-04 Jirka Kosek <ko...@us...> * htmlhelp-common.xsl: Added parameter htmlhelp.enumerate.images which controls inclusion of image filenames list in project file. This is necessary when images are inserted as external binary entities. 2001-08-23 Jirka Kosek <ko...@us...> * htmlhelp-common.xsl: Synchronized puncation generation in ToC with rest of stylesheets. 2001-08-21 Jirka Kosek <ko...@us...> * htmlhelp-common.xsl: Fixed presentation of secondary indexterms in index pane 2001-08-13 Jirka Kosek <ko...@us...> * htmlhelp-common.xsl: Fixed problems with new lines in titles for TOC 2001-08-08 Jirka Kosek <ko...@us...> * htmlhelp-common.xsl: Added new parameters for controling filenames of project and output files. New parameter htmlhelp.hhp.tail for specifying user content for project file. 2001-07-23 Jirka Kosek <ko...@us...> * htmlhelp-common.xsl: Fixed bug #442162 - bibliography element is included in ToC in the left pane, index is not generated because it has own dialog also in the left pane of HTML Help viewer 2001-06-25 Jirka Kosek <ko...@us...> * htmlhelp-common.xsl: Added htmlhelp.autolabel parameter to control inclusion of component and section labels into tree-like ToC. 2001-05-05 Jirka Kosek <ko...@us...> * htmlhelp-common.xsl: Colophon is now included in toc.hhc 2001-04-21 Jirka Kosek <ko...@us...> * README: Removed obsolete file 2001-04-04 Norman Walsh <nw...@us...> * README, htmlhelp-common.xsl, htmlhelp.xsl, langcodes.xml, xthtmlhelp.xsl: New file. --- NEW FILE: htmlhelp-common.xsl --- <?xml version="1.0"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" xmlns:exsl="http://exslt.org/common" xmlns:set="http://exslt.org/sets" xmlns:h="urn:x-hex" version="1.0" exclude-result-prefixes="doc exsl set h"> <!-- ******************************************************************** $Id: htmlhelp-common.xsl,v 1.1 2004/01/02 00:39:32 smiley73 Exp $ ******************************************************************** --> <!-- ==================================================================== --> <!-- Customizations of standard HTML stylesheet parameters --> <xsl:param name="suppress.navigation" select="1"/> <!-- ==================================================================== --> [...1150 lines suppressed...] <xsl:with-param name="string" select="$amp.escaped"/> <xsl:with-param name="target" select="'"'"/> <xsl:with-param name="replacement" select="'&quot;'"/> </xsl:call-template> </xsl:variable> <xsl:variable name="angle.escaped"> <xsl:call-template name="string.subst"> <xsl:with-param name="string" select="$quot.escaped"/> <xsl:with-param name="target" select="'<'"/> <xsl:with-param name="replacement" select="'&lt;'"/> </xsl:call-template> </xsl:variable> <xsl:value-of select="$angle.escaped"/> </xsl:template> </xsl:stylesheet> --- NEW FILE: htmlhelp.xsl --- <?xml version="1.0"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" xmlns:exsl="http://exslt.org/common" xmlns:set="http://exslt.org/sets" version="1.0" exclude-result-prefixes="doc exsl set"> <!-- ******************************************************************** $Id: htmlhelp.xsl,v 1.1 2004/01/02 00:39:32 smiley73 Exp $ ******************************************************************** This file is used by htmlhelp.xsl if you want to generate source files for HTML Help. It is based on the XSL DocBook Stylesheet distribution (especially on JavaHelp code) from Norman Walsh. ******************************************************************** --> <xsl:import href="../html/chunk.xsl"/> <xsl:include href="htmlhelp-common.xsl"/> </xsl:stylesheet> --- NEW FILE: profile-htmlhelp-common.xsl --- <?xml version="1.0" encoding="US-ASCII"?> <!--This file was created automatically by xsl2profile--> <!--from the DocBook XSL stylesheets. Do not edit this file.--> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" xmlns:exsl="http://exslt.org/common" xmlns:set="http://exslt.org/sets" xmlns:h="urn:x-hex" xmlns:exslt="http://exslt.org/common" exslt:dummy="dummy" extension-element-prefixes="exslt" version="1.0" exclude-result-prefixes="doc exsl set h exslt"> <!-- ******************************************************************** $Id: profile-htmlhelp-common.xsl,v 1.1 2004/01/02 00:39:32 smiley73 Exp $ ******************************************************************** --> <!-- ==================================================================== --> <!-- Customizations of standard HTML stylesheet parameters --> <xsl:param name="suppress.navigation" select="1"/> <!-- ==================================================================== --> <xsl:variable name="htmlhelp.generate.index" select="//indexterm[1]"/> <!-- ==================================================================== --> [...1119 lines suppressed...] <xsl:with-param name="string" select="$amp.escaped"/> <xsl:with-param name="target" select="'"'"/> <xsl:with-param name="replacement" select="'&quot;'"/> </xsl:call-template> </xsl:variable> <xsl:variable name="angle.escaped"> <xsl:call-template name="string.subst"> <xsl:with-param name="string" select="$quot.escaped"/> <xsl:with-param name="target" select="'<'"/> <xsl:with-param name="replacement" select="'&lt;'"/> </xsl:call-template> </xsl:variable> <xsl:value-of select="$angle.escaped"/> </xsl:template> </xsl:stylesheet> --- NEW FILE: profile-htmlhelp.xsl --- <?xml version="1.0"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" xmlns:exsl="http://exslt.org/common" xmlns:set="http://exslt.org/sets" version="1.0" exclude-result-prefixes="doc exsl set"> <!-- ******************************************************************** $Id: profile-htmlhelp.xsl,v 1.1 2004/01/02 00:39:32 smiley73 Exp $ ******************************************************************** This file is used by htmlhelp.xsl if you want to generate source files for HTML Help. It is based on the XSL DocBook Stylesheet distribution (especially on JavaHelp code) from Norman Walsh. ******************************************************************** --> <xsl:import href="../html/chunk.xsl"/> <xsl:include href="profile-htmlhelp-common.xsl"/> </xsl:stylesheet> |
From: <smi...@us...> - 2004-01-02 00:39:39
|
Update of /cvsroot/devil-linux/build/docs/documentation/stylesheets/eclipse In directory sc8-pr-cvs1:/tmp/cvs-serv17796/stylesheets/eclipse Added Files: ChangeLog eclipse.xsl Log Message: so that's hopefully it, with the new stylesheets --- NEW FILE: ChangeLog --- 2003-09-23 Jirka Kosek <ko...@us...> * eclipse.xsl: Added new parameter manifest.in.base.dir which can be used to place manifest file and also project files for HTML Help and Eclipse Help into base.dir. This improvement also fixes bug (feature) #662955. 2003-07-22 Jirka Kosek <ko...@us...> * eclipse.xsl: New file. --- NEW FILE: eclipse.xsl --- <?xml version="1.0"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:import href="../html/chunk.xsl"/> <!-- ******************************************************************** $Id: eclipse.xsl,v 1.1 2004/01/02 00:39:31 smiley73 Exp $ ******************************************************************** This file is part of the XSL DocBook Stylesheet distribution. See ../README or http://nwalsh.com/docbook/xsl/ for copyright and other information. ******************************************************************** --> <xsl:template match="/"> <xsl:choose> <xsl:when test="$rootid != ''"> <xsl:choose> <xsl:when test="count(key('id',$rootid)) = 0"> <xsl:message terminate="yes"> <xsl:text>ID '</xsl:text> <xsl:value-of select="$rootid"/> <xsl:text>' not found in document.</xsl:text> </xsl:message> </xsl:when> <xsl:otherwise> <xsl:message>Formatting from <xsl:value-of select="$rootid"/></xsl:message> <xsl:apply-templates select="key('id',$rootid)" mode="process.root"/> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:otherwise> <xsl:apply-templates select="/" mode="process.root"/> </xsl:otherwise> </xsl:choose> <xsl:call-template name="etoc"/> <xsl:call-template name="plugin.xml"/> </xsl:template> <xsl:template name="etoc"> <xsl:call-template name="write.chunk"> <xsl:with-param name="filename"> <xsl:if test="$manifest.in.base.dir != 0"> <xsl:value-of select="$base.dir"/> </xsl:if> <xsl:value-of select="'toc.xml'"/> </xsl:with-param> <xsl:with-param name="method" select="'xml'"/> <xsl:with-param name="encoding" select="'utf-8'"/> <xsl:with-param name="indent" select="'yes'"/> <xsl:with-param name="content"> <xsl:choose> <xsl:when test="$rootid != ''"> <xsl:variable name="title"> <xsl:if test="$eclipse.autolabel=1"> <xsl:variable name="label.markup"> <xsl:apply-templates select="key('id',$rootid)" mode="label.markup"/> </xsl:variable> <xsl:if test="normalize-space($label.markup)"> <xsl:value-of select="concat($label.markup,$autotoc.label.separator)"/> </xsl:if> </xsl:if> <xsl:apply-templates select="key('id',$rootid)" mode="title.markup"/> </xsl:variable> <xsl:variable name="href"> <xsl:call-template name="href.target.with.base.dir"> <xsl:with-param name="object" select="key('id',$rootid)"/> </xsl:call-template> </xsl:variable> <toc label="{$title}" topic="{$href}"> <xsl:apply-templates select="key('id',$rootid)/*" mode="etoc"/> </toc> </xsl:when> <xsl:otherwise> <xsl:variable name="title"> <xsl:if test="$eclipse.autolabel=1"> <xsl:variable name="label.markup"> <xsl:apply-templates select="/*" mode="label.markup"/> </xsl:variable> <xsl:if test="normalize-space($label.markup)"> <xsl:value-of select="concat($label.markup,$autotoc.label.separator)"/> </xsl:if> </xsl:if> <xsl:apply-templates select="/*" mode="title.markup"/> </xsl:variable> <xsl:variable name="href"> <xsl:call-template name="href.target.with.base.dir"> <xsl:with-param name="object" select="/"/> </xsl:call-template> </xsl:variable> <toc label="{$title}" topic="{$href}"> <xsl:apply-templates select="/*/*" mode="etoc"/> </toc> </xsl:otherwise> </xsl:choose> </xsl:with-param> </xsl:call-template> </xsl:template> <xsl:template match="book|part|reference|preface|chapter|bibliography|appendix|article|glossary|section|sect1|sect2|sect3|sect4|sect5|refentry|colophon|bibliodiv|index" mode="etoc"> <xsl:variable name="title"> <xsl:if test="$eclipse.autolabel=1"> <xsl:variable name="label.markup"> <xsl:apply-templates select="." mode="label.markup"/> </xsl:variable> <xsl:if test="normalize-space($label.markup)"> <xsl:value-of select="concat($label.markup,$autotoc.label.separator)"/> </xsl:if> </xsl:if> <xsl:apply-templates select="." mode="title.markup"/> </xsl:variable> <xsl:variable name="href"> <xsl:call-template name="href.target.with.base.dir"/> </xsl:variable> <topic label="{$title}" href="{$href}"> <xsl:apply-templates select="part|reference|preface|chapter|bibliography|appendix|article|glossary|section|sect1|sect2|sect3|sect4|sect5|refentry|colophon|bibliodiv|index" mode="etoc"/> </topic> </xsl:template> <xsl:template match="text()" mode="etoc"/> <xsl:template name="plugin.xml"> <xsl:call-template name="write.chunk"> <xsl:with-param name="filename"> <xsl:if test="$manifest.in.base.dir != 0"> <xsl:value-of select="$base.dir"/> </xsl:if> <xsl:value-of select="'plugin.xml'"/> </xsl:with-param> <xsl:with-param name="method" select="'xml'"/> <xsl:with-param name="encoding" select="'utf-8'"/> <xsl:with-param name="indent" select="'yes'"/> <xsl:with-param name="content"> <plugin name="{$eclipse.plugin.name}" id="{$eclipse.plugin.id}" version="1.0" provider-name="{$eclipse.plugin.provider}"> <extension point="org.eclipse.help.toc"> <toc file="toc.xml" primary="true"/> </extension> </plugin> </xsl:with-param> </xsl:call-template> </xsl:template> </xsl:stylesheet> |
From: <smi...@us...> - 2004-01-02 00:39:39
|
Update of /cvsroot/devil-linux/build/docs/documentation/stylesheets/doc/lib In directory sc8-pr-cvs1:/tmp/cvs-serv17796/stylesheets/doc/lib Added Files: ChangeLog lib.html Log Message: so that's hopefully it, with the new stylesheets --- NEW FILE: ChangeLog --- 2002-03-25 Norman Walsh <nw...@us...> * Makefile: Update documentation build to reflect use of lib.xweb 2002-03-09 Jirka Kosek <ko...@us...> * Makefile: Removed hardcoded reference for XSLT processor as it is already set in Makefile.incl. Fixed typo in DocBook DTD URI. 2001-08-06 Norman Walsh <nw...@us...> * Makefile: Documentation and documentation generation tweaks 2001-06-20 Norman Walsh <nw...@us...> * Makefile: Use XT again (neither Saxon nor Xalan work) 2001-04-03 Norman Walsh <nw...@us...> * .cvsignore, Makefile: New file. --- NEW FILE: lib.html --- <html><head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>XSL Library Template Reference</title><meta name="generator" content="DocBook XSL Stylesheets V0.00+"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="book"><div class="titlepage"><div><h1 class="title"><a name="d0e3"></a>XSL Library Template Reference</h1></div><div><h3 class="corpauthor">DocBook Open Repository Team</h3></div><div><p class="releaseinfo">$Id: lib.html,v 1.1 2004/01/02 00:39:30 smiley73 Exp $ </p></div><div><p class="copyright">Copyright © 1999, 2000, 2001, 2002 Norman Walsh</p></div><hr></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><a href="#d0e22">Introduction</a></dt><dt>I. <a href="#d0e37">General Library Templates</a></dt><dd><dl><dt><a href="#dot.count">dot.count</a> - Returns the number of . characters in a string</dt><dt><a href="#copy-string">copy-string</a> - Returns count copies of a string</dt><dt><a href="#string.subst">string.subst</a> - Substitute one text string for another in a string</dt><dt><a href="#xpointer.idref">xpointer.idref</a> - Extract IDREF from an XPointer</dt><dt><a href="#length-magnitude">length-magnitude</a> - Return the unqualified dimension from a length specification</dt><dt><a href="#length-units">length-units</a> - Return the units from a length specification</dt><dt><a href="#length-spec">length-spec</a> - Return a fully qualified length specification</dt><dt><a href="#length-in-points">length-in-points</a> - Returns the size, in points, of a specified length</dt><dt><a href="#pi-attribute">pi-attribute</a> - Extract a pseudo-attribute from a PI</dt><dt><a href="#lookup.key">lookup.key</a> - Retrieve the value associated with a particular key in a table</dt><dt><a href="#xpath.location">xpath.location</a> - Calculate the XPath child-sequence to the current node</dt><dt><a href="#comment-escape-string">comment-escape-string</a> - Prepare a string for inclusion in an XML comment</dt><dt><a href="#comment-escape-string.recursive">comment-escape-string.recursive</a> - Internal function used by comment-escape-string</dt></dl></dd><dt>II. <a href="#d0e331">Relative URI Functions</a></dt><dd><dl><dt><a href="#count.uri.path.depth">count.uri.path.depth</a> - Count the number of path components in a relative URI</dt><dt><a href="#trim.common.uri.paths">trim.common.uri.paths</a> - Trim common leading path components from a relative URI</dt></dl></dd><dt>A. <a href="#d0e385">The Stylesheet</a></dt></dl></div><div class="preface"><div class="titlepage"><div><h2 class="title"><a name="d0e22"></a>Introduction</h2></div></div><p>This is technical reference documentation for the DocBook XSL Stylesheets; it documents (some of) the parameters, templates, and other elements of the stylesheets.</p><p>This is not intended to be “user” documentation. It is provided for developers writing customization layers for the stylesheets, and for anyone who's interested in “how it works”.</p><p>Although I am trying to be thorough, this documentation is known to be incomplete. Don't forget to read the source, too :-)</p></div><div class="reference"><a name="d0e37"></a><div class="titlepage"><div><h1 class="title"><a name="d0e37"></a>General Library Templates</h1></div><hr></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><a href="#dot.count">dot.count</a> - Returns the number of . characters in a string</dt><dt><a href="#copy-string">copy-string</a> - Returns count copies of a string</dt><dt><a href="#string.subst">string.subst</a> - Substitute one text string for another in a string</dt><dt><a href="#xpointer.idref">xpointer.idref</a> - Extract IDREF from an XPointer</dt><dt><a href="#length-magnitude">length-magnitude</a> - Return the unqualified dimension from a length specification</dt><dt><a href="#length-units">length-units</a> - Return the units from a length specification</dt><dt><a href="#length-spec">length-spec</a> - Return a fully qualified length specification</dt><dt><a href="#length-in-points">length-in-points</a> - Returns the size, in points, of a specified length</dt><dt><a href="#pi-attribute">pi-attribute</a> - Extract a pseudo-attribute from a PI</dt><dt><a href="#lookup.key">lookup.key</a> - Retrieve the value associated with a particular key in a table</dt><dt><a href="#xpath.location">xpath.location</a> - Calculate the XPath child-sequence to the current node</dt><dt><a href="#comment-escape-string">comment-escape-string</a> - Prepare a string for inclusion in an XML comment</dt><dt><a href="#comment-escape-string.recursive">comment-escape-string.recursive</a> - Internal function used by comment-escape-string</dt></dl></div><div class="refentry"><a name="dot.count"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>dot.count — Returns the number of “.” characters in a string</p></div><div class="refsect1"><h2>Description</h2><pre class="programlisting"><a name="dot.count.frag"></a><table border="1" width="100%"><tr><td><p><b>§1</b>: <a href="#top">§16</a></p></td></tr><tr><td><pre class="src:fragment"> 1| <xsl:template name="dot.count"> | <!-- Returns the number of "." characters in a string --> | <xsl:param name="string"/> | <xsl:param name="count" 5| select="0"/> | <xsl:choose> | <xsl:when test="contains($string, '.')"> | <xsl:call-template name="dot.count"> | <xsl:with-param name="string" 10| select="substring-after($string, '.')"/> | <xsl:with-param name="count" | select="$count+1"/> | </xsl:call-template> | </xsl:when> 15| <xsl:otherwise> | <xsl:value-of select="$count"/> | </xsl:otherwise> | </xsl:choose> | </xsl:template></pre></td></tr></table></pre></div></div><div class="refentry"><div class="refentry.separator"><hr></div><a name="copy-string"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>copy-string — Returns “count” copies of a string</p></div><div class="refsect1"><h2>Description</h2><pre class="programlisting"><a name="copy-string.frag"></a><table border="1" width="100%"><tr><td><p><b>§2</b>: <a href="#top">§16</a></p></td></tr><tr><td><pre class="src:fragment"> 1| <xsl:template name="copy-string"> | <!-- returns 'count' copies of 'string' --> | <xsl:param name="string"/> | <xsl:param name="count" 5| select="0"/> | <xsl:param name="result"/> | | <xsl:choose> | <xsl:when test="$count>0"> 10| <xsl:call-template name="copy-string"> | <xsl:with-param name="string" | select="$string"/> | <xsl:with-param name="count" | select="$count - 1"/> 15| <xsl:with-param name="result"> | <xsl:value-of select="$result"/> | <xsl:value-of select="$string"/> | </xsl:with-param> | </xsl:call-template> 20| </xsl:when> | <xsl:otherwise> | <xsl:value-of select="$result"/> | </xsl:otherwise> | </xsl:choose> 25| </xsl:template></pre></td></tr></table></pre></div></div><div class="refentry"><div class="refentry.separator"><hr></div><a name="string.subst"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>string.subst — Substitute one text string for another in a string</p></div><div class="refsect1"><h2>Description</h2><p>The <tt>string.subst</tt> template replaces all occurances of <i><tt>target</tt></i> in <i><tt>string</tt></i> with <i><tt>replacement</tt></i> and returns the result. </p><pre class="programlisting"><a name="string.subst.frag"></a><table border="1" width="100%"><tr><td><p><b>§3</b>: <a href="#top">§16</a></p></td></tr><tr><td><pre class="src:fragment"> 1| <xsl:template name="string.subst"> | <xsl:param name="string"/> | <xsl:param name="target"/> | <xsl:param name="replacement"/> 5| | <xsl:choose> | <xsl:when test="contains($string, $target)"> | <xsl:variable name="rest"> | <xsl:call-template name="string.subst"> 10| <xsl:with-param name="string" | select="substring-after($string, $target)"/> | <xsl:with-param name="target" | select="$target"/> | <xsl:with-param name="replacement" 15| select="$replacement"/> | </xsl:call-template> | </xsl:variable> | <xsl:value-of select="concat(substring-before($string, $target), $replacement, $rest)"/> | </xsl:when> 20| <xsl:otherwise> | <xsl:value-of select="$string"/> | </xsl:otherwise> | </xsl:choose> | </xsl:template></pre></td></tr></table></pre></div></div><div class="refentry"><div class="refentry.separator"><hr></div><a name="xpointer.idref"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>xpointer.idref — Extract IDREF from an XPointer</p></div><div class="refsect1"><h2>Description</h2><p>The <tt>xpointer.idref</tt> template returns the ID portion of an XPointer which is a pointer to an ID within the current document, or the empty string if it is not.</p><p>In other words, <tt>xpointer.idref</tt> returns “foo” when passed either <tt>#foo</tt> or <tt>#xpointer(id('foo'))</tt>, otherwise it returns the empty string.</p><pre class="programlisting"><a name="xpointer.idref.frag"></a><table border="1" width="100%"><tr><td><p><b>§4</b>: <a href="#top">§16</a></p></td></tr><tr><td><pre class="src:fragment"> 1| <xsl:template name="xpointer.idref"> | <xsl:param name="xpointer">http://...</xsl:param> | <xsl:choose> | <xsl:when test="starts-with($xpointer, '#xpointer(id(')"> 5| <xsl:variable name="rest" | select="substring-after($xpointer, '#xpointer(id(')"/> | <xsl:variable name="quote" | select="substring($rest, 1, 1)"/> | <xsl:value-of select="substring-before(substring-after($xpointer, $quote), $quote)"/> 10| </xsl:when> | <xsl:when test="starts-with($xpointer, '#')"> | <xsl:value-of select="substring-after($xpointer, '#')"/> | </xsl:when> | <!-- otherwise it's a pointer to some other document --> 15| </xsl:choose> | </xsl:template></pre></td></tr></table></pre></div></div><div class="refentry"><div class="refentry.separator"><hr></div><a name="length-magnitude"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>length-magnitude — Return the unqualified dimension from a length specification</p></div><div class="refsect1"><h2>Description</h2><p>The <tt>length-magnitude</tt> template returns the unqualified length ("20" for "20pt") from a dimension. </p><pre class="programlisting"><a name="length-magnitude.frag"></a><table border="1" width="100%"><tr><td><p><b>§5</b>: <a href="#top">§16</a></p></td></tr><tr><td><pre class="src:fragment"> 1| <xsl:template name="length-magnitude"> | <xsl:param name="length" | select="'0pt'"/> | 5| <xsl:choose> | <xsl:when test="string-length($length) = 0"/> | <xsl:when test="substring($length,1,1) = '0' or substring($length,1,1) = '1' or substring($length,1,1) = '2' or substring($length,1,1) = '3' or substring($length,1,1) = '4' or substring($length,1,1) = '5' or substring($length,1,1) = '6' or substring($length,1,1) = '7' or substring($length,1,1) = '8' or substring($length,1,1) = '9' or substring($length,1,1) = '.'"> | <xsl:value-of select="substring($length,1,1)"/> | <xsl:call-template name="length-magnitude"> 10| <xsl:with-param name="length" | select="substring($length,2)"/> | </xsl:call-template> | </xsl:when> | </xsl:choose> 15| </xsl:template></pre></td></tr></table></pre></div></div><div class="refentry"><div class="refentry.separator"><hr></div><a name="length-units"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>length-units — Return the units from a length specification</p></div><div class="refsect1"><h2>Description</h2><p>The <tt>length-units</tt> template returns the units ("pt" for "20pt") from a length. If no units are supplied on the length, the <i><tt>defauilt.units</tt></i> are returned.</p><pre class="programlisting"><a name="length-units.frag"></a><table border="1" width="100%"><tr><td><p><b>§6</b>: <a href="#top">§16</a></p></td></tr><tr><td><pre class="src:fragment"> 1| <xsl:template name="length-units"> | <xsl:param name="length" | select="'0pt'"/> | <xsl:param name="default.units" 5| select="'px'"/> | <xsl:variable name="magnitude"> | <xsl:call-template name="length-magnitude"> | <xsl:with-param name="length" | select="$length"/> 10| </xsl:call-template> | </xsl:variable> | | <xsl:variable name="units"> | <xsl:value-of select="substring($length, string-length($magnitude)+1)"/> 15| </xsl:variable> | | <xsl:choose> | <xsl:when test="$units = ''"> | <xsl:value-of select="$default.units"/> 20| </xsl:when> | <xsl:otherwise> | <xsl:value-of select="$units"/> | </xsl:otherwise> | </xsl:choose> 25| </xsl:template></pre></td></tr></table></pre></div></div><div class="refentry"><div class="refentry.separator"><hr></div><a name="length-spec"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>length-spec — Return a fully qualified length specification</p></div><div class="refsect1"><h2>Description</h2><p>The <tt>length-spec</tt> template returns the qualified length from a dimension. If an unqualified length is given, the <i><tt>default.units</tt></i> will be added to it. </p><pre class="programlisting"><a name="length-spec.frag"></a><table border="1" width="100%"><tr><td><p><b>§7</b>: <a href="#top">§16</a></p></td></tr><tr><td><pre class="src:fragment"> 1| <xsl:template name="length-spec"> | <xsl:param name="length" | select="'0pt'"/> | <xsl:param name="default.units" 5| select="'px'"/> | | <xsl:variable name="magnitude"> | <xsl:call-template name="length-magnitude"> | <xsl:with-param name="length" 10| select="$length"/> | </xsl:call-template> | </xsl:variable> | | <xsl:variable name="units"> 15| <xsl:value-of select="substring($length, string-length($magnitude)+1)"/> | </xsl:variable> | | <xsl:value-of select="$magnitude"/> | <xsl:choose> 20| <xsl:when test="$units='cm' or $units='mm' or $units='in' or $units='pt' or $units='pc' or $units='px' or $units='em'"> | <xsl:value-of select="$units"/> | </xsl:when> | <xsl:when test="$units = ''"> | <xsl:value-of select="$default.units"/> 25| </xsl:when> | <xsl:otherwise> | <xsl:message> | <xsl:text>Unrecognized unit of measure: </xsl:text> | <xsl:value-of select="$units"/> 30| <xsl:text>.</xsl:text> | </xsl:message> | </xsl:otherwise> | </xsl:choose> | </xsl:template></pre></td></tr></table></pre></div></div><div class="refentry"><div class="refentry.separator"><hr></div><a name="length-in-points"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>length-in-points — Returns the size, in points, of a specified length</p></div><div class="refsect1"><h2>Description</h2><p>The <tt>length-in-points</tt> template converts a length specification to points and returns that value as an unqualified number. </p><div class="caution" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Caution</h3><p>There is no way for the template to infer the size of an <tt>em</tt>. It relies on the default <i><tt>em.size</tt></i> which is initially <tt>10</tt> (for 10pt).</p><p>Similarly, converting pixesl to points relies on the <i><tt>pixels.per.inch</tt></i> parameter which is initially <tt>90</tt>. </p></div><pre class="programlisting"><a name="length-in-points.frag"></a><table border="1" width="100%"><tr><td><p><b>§8</b>: <a href="#top">§16</a></p></td></tr><tr><td><pre class="src:fragment"> 1| <xsl:template name="length-in-points"> | <xsl:param name="length" | select="'0pt'"/> | <xsl:param name="em.size" 5| select="10"/> | <xsl:param name="pixels.per.inch" | select="90"/> | | <xsl:variable name="magnitude"> 10| <xsl:call-template name="length-magnitude"> | <xsl:with-param name="length" | select="$length"/> | </xsl:call-template> | </xsl:variable> 15| | <xsl:variable name="units"> | <xsl:value-of select="substring($length, string-length($magnitude)+1)"/> | </xsl:variable> | 20| <xsl:choose> | <xsl:when test="$units = 'pt'"> | <xsl:value-of select="$magnitude"/> | </xsl:when> | <xsl:when test="$units = 'cm'"> 25| <xsl:value-of select="$magnitude div 2.54 * 72.0"/> | </xsl:when> | <xsl:when test="$units = 'mm'"> | <xsl:value-of select="$magnitude div 25.4 * 72.0"/> | </xsl:when> 30| <xsl:when test="$units = 'in'"> | <xsl:value-of select="$magnitude * 72.0"/> | </xsl:when> | <xsl:when test="$units = 'pc'"> | <xsl:value-of select="$magnitude div 6.0 * 72.0"/> 35| </xsl:when> | <xsl:when test="$units = 'px'"> | <xsl:value-of select="$magnitude div $pixels.per.inch * 72.0"/> | </xsl:when> | <xsl:when test="$units = 'em'"> 40| <xsl:value-of select="$magnitude * $em.size"/> | </xsl:when> | <xsl:otherwise> | <xsl:message> | <xsl:text>Unrecognized unit of measure: </xsl:text> 45| <xsl:value-of select="$units"/> | <xsl:text>.</xsl:text> | </xsl:message> | </xsl:otherwise> | </xsl:choose> 50| </xsl:template></pre></td></tr></table></pre></div></div><div class="refentry"><div class="refentry.separator"><hr></div><a name="pi-attribute"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>pi-attribute — Extract a pseudo-attribute from a PI</p></div><div class="refsect1"><h2>Description</h2><p>The <tt>pi-attribute</tt> template extracts a pseudo-attribute from a processing instruction. For example, given the PI “<tt><?foo bar="1" baz='red'?></tt>”,</p><pre class="programlisting"><xsl:call-template name="pi-attribute"> <xsl:with-param name="pis" select="processing-instruction('foo')"/> <xsl:with-param name="attribute" select="'baz'"/> </xsl:call-template></pre><p>will return “red”. This template returns the first matching attribute that it finds. Presented with processing instructions that contain badly formed pseudo-attributes (missing or unbalanced quotes, for example), the template may silently return erroneous results.</p><pre class="programlisting"><a name="pi-attribute.frag"></a><table border="1" width="100%"><tr><td><p><b>§9</b>: <a href="#top">§16</a></p></td></tr><tr><td><pre class="src:fragment"> 1| <xsl:template name="pi-attribute"> | <xsl:param name="pis" | select="processing-instruction('')"/> | <xsl:param name="attribute">filename</xsl:param> 5| <xsl:param name="count">1</xsl:param> | | <xsl:choose> | <xsl:when test="$count>count($pis)"> | <!-- not found --> 10| </xsl:when> | <xsl:otherwise> | <xsl:variable name="pi"> | <xsl:value-of select="$pis[$count]"/> | </xsl:variable> 15| <xsl:choose> | <xsl:when test="contains($pi,concat($attribute, '='))"> | <xsl:variable name="rest" | select="substring-after($pi,concat($attribute,'='))"/> | <xsl:variable name="quote" 20| select="substring($rest,1,1)"/> | <xsl:value-of select="substring-before(substring($rest,2),$quote)"/> | </xsl:when> | <xsl:otherwise> | <xsl:call-template name="pi-attribute"> 25| <xsl:with-param name="pis" | select="$pis"/> | <xsl:with-param name="attribute" | select="$attribute"/> | <xsl:with-param name="count" 30| select="$count + 1"/> | </xsl:call-template> | </xsl:otherwise> | </xsl:choose> | </xsl:otherwise> 35| </xsl:choose> | </xsl:template></pre></td></tr></table></pre></div></div><div class="refentry"><div class="refentry.separator"><hr></div><a name="lookup.key"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>lookup.key — Retrieve the value associated with a particular key in a table</p></div><div class="refsect1"><h2>Description</h2><p>Given a table of space-delimited key/value pairs, the <tt>lookup.key</tt> template extracts the value associated with a particular key.</p><pre class="programlisting"><a name="lookup.key.frag"></a><table border="1" width="100%"><tr><td><p><b>§10</b>: <a href="#top">§16</a></p></td></tr><tr><td><pre class="src:fragment"> 1| <xsl:template name="lookup.key"> | <xsl:param name="key" | select="''"/> | <xsl:param name="table" 5| select="''"/> | | <xsl:if test="contains($table, ' ')"> | <xsl:choose> | <xsl:when test="substring-before($table, ' ') = $key"> 10| <xsl:variable name="rest" | select="substring-after($table, ' ')"/> | <xsl:choose> | <xsl:when test="contains($rest, ' ')"> | <xsl:value-of select="substring-before($rest, ' ')"/> 15| </xsl:when> | <xsl:otherwise> | <xsl:value-of select="$rest"/> | </xsl:otherwise> | </xsl:choose> 20| </xsl:when> | <xsl:otherwise> | <xsl:call-template name="lookup.key"> | <xsl:with-param name="key" | select="$key"/> 25| <xsl:with-param name="table" | select="substring-after(substring-after($table,' '), ' ')"/> | </xsl:call-template> | </xsl:otherwise> | </xsl:choose> 30| </xsl:if> | </xsl:template></pre></td></tr></table></pre></div></div><div class="refentry"><div class="refentry.separator"><hr></div><a name="xpath.location"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>xpath.location — Calculate the XPath child-sequence to the current node</p></div><div class="refsect1"><h2>Description</h2><p>The <tt>xpath.location</tt> template calculates the absolute path from the root of the tree to the current element node. </p><pre class="programlisting"><a name="xpath.location.frag"></a><table border="1" width="100%"><tr><td><p><b>§11</b>: <a href="#top">§16</a></p></td></tr><tr><td><pre class="src:fragment"> 1| <xsl:template name="xpath.location"> | <xsl:param name="node" | select="."/> | <xsl:param name="path" 5| select="''"/> | | <xsl:variable name="next.path"> | <xsl:value-of select="local-name($node)"/> | <xsl:if test="$path != ''">/</xsl:if> 10| <xsl:value-of select="$path"/> | </xsl:variable> | | <xsl:choose> | <xsl:when test="$node/parent::*"> 15| <xsl:call-template name="xpath.location"> | <xsl:with-param name="node" | select="$node/parent::*"/> | <xsl:with-param name="path" | select="$next.path"/> 20| </xsl:call-template> | </xsl:when> | <xsl:otherwise> | <xsl:text>/</xsl:text> | <xsl:value-of select="$next.path"/> 25| </xsl:otherwise> | </xsl:choose> | </xsl:template></pre></td></tr></table></pre></div></div><div class="refentry"><div class="refentry.separator"><hr></div><a name="comment-escape-string"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>comment-escape-string — Prepare a string for inclusion in an XML comment</p></div><div class="refsect1"><h2>Description</h2><p>The <tt>comment-escape-string</tt> template returns a string that has been transformed so that it can safely be output as an XML comment. Internal occurrences of "--" will be replaced with "- -" and a leading and/or trailing space will be added to the string, if necessary.</p><pre class="programlisting"><a name="comment-escape-string"></a><table border="1" width="100%"><tr><td><p><b>§12</b>: <a href="#top">§16</a></p></td></tr><tr><td><pre class="src:fragment"> 1| <xsl:template name="comment-escape-string"> | <xsl:param name="string" | select="''"/> | 5| <xsl:if test="starts-with($string, '-')"> | <xsl:text> </xsl:text> | </xsl:if> | | <xsl:call-template name="comment-escape-string.recursive"> 10| <xsl:with-param name="string" | select="$string"/> | </xsl:call-template> | | <xsl:if test="substring($string, string-length($string), 1) = '-'"> 15| <xsl:text> </xsl:text> | </xsl:if> | </xsl:template></pre></td></tr></table></pre></div></div><div class="refentry"><div class="refentry.separator"><hr></div><a name="comment-escape-string.recursive"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>comment-escape-string.recursive — Internal function used by comment-escape-string</p></div><div class="refsect1"><h2>Description</h2><p>The <tt>comment-escape-string.recursive</tt> template is used by <tt>comment-escape-string</tt>.</p><pre class="programlisting"><a name="comment-escape-string.recursive"></a><table border="1" width="100%"><tr><td><p><b>§13</b>: <a href="#top">§16</a></p></td></tr><tr><td><pre class="src:fragment"> 1| <xsl:template name="comment-escape-string.recursive"> | <xsl:param name="string" | select="''"/> | <xsl:choose> 5| <xsl:when test="contains($string, '--')"> | <xsl:value-of select="substring-before($string, '--')"/> | <xsl:value-of select="'- -'"/> | <xsl:call-template name="comment-escape-string.recursive"> | <xsl:with-param name="string" 10| select="substring-after($string, '--')"/> | </xsl:call-template> | </xsl:when> | <xsl:otherwise> | <xsl:value-of select="$string"/> 15| </xsl:otherwise> | </xsl:choose> | </xsl:template></pre></td></tr></table></pre></div></div></div><div class="reference"><a name="d0e331"></a><div class="titlepage"><div><h1 class="title"><a name="d0e331"></a>Relative URI Functions</h1></div><hr></div><div class="partintro"><div><div><h1 class="title"><a name="d0e334"></a>Introduction</h1></div></div><p>These functions manipulate relative URI references.</p><p>The following assumptions must hold true:</p><div class="orderedlist"><ol type="1"><li><p>All URIs are relative.</p></li><li><p>No URI contains the “<tt>../</tt>” sequence which would effectively move “up” the hierarchy.</p></li></ol></div><p>If these assumptions do not hold, the results are unpredictable.</p><div class="toc"><p><b>Table of Contents</b></p><dl><dt><a href="#count.uri.path.depth">count.uri.path.depth</a> - Count the number of path components in a relative URI</dt><dt><a href="#trim.common.uri.paths">trim.common.uri.paths</a> - Trim common leading path components from a relative URI</dt></dl></div></div><div class="refentry"><a name="count.uri.path.depth"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>count.uri.path.depth — Count the number of path components in a relative URI</p></div><div class="refsect1"><h2>Description</h2><p>This function counts the number of path components in a relative URI.</p><pre class="programlisting"><a name="count.uri.path.depth.frag"></a><table border="1" width="100%"><tr><td><p><b>§14</b>: <a href="#top">§16</a></p></td></tr><tr><td><pre class="src:fragment"> 1| <xsl:template name="count.uri.path.depth"> | <xsl:param name="filename" | select="''"/> | <xsl:param name="count" 5| select="0"/> | | <xsl:choose> | <xsl:when test="contains($filename, '/')"> | <xsl:call-template name="count.uri.path.depth"> 10| <xsl:with-param name="filename" | select="substring-after($filename, '/')"/> | <xsl:with-param name="count" | select="$count + 1"/> | </xsl:call-template> 15| </xsl:when> | <xsl:otherwise> | <xsl:value-of select="$count"/> | </xsl:otherwise> | </xsl:choose> 20| </xsl:template></pre></td></tr></table></pre></div></div><div class="refentry"><div class="refentry.separator"><hr></div><a name="trim.common.uri.paths"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>trim.common.uri.paths — Trim common leading path components from a relative URI</p></div><div class="refsect1"><h2>Description</h2><p>This function trims common leading path components from a relative URI.</p><pre class="programlisting"><a name="trim.common.uri.paths.frag"></a><table border="1" width="100%"><tr><td><p><b>§15</b>: <a href="#top">§16</a></p></td></tr><tr><td><pre class="src:fragment"> 1| <xsl:template name="trim.common.uri.paths"> | <xsl:param name="uriA" | select="''"/> | <xsl:param name="uriB" 5| select="''"/> | <xsl:param name="return" | select="'A'"/> | | <xsl:choose> 10| <xsl:when test="contains($uriA, '/') and contains($uriB, '/') and substring-before($uriA, '/') = substring-before($uriB, '/')"> | <xsl:call-template name="trim.common.uri.paths"> | <xsl:with-param name="uriA" | select="substring-after($uriA, '/')"/> | <xsl:with-param name="uriB" 15| select="substring-after($uriB, '/')"/> | <xsl:with-param name="return" | select="$return"/> | </xsl:call-template> | </xsl:when> 20| <xsl:otherwise> | <xsl:choose> | <xsl:when test="$return = 'A'"> | <xsl:value-of select="$uriA"/> | </xsl:when> 25| <xsl:otherwise> | <xsl:value-of select="$uriB"/> | </xsl:otherwise> | </xsl:choose> | </xsl:otherwise> 30| </xsl:choose> | </xsl:template></pre></td></tr></table></pre></div></div></div><div class="appendix"><div class="titlepage"><div><h2 class="title"><a name="d0e385"></a>Appendix A. The Stylesheet</h2></div></div><p>The <tt>lib.xsl</tt> stylesheet is just a wrapper around these functions.</p><a name="top"></a><table border="1" width="100%"><tr><td><p><b>§16</b></p></td></tr><tr><td><pre class="src:fragment"> 1| | <!-- ******************************************************************** | $Id: lib.html,v 1.1 2004/01/02 00:39:30 smiley73 Exp $ | ******************************************************************** 5| | This file is part of the XSL DocBook Stylesheet distribution. | See ../README or http://nwalsh.com/docbook/xsl/ for copyright | and other information. | 10| This module implements DTD-independent functions | | ******************************************************************** --> | | <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 15| exclude-result-prefixes="src" | version="1.0"> | | <a href="#dot.count.frag"><i>§1. dot.count</i></a> | <a href="#copy-string.frag"><i>§2. copy-string</i></a> 20| <a href="#string.subst.frag"><i>§3. string.subst</i></a> | <a href="#xpointer.idref.frag"><i>§4. xpointer.idref</i></a> | <a href="#length-magnitude.frag"><i>§5. length-magnitude</i></a> | <a href="#length-units.frag"><i>§6. length-units</i></a> | <a href="#length-spec.frag"><i>§7. length-spec</i></a> 25| <a href="#length-in-points.frag"><i>§8. length-in-points</i></a> | <a href="#pi-attribute.frag"><i>§9. pi-attribute</i></a> | <a href="#lookup.key.frag"><i>§10. lookup.key</i></a> | <a href="#xpath.location.frag"><i>§11. xpath.location</i></a> | <a href="#comment-escape-string" title="comment-escape-string">comment-escape-string</a> 30| <a href="#comment-escape-string.recursive" title="comment-escape-string.recursive">comment-escape-string.recursive</a> | <a href="#count.uri.path.depth.frag"><i>§14. count.uri.path.depth</i></a> | <a href="#trim.common.uri.paths.frag"><i>§15. trim.common.uri.paths</i></a> | | </xsl:stylesheet></pre></td></tr></table></div></div></body></html> |
From: <smi...@us...> - 2004-01-02 00:39:39
|
Update of /cvsroot/devil-linux/build/docs/documentation/stylesheets/doc/template In directory sc8-pr-cvs1:/tmp/cvs-serv17796/stylesheets/doc/template Added Files: ChangeLog titlepage.html Log Message: so that's hopefully it, with the new stylesheets --- NEW FILE: ChangeLog --- 2002-03-09 Jirka Kosek <ko...@us...> * Makefile: Removed hardcoded reference for XSLT processor as it is already set in Makefile.incl. Fixed typo in DocBook DTD URI. 2001-09-09 Norman Walsh <nw...@us...> * .cvsignore, Makefile: New file. --- NEW FILE: titlepage.html --- <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>Template Stylesheet Reference</title> <link rel="stylesheet" href="../reference.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.59.2"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> <div class="reference" lang="en"><a name="d0e1"></a><div class="titlepage"> <div> <div> <h1 class="title"><a name="d0e1"></a>Template Stylesheet Reference </h1> </div> <div> <div class="author"> <h3 class="author">Norman Walsh</h3> </div> </div> <div> <p class="releaseinfo"> $Id: titlepage.html,v 1.1 2004/01/02 00:39:31 smiley73 Exp $ </p> </div> <div> <p class="copyright"><a href="../copyright.html">Copyright</a> © 19992000 by Norman Walsh. <a href="../warranty.html">No Warranty</a>. </p> </div> </div> <div></div> <hr> </div> <div class="partintro" lang="en"> <div> <div></div> <div></div> </div> <div class="section" lang="en"> <div class="titlepage"> <div> <div> <h2 class="title" style="clear: both"><a name="d0e24"></a>Introduction </h2> </div> </div> <div></div> </div> <p>This is technical reference documentation for the DocBook XSL Stylesheets; it documents (some of) the parameters, templates, and other elements of the stylesheets. </p> <p>This is not intended to be “user” documentation. It is provided for developers writing customization layers for the stylesheets, and for anyone who's interested in “how it works”. </p> <p>Although I am trying to be thorough, this documentation is known to be incomplete. Don't forget to read the source, too :-) </p> </div> <div class="toc"> <p><b>Table of Contents</b></p> <dl> <dt><a href="#d0e39">t:templates</a> - Construct a stylesheet for the templates provided </dt> <dt><a href="#d0e71">xsl:*</a> - Copy xsl: elements straight through </dt> <dt><a href="#d0e85">t:titlepage</a> - Create the templates necessary to construct a title page </dt> <dt><a href="#d0e178">@* (in copy.literal.atts mode)</a> - Copy t:titlepage attributes </dt> <dt><a href="#d0e198">t:titlepage-content</a> - Create templates for the content of one side of a title page </dt> <dt><a href="#d0e305">t:titlepage-separator</a> - Create templates for the separator </dt> <dt><a href="#d0e322">t:titlepage-before</a> - Create templates for what precedes a title page </dt> <dt><a href="#d0e339">* (in copy mode)</a> - Copy elements </dt> <dt><a href="#d0e353">@* (in copy mode)</a> - Copy attributes </dt> <dt><a href="#d0e367">* (in document.order mode)</a> - Create rules to process titlepage elements in document order </dt> <dt><a href="#d0e390">* (in document.order mode)</a> - Create rules to process titlepage elements in stylesheet order </dt> <dt><a href="#d0e416">* (in titlepage.specialrules mode)</a> - Create templates for special rules </dt> <dt><a href="#d0e436">* (in titlepage.subrules mode)</a> - Create template for individual special rules </dt> <dt><a href="#d0e450">t:or</a> - Process the t:or special rule </dt> <dt><a href="#d0e464">t:or (in titlepage.subrules mode)</a> - Process the t:or special rule in titlepage.subrules mode </dt> <dt><a href="#template.element-or-list">element-or-list</a> - Construct the "or-list" used in the select attribute for special rules. </dt> </dl> </div> </div> <div class="refentry" lang="en"><a name="d0e39"></a><div class="titlepage"> <div></div> <div></div> </div> <div class="refnamediv"> <h2>Name</h2> <p>t:templates — Construct a stylesheet for the templates provided</p> </div> <div class="refsynopsisdiv"> <h2>Synopsis</h2><pre class="synopsis"><xsl:template match="t:templates"/></pre></div> <div class="refdescription"><a name="d0e48"></a> <p>The <tt>t:templates</tt> element is the root of a set of templates. This template creates an appropriate <tt>xsl:stylesheet</tt> for the templates. </p> <p>If the <tt>t:templates</tt> element has a <tt>base-stylesheet</tt> attribute, an <tt>xsl:import</tt> statement is constructed for it. </p> </div> </div> <div class="refentry" lang="en"> <div class="refentry.separator"> <hr> </div><a name="d0e71"></a><div class="titlepage"> <div></div> <div></div> </div> <div class="refnamediv"> <h2>Name</h2> <p>xsl:* — Copy xsl: elements straight through</p> </div> <div class="refsynopsisdiv"> <h2>Synopsis</h2><pre class="synopsis"><xsl:template match="xsl:*"/></pre></div> <div class="refdescription"><a name="d0e80"></a> <p>This template simply copies the xsl: elements straight through into the result tree. </p> </div> </div> <div class="refentry" lang="en"> <div class="refentry.separator"> <hr> </div><a name="d0e85"></a><div class="titlepage"> <div></div> <div></div> </div> <div class="refnamediv"> <h2>Name</h2> <p>t:titlepage — Create the templates necessary to construct a title page</p> </div> <div class="refsynopsisdiv"> <h2>Synopsis</h2><pre class="synopsis"><xsl:template match="t:titlepage"/></pre></div> <div class="refdescription"><a name="d0e94"></a> <p>The <tt>t:titlepage</tt> element creates a set of templates for processing the titlepage for an element. The “root” of this template set is the template named “<tt>wrapper.titlepage</tt>”. That is the template that should be called to generate the title page. </p> <p>The <tt>t:titlepage</tt> element has three attributes: </p> <div class="variablelist"> <dl> <dt><span class="term">element</span></dt> <dd> <p>The name of the source document element for which these templates apply. In other words, to make a title page for the <tt class="sgmltag-element">article</tt> element, set the <tt class="sgmltag-attribute">element</tt> attribute to “<tt>article</tt>”. This attribute is required. </p> </dd> <dt><span class="term">wrapper</span></dt> <dd> <p>The entire title page can be wrapped with an element. This attribute identifies that element. </p> </dd> <dt><span class="term">class</span></dt> <dd> <p>If the <tt class="sgmltag-attribute">class</tt> attribute is set, a <tt class="sgmltag-attribute">class</tt> attribute with this value will be added to the wrapper element that surrounds the entire title page. </p> </dd> </dl> </div> <p> </p> <p>Any other attributes are copied through literally to the wrapper element. </p> <p>The content of a <tt>t:titlepage</tt> is one or more <tt>t:titlepage-content</tt>, <tt>t:titlepage-separator</tt>, and <tt>t:titlepage-before</tt> elements. </p> <p>Each of these elements may be provided for the “recto” and “verso” sides of the title page. </p> </div> </div> <div class="refentry" lang="en"> <div class="refentry.separator"> <hr> </div><a name="d0e178"></a><div class="titlepage"> <div></div> <div></div> </div> <div class="refnamediv"> <h2>Name</h2> <p>@* (in copy.literal.atts mode) — Copy t:titlepage attributes</p> </div> <div class="refsynopsisdiv"> <h2>Synopsis</h2><pre class="synopsis"><xsl:template match="@*" mode="copy.literal.atts"/></pre></div> <div class="refdescription"><a name="d0e187"></a> <p>This template copies all of the “other” attributes from a <tt>t:titlepage</tt> element onto the specified wrapper. </p> </div> </div> <div class="refentry" lang="en"> <div class="refentry.separator"> <hr> </div><a name="d0e198"></a><div class="titlepage"> <div></div> <div></div> </div> <div class="refnamediv"> <h2>Name</h2> <p>t:titlepage-content — Create templates for the content of one side of a title page</p> </div> <div class="refsynopsisdiv"> <h2>Synopsis</h2><pre class="synopsis"><xsl:template match="t:titlepage-content"/></pre></div> <div class="refdescription"><a name="d0e207"></a> <p>The title page content, that is, the elements from the source document that are rendered on the title page, can be controlled independently for the recto and verso sides of the title page. </p> <p>The <tt>t:titlepage-content</tt> element has two attributes: </p> <div class="variablelist"> <dl> <dt><span class="term">side</span></dt> <dd> <p>Identifies the side of the page to which this title page content applies. The <tt class="sgmltag-attribute">side</tt> attribute is required and must be set to either “<tt>recto</tt>” or “<tt>verso</tt>”. In addition, you must specify exactly one <tt>t:titlepage-content</tt> for each side within each <tt>t:titlepage</tt>. </p> </dd> <dt><span class="term">order</span></dt> <dd> <p>Indicates how the order of the elements presented on the title page is determined. If the <tt class="sgmltag-attribute">order</tt> is “<tt>document</tt>”, the elements are presented in document order. Otherwise (if the <tt class="sgmltag-attribute">order</tt> is “<tt>stylesheet</tt>”), the elements are presented in the order that they appear in the template (and consequently in the stylesheet). </p> </dd> </dl> </div> <p> </p> <p>The content of a <tt>t:titlepage-content</tt> element is a list of element names. These names should be unqualified. They identify the elements in the source document that should appear on the title page. </p> <p>Each element may have a single attribute: <tt class="sgmltag-attribute">predicate</tt>. The value of this attribute is used as a predicate for the expression that matches the element on which it occurs. </p> <p>In other words, to put only the first three authors on the recto-side of a title page, you could specify: </p><pre class="screen"> <t:titlepage-contents side="recto"> <!-- other titlepage elements --> <author predicate="[count(previous-sibling::author)<2]"/> <!-- other titlepage elements --> </t:titlepage-contents> </pre><p> </p> <p>Usually, the elements so named are empty. But it is possible to make one level of selection within them. Suppose that you want to process <tt>authorgroup</tt> elements on the title page, but you want to select only proper authors, editors, or corporate authors, not collaborators or other credited authors. </p> <p>In that case, you can put a <tt>t:or</tt> group inside the <tt>authorgroup</tt> element: </p><pre class="screen"> <t:titlepage-contents side="recto"> <!-- other titlepage elements --> <authorgroup> <t:or> <author/> <editor/> <corpauthor/> </t:or> </authorgroup> <!-- other titlepage elements --> </t:titlepage-contents> </pre><p> </p> <p>This will have the effect of automatically generating a template for processing <tt>authorgroup</tt>s in the title page mode, selecting only the specified children. If you need more complex processing, you'll have to construct the templates by hand. </p> </div> </div> <div class="refentry" lang="en"> <div class="refentry.separator"> <hr> </div><a name="d0e305"></a><div class="titlepage"> <div></div> <div></div> </div> <div class="refnamediv"> <h2>Name</h2> <p>t:titlepage-separator — Create templates for the separator</p> </div> <div class="refsynopsisdiv"> <h2>Synopsis</h2><pre class="synopsis"><xsl:template match="t:titlepage-separator"/></pre></div> <div class="refdescription"><a name="d0e314"></a> <p>The title page is separated from the content which follows it by the markup specified in the <tt>t:titlepage-separator</tt> element. </p> </div> </div> <div class="refentry" lang="en"> <div class="refentry.separator"> <hr> </div><a name="d0e322"></a><div class="titlepage"> <div></div> <div></div> </div> <div class="refnamediv"> <h2>Name</h2> <p>t:titlepage-before — Create templates for what precedes a title page</p> </div> <div class="refsynopsisdiv"> <h2>Synopsis</h2><pre class="synopsis"><xsl:template match="t:titlepage-before"/></pre></div> <div class="refdescription"><a name="d0e331"></a> <p>Each side of the title page is preceded by the markup specified in the <tt>t:titlepage-before</tt> element for that side. </p> </div> </div> <div class="refentry" lang="en"> <div class="refentry.separator"> <hr> </div><a name="d0e339"></a><div class="titlepage"> <div></div> <div></div> </div> <div class="refnamediv"> <h2>Name</h2> <p>* (in copy mode) — Copy elements</p> </div> <div class="refsynopsisdiv"> <h2>Synopsis</h2><pre class="synopsis"><xsl:template match="*" mode="copy"/></pre></div> <div class="refdescription"><a name="d0e348"></a> <p>This template simply copies the elements that it applies to straight through into the result tree. </p> </div> </div> <div class="refentry" lang="en"> <div class="refentry.separator"> <hr> </div><a name="d0e353"></a><div class="titlepage"> <div></div> <div></div> </div> <div class="refnamediv"> <h2>Name</h2> <p>@* (in copy mode) — Copy attributes</p> </div> <div class="refsynopsisdiv"> <h2>Synopsis</h2><pre class="synopsis"><xsl:template match="@*" mode="copy"/></pre></div> <div class="refdescription"><a name="d0e362"></a> <p>This template simply copies the attributes that it applies to straight through into the result tree. </p> </div> </div> <div class="refentry" lang="en"> <div class="refentry.separator"> <hr> </div><a name="d0e367"></a><div class="titlepage"> <div></div> <div></div> </div> <div class="refnamediv"> <h2>Name</h2> <p>* (in document.order mode) — Create rules to process titlepage elements in document order</p> </div> <div class="refsynopsisdiv"> <h2>Synopsis</h2><pre class="synopsis"><xsl:template match="*" mode="document.order"/></pre></div> <div class="refdescription"><a name="d0e376"></a> <p>This template is called to process all of the children of the <tt>t:titlepage-content</tt> element. It creates the hairy select expression necessary to process each of those elements in the title page. </p> <p>Note that this template automatically handles the case where some DocBook elements, like title and subtitle, can occur both inside the *info elements where metadata is usually stored and outside. </p> <p>It also automatically calculates the name for the *info container and handles elements that have historically had containers with different names. </p> </div> </div> <div class="refentry" lang="en"> <div class="refentry.separator"> <hr> </div><a name="d0e390"></a><div class="titlepage"> <div></div> <div></div> </div> <div class="refnamediv"> <h2>Name</h2> <p>* (in document.order mode) — Create rules to process titlepage elements in stylesheet order</p> </div> <div class="refsynopsisdiv"> <h2>Synopsis</h2><pre class="synopsis"><xsl:template match="*" mode="document.order"/></pre></div> <div class="refdescription"><a name="d0e399"></a> <p>This template is called to process all of the children of the <tt>t:titlepage-content</tt> element. It creates the set of <tt>xsl:apply-templates</tt> elements necessary process each of those elements in the title page. </p> <p>Note that this template automatically handles the case where some DocBook elements, like title and subtitle, can occur both inside the *info elements where metadata is usually stored and outside. </p> <p>It also automatically calculates the name for the *info container and handles elements that have historically had containers with different names. </p> </div> </div> <div class="refentry" lang="en"> <div class="refentry.separator"> <hr> </div><a name="d0e416"></a><div class="titlepage"> <div></div> <div></div> </div> <div class="refnamediv"> <h2>Name</h2> <p>* (in titlepage.specialrules mode) — Create templates for special rules</p> </div> <div class="refsynopsisdiv"> <h2>Synopsis</h2><pre class="synopsis"><xsl:template match="*" mode="titlepage.specialrules"/></pre></div> <div class="refdescription"><a name="d0e425"></a> <p>This template is called to process all of the descendants of the <tt>t:titlepage-content</tt> element that require special processing. At present, that's just <tt>t:or</tt> elements. </p> </div> </div> <div class="refentry" lang="en"> <div class="refentry.separator"> <hr> </div><a name="d0e436"></a><div class="titlepage"> <div></div> <div></div> </div> <div class="refnamediv"> <h2>Name</h2> <p>* (in titlepage.subrules mode) — Create template for individual special rules</p> </div> <div class="refsynopsisdiv"> <h2>Synopsis</h2><pre class="synopsis"><xsl:template match="*" mode="titlepage.subrules"/></pre></div> <div class="refdescription"><a name="d0e445"></a> <p>This template is called to process the children of special template elements. </p> </div> </div> <div class="refentry" lang="en"> <div class="refentry.separator"> <hr> </div><a name="d0e450"></a><div class="titlepage"> <div></div> <div></div> </div> <div class="refnamediv"> <h2>Name</h2> <p>t:or — Process the t:or special rule</p> </div> <div class="refsynopsisdiv"> <h2>Synopsis</h2><pre class="synopsis"><xsl:template match="t:or"/><xsl:template match="t:or" mode="titlepage.subrules"/></pre></div> <div class="refdescription"><a name="d0e459"></a> <p>This template processes t:or.</p> </div> </div> <div class="refentry" lang="en"> <div class="refentry.separator"> <hr> </div><a name="d0e464"></a><div class="titlepage"> <div></div> <div></div> </div> <div class="refnamediv"> <h2>Name</h2> <p>t:or (in titlepage.subrules mode) — Process the t:or special rule in titlepage.subrules mode </p> </div> <div class="refsynopsisdiv"> <h2>Synopsis</h2><pre class="synopsis"><xsl:template match="t:or" mode="titlepage.subrules"/></pre></div> <div class="refdescription"><a name="d0e473"></a> <p>The titlepage.subrules mode doesn't apply to t:or, so just reprocess this node in the normal mode. </p> </div> </div> <div class="refentry" lang="en"> <div class="refentry.separator"> <hr> </div><a name="template.element-or-list"></a><div class="titlepage"> <div></div> <div></div> </div> <div class="refnamediv"> <h2>Name</h2> <p>element-or-list — Construct the "or-list" used in the select attribute for special rules. </p> </div> <div class="refsynopsisdiv"> <h2>Synopsis</h2><pre class="synopsis"><xsl:template name="element-or-list"> <xsl:param name="elements" select="*"/> <xsl:param name="element.count" select="count($elements)"/> <xsl:param name="count" select="1"/> <xsl:param name="orlist"/> ... </xsl:template></pre></div> <div class="refdescription"><a name="d0e487"></a> <p>Walk through each of the children of t:or, producing the text of the select attribute. </p> </div> </div> </div> </body> </html> |
Update of /cvsroot/devil-linux/build/docs/documentation/stylesheets/doc/pi In directory sc8-pr-cvs1:/tmp/cvs-serv17796/stylesheets/doc/pi Added Files: ChangeLog dbhtml.dir.html dbhtml.filename.html index.html pr01.html rn01.html rn02.html rn02re03.html Log Message: so that's hopefully it, with the new stylesheets --- NEW FILE: ChangeLog --- 2003-05-08 Norman Walsh <nw...@us...> * .cvsignore: New file. 2003-05-01 Jirka Kosek <ko...@us...> * Makefile: New file. --- NEW FILE: dbhtml.dir.html --- <html><head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title><?dbhtml dir="..."?></title><link rel="stylesheet" href="../ref.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.0"><link rel="home" href="index.html" title="Processing Instruction Reference"><link rel="up" href="rn01.html" title="HTML PIs"><link rel="previous" href="dbhtml.filename.html" title="<?dbhtml filename="..."?>"><link rel="next" href="rn02.html" title="Common PIs"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><?dbhtml dir="..."?></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="dbhtml.filename.html">Prev</a> </td><th width="60%" align="center">HTML PIs</th><td width="20%" align="right"> <a accesskey="n" href="rn02.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="dbhtml.dir"></a><div class="titlepage"><div></div><div></div></div><div class="refnamediv"><h2>Name</h2><p>dir — Directory for chunk</p></div><div class="refsect1" lang="en"><a name="d0e78"></a><h2>Description</h2><p>Sets the directory for chunked file. PI must be child of element which goes into chunk (e.g. chapter, section). Resulting directory is inherited from ancestor elements if they also contain this PI. You can also set <a href="dbhtml.filename.html" title="<?dbhtml filename="..."?>">filename</a> for chunk.</p><p>PI can specify both filename and directory at the same time.</p></div><div class="refsect1" lang="en"><a name="d0e88"></a><h2>Example</h2><pre class="programlisting"><section> <title>Configuring pencil</title> <?dbhtml dir="config" filename="pencil.html"?> ... </section></pre></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="dbhtml.filename.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="rn01.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="rn02.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><?dbhtml filename="..."?> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Common PIs</td></tr></table></div></body></html> --- NEW FILE: dbhtml.filename.html --- <html><head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title><?dbhtml filename="..."?></title><link rel="stylesheet" href="../ref.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.0"><link rel="home" href="index.html" title="Processing Instruction Reference"><link rel="up" href="rn01.html" title="HTML PIs"><link rel="previous" href="rn01.html" title="HTML PIs"><link rel="next" href="dbhtml.dir.html" title="<?dbhtml dir="..."?>"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><?dbhtml filename="..."?></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="rn01.html">Prev</a> </td><th width="60%" align="center">HTML PIs</th><td width="20%" align="right"> <a accesskey="n" href="dbhtml.dir.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="dbhtml.filename"></a><div class="titlepage"><div></div><div></div></div><div class="refnamediv"><h2>Name</h2><p>filename — Filename for chunk</p></div><div class="refsect1" lang="en"><a name="d0e49"></a><h2>Description</h2><p>Sets the name for chunked file. PI must be child of element which goes into chunk (e.g. chapter, section). You can also set <a href="dbhtml.dir.html" title="<?dbhtml dir="..."?>">directory</a> for chunk.</p><p>Another way to control filename of chunk is enabling <a href="../html/use.id.as.filename.html"><i class="parameter"><tt>use.id.as.filename</tt></i></a> parameter.</p></div><div class="refsect1" lang="en"><a name="d0e62"></a><h2>Example</h2><pre class="programlisting"><section> <title>Configuring pencil</title> <?dbhtml filename="configuration.html"?> ... </section></pre></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="rn01.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="rn01.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="dbhtml.dir.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">HTML PIs </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <?dbhtml dir="..."?></td></tr></table></div></body></html> --- NEW FILE: index.html --- <html><head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>Processing Instruction Reference</title><link rel="stylesheet" href="../ref.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.0"><link rel="home" href="index.html" title="Processing Instruction Reference"><link rel="next" href="pr01.html" title="Introduction"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Processing Instruction Reference</th></tr><tr><td width="20%" align="left"> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="pr01.html">Next</a></td></tr></table><hr></div><div class="book" lang="en"><div class="titlepage"><div><div><h1 class="title"><a name="d0e1"></a>Processing Instruction Reference</h1></div><div><div class="author"><h3 class="author"><span class="firstname">Jiří</span> <span class="surname">Kosek</span></h3></div></div><div><p class="releaseinfo"> $Id: index.html,v 1.1 2004/01/02 00:39:31 smiley73 Exp $ </p></div><div><p class="copyright">Copyright © 2003 Jiří Kosek</p></div></div><div></div><hr></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="preface"><a href="pr01.html">Introduction</a></span></dt><dt><span class="reference"><a href="rn01.html">I. HTML PIs</a></span></dt><dd><dl><dt><a href="dbhtml.filename.html"><?dbhtml filename="..."?></a> - Filename for chunk</dt><dt><a href="dbhtml.dir.html"><?dbhtml dir="..."?></a> - Directory for chunk</dt></dl></dd><dt><span class="reference"><a href="rn02.html">II. Common PIs</a></span></dt><dd><dl><dt><a href="rn02re03.html"></a> - </dt></dl></dd></dl></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="pr01.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"> </td><td width="20%" align="center"> </td><td width="40%" align="right" valign="top"> Introduction</td></tr></table></div></body></html> --- NEW FILE: pr01.html --- <html><head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>Introduction</title><link rel="stylesheet" href="../ref.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.0"><link rel="home" href="index.html" title="Processing Instruction Reference"><link rel="up" href="index.html" title="Processing Instruction Reference"><link rel="previous" href="index.html" title="Processing Instruction Reference"><link rel="next" href="rn01.html" title="HTML PIs"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Introduction</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="index.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="rn01.html">Next</a></td></tr></table><hr></div><div class="preface" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="d0e17"></a>Introduction</h2></div></div><div></div></div><p>This is technical reference documentation for the DocBook XSL Stylesheets. It documents processing instructions (PIs) recognized by the stylesheets.</p><p>These PIs can be usually used to change behaviour of stylesheets in a particular place. If you want to change some setting globally it is better to do it via setting appropriate stylesheet parameter if there is such one.</p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="index.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="index.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="rn01.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Processing Instruction Reference </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> HTML PIs</td></tr></table></div></body></html> --- NEW FILE: rn01.html --- <html><head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>HTML PIs</title><link rel="stylesheet" href="../ref.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.0"><link rel="home" href="index.html" title="Processing Instruction Reference"><link rel="up" href="index.html" title="Processing Instruction Reference"><link rel="previous" href="pr01.html" title="Introduction"><link rel="next" href="dbhtml.filename.html" title="<?dbhtml filename="..."?>"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">HTML PIs</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="pr01.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="dbhtml.filename.html">Next</a></td></tr></table><hr></div><div class="reference" lang="en"><a name="d0e24"></a><div class="titlepage"><div><div><h1 class="title"><a name="d0e24"></a>HTML PIs</h1></div></div><div></div><hr></div><div class="partintro" lang="en"><div><div></div><div></div></div><p>Following PIs are processed only if you are generating HTML output. This means that you are using HTML, XHTML, HTML Help or JavaHelp output format.</p><p>Name of this PI is <tt class="literal">dbhtml</tt> and its behaviour is controlled with following “<span class="quote">attributes</span>”.</p><div class="toc"><p><b>Table of Contents</b></p><dl><dt><a href="dbhtml.filename.html"><?dbhtml filename="..."?></a> - Filename for chunk</dt><dt><a href="dbhtml.dir.html"><?dbhtml dir="..."?></a> - Directory for chunk</dt></dl></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="pr01.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="index.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="dbhtml.filename.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Introduction </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <?dbhtml filename="..."?></td></tr></table></div></body></html> --- NEW FILE: rn02.html --- <html><head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>Common PIs</title><link rel="stylesheet" href="../ref.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.0"><link rel="home" href="index.html" title="Processing Instruction Reference"><link rel="up" href="index.html" title="Processing Instruction Reference"><link rel="previous" href="dbhtml.dir.html" title="<?dbhtml dir="..."?>"><link rel="next" href="rn02re03.html" title=""></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Common PIs</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="dbhtml.dir.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="rn02re03.html">Next</a></td></tr></table><hr></div><div class="reference" lang="en"><a name="d0e93"></a><div class="titlepage"><div><div><h1 class="title"><a name="d0e93"></a>Common PIs</h1></div></div><div></div><hr></div><div class="partintro" lang="en"><div><div></div><div></div></div><p>Following PIs are recognized in all output formats.</p><div class="toc"><p><b>Table of Contents</b></p><dl><dt><a href="rn02re03.html"></a> - </dt></dl></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="dbhtml.dir.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="index.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="rn02re03.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><?dbhtml dir="..."?> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> </td></tr></table></div></body></html> --- NEW FILE: rn02re03.html --- <html><head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title></title><link rel="stylesheet" href="../ref.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.0"><link rel="home" href="index.html" title="Processing Instruction Reference"><link rel="up" href="rn02.html" title="Common PIs"><link rel="previous" href="rn02.html" title="Common PIs"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="rn02.html">Prev</a> </td><th width="60%" align="center">Common PIs</th><td width="20%" align="right"> </td></tr></table><hr></div><div class="refentry" lang="en"><a name="d0e99"></a><div class="titlepage"><div></div><div></div></div><div class="refnamediv"><h2>Name</h2><p> — </p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="rn02.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="rn02.html">Up</a></td><td width="40%" align="right"> </td></tr><tr><td width="40%" align="left" valign="top">Common PIs </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> </td></tr></table></div></body></html> |
From: <smi...@us...> - 2004-01-02 00:39:39
|
Update of /cvsroot/devil-linux/build/docs/documentation/stylesheets/doc/tools In directory sc8-pr-cvs1:/tmp/cvs-serv17796/stylesheets/doc/tools Added Files: ChangeLog profile-chain.png profiling.html Log Message: so that's hopefully it, with the new stylesheets --- NEW FILE: ChangeLog --- 2002-03-09 Jirka Kosek <ko...@us...> * Makefile: Removed hardcoded reference for XSLT processor as it is already set in Makefile.incl. Fixed typo in DocBook DTD URI. 2001-08-09 Norman Walsh <nw...@us...> * Makefile: Use saxon and docbook.xsl 2001-07-31 Jirka Kosek <ko...@us...> * .cvsignore, Makefile: New file. --- NEW FILE: profile-chain.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: profiling.html --- <html><head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>Profiling DocBook documents</title><meta name="generator" content="DocBook XSL Stylesheets V1.61.3"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="article" lang="en"><div class="titlepage"><div><div><h1 class="title"><a name="d0e1"></a>Profiling DocBook documents</h1></div><div><h3 class="subtitle"><i>An easy way to personalize your content for several target audiences</i></h3></div><div><div class="author"><h3 class="author"><span class="firstname">Jirka</span> <span class="surname">Kosek</span></h3><div class="affiliation"><div class="address"><p>E-mail: <tt class="email"><<a href="mailto:ji...@ko...">ji...@ko...</a>></tt><br> <span class="otheraddr">Web: <a href="http://www.kosek.cz" target="_top">http://www.kosek.cz</a><br> </span><br> </p></div></div></div></div><div><p class="releaseinfo"> $Id: profiling.html,v 1.1 2004/01/02 00:39:31 smiley73 Exp $ </p></div><div><p class="copyright">Copyright © 2001 Jiří Kosek</p></div></div><div></div><hr></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="section"><a href="#d0e37">Introduction</a></span></dt><dt><span class="section"><a href="#d0e44">$0 solution</a></span></dt><dt><span class="section"><a href="#d0e85">Usage</a></span></dt><dt><span class="section"><a href="#d0e251">Single pass profiling</a></span></dt><dt><span class="section"><a href="#d0e277">Conclusion</a></span></dt></dl></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e37"></a>Introduction</h2></div></div><div></div></div><p>There are many situations when we need to generate several versions of document with slightly different content from the single source. User guide for program with both Windows and Linux port will differ only in several topics related to installation and configuration. It would be futile to create and maintain two different documents in sync. Another real world example – in addition to standard documentation we can have guide enriched with problem solutions from help-desk. It also may be better to store these information in one document in order to make them absolutely synchronized.</p><p>Several high-end editing tools have built in support for profiling. User can easily add target audiences for any part of document in a simple to use dialog box. User can select desired target audience before printing or generation of other output formats. Software will automatically filter out excess parts of document and pass rest of it to rendering engine. However, if your budget is limited you can not use commercial solutions. In the following text I will show you simple but flexible profiling solution based on freely available technologies.</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e44"></a>$0 solution</h2></div></div><div></div></div><p>In the document we mark parts targeted for particular platform or user group. When generating final output version of document we must do profiling i.e. personalization for particular target audience. Only some parts of document are processed. DocBook has built in support for marking document parts – on almost every element you can use attributes like <tt class="sgmltag-attribute">os</tt>, <tt class="sgmltag-attribute">userlevel</tt> and <tt class="sgmltag-attribute">arch</tt>. We can store identifier of operating system, user group or hardware architecture here. You can also store profiling information into some general use attribute like <tt class="sgmltag-attribute">role</tt>. <a href="#ex.doc" title="Example 1. Sample DocBook document with profiling information">Example 1, “Sample DocBook document with profiling information”</a> shows how document with profiling information might look like.</p><div class="example"><a name="ex.doc"></a><p class="title"><b>Example 1. Sample DocBook document with profiling information</b></p><pre class="programlisting"><?xml version='1.0' encoding='iso-8859-1'?> <!DOCTYPE chapter PUBLIC '-//OASIS//DTD DocBook XML V4.1.2//EN' 'http://www.oasis-open.org/docbook/xml/4.0/docbookx.dtd'> <chapter> <title>How to setup SGML catalogs</title> <para>Many existing SGML tools are able to map public identifiers to files on your local file system. Mapping is specified in so called catalog file. List of catalog files to use is stored in environment variable <envar>SGML_CATALOG_FILES</envar>.</para> <para os="unix">On Unix systems you can set this variable by invoking command <command>export SGML_CATALOG_FILES=/usr/lib/catalog</command> on command line. If you want maintain value of the variable between sessions, place this command into startup file, e.g. <filename>.profile</filename>.</para> <para os="win">In Windows NT/2000 you can set environment variable by issuing command <menuchoice><guimenu>Start</guimenu> <guisubmenu>Settings</guisubmenu> <guisubmenu>Control Pannel</guisubmenu> <guimenuitem>System</guimenuitem></menuchoice>. Then select <guilabel>Advanced</guilabel> card in the dialog box and click on the <guibutton>Environment Variables...</guibutton> button. Using the <guibutton>New</guibutton> button you can add new environment variable into your system.</para> </chapter></pre></div><p>DocBook documents are often processed by freely available DSSSL and XSL stylesheets. Most DocBook users who want profiling starts with creation of customization layer which filters out some parts of document. This approach has several serious disadvantages. First, you must create profiling customization for all output formats as they are using different stylesheets. This mean that you must maintain same code on several places or do some dirty tricks with importing several stylesheets into one stylesheet.</p><p>Second drawback is more serious. If you override templates to filter out documents, you can get almost correct output in a single run of stylesheet. If you will closely look on generated output, you will recognize that in the table of contents there are entries for items which should be completely removed by profiling. Similar problems are in several other places – e.g. skipped auto generated numbers for tables, pictures and so on. To correct this one should change all stylesheet code which generates ToC, cross-references and so on to ignore filtered content. This is very complicated task and will disallow you to easily upgrade to new versions of stylesheets.</p><p>Thus we must use different approach. Profiling should be totally separate step which will filter out some parts of original document and will create new correct DocBook document. When processed with any DocBook tool or stylesheet you will get always correct output from the new standalone document now. Big advantage of this method is compatibility with all DocBook tools. Filtered document is normal DocBook document and it does not require any special processing. Of course, there is also one disadvantage – formating is now two stage process – first you must filter source document and in second step you could apply normal stylesheets on result of filtering. This may be little bit inconvenient for many users, but whole task can be very easily automated by set of shell scripts or batch files or whatever else. Starting from version 1.50 of XSL stylesheets you can do profiling in one step together with normal stylesheet processing.</p><div class="figure"><a name="d0e74"></a><p class="title"><b>Figure 1. Profiling stream</b></p><div class="mediaobject"><img src="profile-chain.png" alt="Profiling stream"></div></div><p>When implementing filter, you can use many different approaches and tools. I decided to use XSLT stylesheet. Writing necessary filter is very easy in XSLT and many users have XSLT processor already installed. Profiling stylesheet is part of standard XSL stylesheets distribution and can be found in file <tt class="filename">profiling/profile.xsl</tt>.</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e85"></a>Usage</h2></div></div><div></div></div><p>If you want to generate Unix specific guide from our sample document (<a href="#ex.doc" title="Example 1. Sample DocBook document with profiling information">Example 1, “Sample DocBook document with profiling information”</a>) you can do it in the following way. (We assume, that command <span><b class="command">saxon</b></span> is able to run XSLT processor on your machine. You can use your preffered XSLT processor instead.)</p><pre class="screen"><span><b class="command">saxon</b></span> <tt class="option">-o</tt> unixsample.xml sample.xml profile.xsl "os=unix"</pre><p>We are processing source document <tt class="filename">sample.xml</tt> with profiling stylesheet <tt class="filename">profile.xsl</tt>. Result of transformation is stored in file <tt class="filename">unixsample.xml</tt>. By setting parameter <i class="parameter"><tt>os</tt></i> to value <tt class="literal">unix</tt>, we tell that only general and Unix specific parts of document should be copied to the result document. If you will look at generated result, you will notice that this is correct DocBook document:</p><pre class="programlisting"><?xml version="1.0" encoding="utf-8"?> <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.0/docbookx.dtd"> <chapter> <title>How to setup SGML catalogs</title> <para>Many existing SGML tools are able to map public identifiers to files on your local file system. Mapping is specified in so called catalog file. List of catalog files to use is stored in environment variable <envar>SGML_CATALOG_FILES</envar>.</para> <para os="unix">On Unix systems you can set this variable by invoking command <command moreinfo="none">export SGML_CATALOG_FILES=/usr/lib/catalog</command> on command line. If you want maintain value of the variable between sessions, place this command into startup file, e.g. <filename moreinfo="none">.profile</filename>.</para> </chapter></pre><p>It is same as the input document, only Windows specific paragraph is missing. Same procedure can be used to get Windows specific version of document. The result generated by profiling stylesheet have correct document type declaration (DOCTYPE). Without it some tools would not be able to process them further. On the result of filtering you can run common tools – for example DSSSL or XSL stylesheets.</p><p>Stylesheet support several attributes for specifying profiling values. They are summarized in the following list.</p><div class="variablelist"><dl><dt><span class="term"><i class="parameter"><tt>profile.os</tt></i></span></dt><dd><p>This parameter is used for specifying operating system (<tt class="sgmltag-attribute">os</tt> attribute) for which you want get profiled version of document.</p></dd><dt><span class="term"><i class="parameter"><tt>profile.userlevel</tt></i></span></dt><dd><p>This parameter is used for specifying user level (<tt class="sgmltag-attribute">userlevel</tt> attribute) for which you want get profiled version of document.</p></dd><dt><span class="term"><i class="parameter"><tt>profile.arch</tt></i></span></dt><dd><p>This parameter is used for specifying hardware architecture (<tt class="sgmltag-attribute">arch</tt> attribute) for which you want get profiled version of document.</p></dd><dt><span class="term"><i class="parameter"><tt>profile.condition</tt></i>, </span><span class="term"><i class="parameter"><tt>profile.conformance</tt></i>, </span><span class="term"><i class="parameter"><tt>profile.revision</tt></i>, </span><span class="term"><i class="parameter"><tt>profile.revisionflag</tt></i>, </span><span class="term"><i class="parameter"><tt>profile.security</tt></i>, </span><span class="term"><i class="parameter"><tt>profile.vendor</tt></i>, </span><span class="term"><i class="parameter"><tt>profile.role</tt></i>, </span><span class="term"><i class="parameter"><tt>profile.lang</tt></i></span></dt><dd><p>These parameters can be used to specify target profile for corresponding attributes.</p></dd><dt><span class="term"><i class="parameter"><tt>profile.attribute</tt></i></span></dt><dd><p>Name of attribute on which profiling should be based. It can be used if profiling information is stored in other attributes then <tt class="sgmltag-attribute">os</tt>, <tt class="sgmltag-attribute">userlevel</tt> and <tt class="sgmltag-attribute">arch</tt>.</p></dd><dt><span class="term"><i class="parameter"><tt>profile.value</tt></i></span></dt><dd><p>This parameter is used for specifying value for attribute selected by <i class="parameter"><tt>attr</tt></i> parameter.</p><p>E.g. setting <tt class="literal">profile.attribute=os</tt> and <tt class="literal">profile.value=unix</tt> is same as setting <tt class="literal">os=unix</tt>.</p></dd><dt><span class="term"><i class="parameter"><tt>profile.separator</tt></i></span></dt><dd><p>Separator for multiple target audience identifiers. Default is <tt class="literal">;</tt>.</p></dd></dl></div><p>Current implementation is able to handle multiple profiling targets in one attribute. In that case you must separate identifiers by semicolon:</p><pre class="programlisting"><para os="unix;mac;win">...</para></pre><p>It is possible to use different separator than semicolon by setting <i class="parameter"><tt>sep</tt></i> parameter. There cann't be spaces between separator and target names.</p><p>You can also perform profiling based on several profiling attributes in a single step as stylesheet can handle all parameters simultaneously. For example to get hypothetical guide for Windows beginners, you can run profiling like this:</p><pre class="screen"><span><b class="command">saxon</b></span> <tt class="option">-o</tt> xsample.xml sample.xml profile.xsl "profile.os=win" "profile.userlevel=beginner"</pre><p>As you can see above described profiling process can be used to substitute SGML marked sections mechanism which is missing in XML.</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e251"></a>Single pass profiling</h2></div></div><div></div></div><p>If you are using XSL stylesheets version 1.50 and later with EXSLT enabled XSLT processor (Saxon, xsltproc, Xalan) you can do profiling and transformation to HTML or FO in a single step. To do this use stylesheet with prefix <tt class="filename">profile-</tt> instead of normal one (e.g. <tt class="filename">profile-docbook.xsl</tt>, <tt class="filename">profile-chunk.xsl</tt> or <tt class="filename">profile-htmlhelp.xsl</tt>). For example to get HTML version of profiled document use:</p><pre class="screen"><span><b class="command">saxon</b></span> <tt class="option">-o</tt> sample.html sample.xml .../html/profile-docbook.xsl "profile.os=win" "profile.userlevel=beginner"</pre><p>No additional processing is necessary. If you want to use profiling with your customized stylesheets import profiling-able stylesheet instead of normal one.</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e277"></a>Conclusion</h2></div></div><div></div></div><p>Profiling is necessary in many larger DocBook applications. It can be quite easily implemented by simple XSLT stylesheet which is presented here. This mechanism can also be used to simulate behavior of marked sections known from SGML.</p></div></div></body></html> |
From: <smi...@us...> - 2004-01-02 00:39:29
|
Update of /cvsroot/devil-linux/build/docs/documentation/stylesheets/doc/common In directory sc8-pr-cvs1:/tmp/cvs-serv17796/stylesheets/doc/common Added Files: ChangeLog common.html Log Message: so that's hopefully it, with the new stylesheets --- NEW FILE: ChangeLog --- 2002-03-09 Jirka Kosek <ko...@us...> * Makefile: Removed hardcoded reference for XSLT processor as it is already set in Makefile.incl. Fixed typo in DocBook DTD URI. 2001-08-06 Norman Walsh <nw...@us...> * Makefile: Documentation and documentation generation tweaks 2001-06-20 Norman Walsh <nw...@us...> * Makefile: Use XT again (neither Saxon nor Xalan work) 2001-04-03 Norman Walsh <nw...@us...> * .cvsignore, Makefile: New file. --- NEW FILE: common.html --- <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title></title> <link rel="stylesheet" href="../reference.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.62.4"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> <div class="reference" lang="en"><a name="d0e1"></a><div class="titlepage"> <div> <div> <h1 class="title"><a name="d0e1"></a>Common Template Reference </h1> </div> <div> <div class="author"> <h3 class="author"><span class="firstname">Norman</span> <span class="surname">Walsh</span></h3> </div> </div> <div> <p class="releaseinfo"> $Id: common.html,v 1.1 2004/01/02 00:39:25 smiley73 Exp $ </p> </div> <div> <p class="copyright"><a href="../copyright.html"></a> © 19992000 Norman Walsh. <a href="../warranty.html">No Warranty</a>. </p> </div> </div> <div></div> <hr> </div> <div class="partintro" lang="en"> <div> <div></div> <div></div> </div> <div class="section" lang="en"> <div class="titlepage"> <div> <div> <h2 class="title" style="clear: both"><a name="d0e24"></a></h2> </div> </div> <div></div> </div> <p>This is technical reference documentation for the DocBook XSL Stylesheets; it documents (some of) the parameters, templates, and other elements of the stylesheets. </p> <p>This is not intended to be <span class="quote">user</span> documentation. It is provided for developers writing customization layers for the stylesheets, and for anyone who's interested in <span class="quote">how it works</span>. </p> <p>Although I am trying to be thorough, this documentation is known to be incomplete. Don't forget to read the source, too :-) </p> </div> <div class="toc"> <p><b></b></p> <dl> <dt><a href="#template.is.component">is.component</a> - Tests if a given node is a component-level element </dt> <dt><a href="#template.is.section">is.section</a> - Tests if a given node is a section-level element </dt> <dt><a href="#template.section.level">section.level</a> - Returns the hierarchical level of a section. </dt> <dt><a href="#template.qanda.section.level">qanda.section.level</a> - Returns the hierarchical level of a QandASet. </dt> <dt><a href="#template.select.mediaobject">select.mediaobject</a> - Selects and processes an appropriate media object from a list </dt> <dt><a href="#template.select.mediaobject.index">select.mediaobject.index</a> - Selects the position of the appropriate media object from a list </dt> <dt><a href="#template.is.acceptable.mediaobject">is.acceptable.mediaobject</a> - Returns '1' if the specified media object is recognized. </dt> <dt><a href="#template.check.id.unique">check.id.unique</a> - Warn users about references to non-unique IDs </dt> <dt><a href="#template.check.idref.targets">check.idref.targets</a> - Warn users about incorrectly typed references </dt> <dt><a href="#template.copyright.years">copyright.years</a> - Print a set of years with collapsed ranges </dt> <dt><a href="#template.find.path.params">find.path.params</a> - Search in a table for the "best" match for the node </dt> </dl> </div> </div> <div class="refentry" lang="en"><a name="template.is.component"></a><div class="titlepage"> <div></div> <div></div> </div> <div class="refnamediv"> <h2></h2> <p>is.component — Tests if a given node is a component-level element</p> </div> <div class="refsynopsisdiv"> <h2></h2><pre class="synopsis"><xsl:template name="is.component"> <xsl:param name="node" select="."/> ... </xsl:template></pre></div> <div class="refdescription"><a name="d0e48"></a> <p>This template returns '1' if the specified node is a component (Chapter, Appendix, etc.), and '0' otherwise. </p> </div> <div class="refparameter"><b><a name="d0e53"></a>Parameters</b> <div class="variablelist"> <dl> <dt><span class="term">node</span></dt> <dd> <p>The node which is to be tested.</p> </dd> </dl> </div> </div> <div class="refreturn"><b><a name="d0e63"></a>Returns</b> <p>This template returns '1' if the specified node is a component (Chapter, Appendix, etc.), and '0' otherwise. </p> </div> </div> <div class="refentry" lang="en"> <div class="refentry.separator"> <hr> </div><a name="template.is.section"></a><div class="titlepage"> <div></div> <div></div> </div> <div class="refnamediv"> <h2></h2> <p>is.section — Tests if a given node is a section-level element</p> </div> <div class="refsynopsisdiv"> <h2></h2><pre class="synopsis"><xsl:template name="is.section"> <xsl:param name="node" select="."/> ... </xsl:template></pre></div> <div class="refdescription"><a name="d0e77"></a> <p>This template returns '1' if the specified node is a section (Section, Sect1, Sect2, etc.), and '0' otherwise. </p> </div> <div class="refparameter"><b><a name="d0e82"></a>Parameters</b> <div class="variablelist"> <dl> <dt><span class="term">node</span></dt> <dd> <p>The node which is to be tested.</p> </dd> </dl> </div> </div> <div class="refreturn"><b><a name="d0e92"></a>Returns</b> <p>This template returns '1' if the specified node is a section (Section, Sect1, Sect2, etc.), and '0' otherwise. </p> </div> </div> <div class="refentry" lang="en"> <div class="refentry.separator"> <hr> </div><a name="template.section.level"></a><div class="titlepage"> <div></div> <div></div> </div> <div class="refnamediv"> <h2></h2> <p>section.level — Returns the hierarchical level of a section.</p> </div> <div class="refsynopsisdiv"> <h2></h2><pre class="synopsis"><xsl:template name="section.level"> <xsl:param name="node" select="."/> ... </xsl:template></pre></div> <div class="refdescription"><a name="d0e106"></a> <p>This template calculates the hierarchical level of a section. The element <tt class="sgmltag-element">sect1</tt> is at level 1, <tt class="sgmltag-element">sect2</tt> is at level 2, etc. </p> <p>Recursive sections are calculated down to the fifth level.</p> </div> <div class="refparameter"><b><a name="d0e120"></a>Parameters</b> <div class="variablelist"> <dl> <dt><span class="term">node</span></dt> <dd> <p>The section node for which the level should be calculated. Defaults to the context node. </p> </dd> </dl> </div> </div> <div class="refreturn"><b><a name="d0e130"></a>Returns</b> <p>The section level, <span class="quote">1</span>, <span class="quote">2</span>, etc. </p> </div> </div> <div class="refentry" lang="en"> <div class="refentry.separator"> <hr> </div><a name="template.qanda.section.level"></a><div class="titlepage"> <div></div> <div></div> </div> <div class="refnamediv"> <h2></h2> <p>qanda.section.level — Returns the hierarchical level of a QandASet.</p> </div> <div class="refsynopsisdiv"> <h2></h2><pre class="synopsis"><xsl:template name="qanda.section.level"/></pre></div> <div class="refdescription"><a name="d0e150"></a> <p>This template calculates the hierarchical level of a QandASet. </p> </div> <div class="refreturn"><b><a name="d0e155"></a>Returns</b> <p>The level, <span class="quote">1</span>, <span class="quote">2</span>, etc. </p> </div> </div> <div class="refentry" lang="en"> <div class="refentry.separator"> <hr> </div><a name="template.select.mediaobject"></a><div class="titlepage"> <div></div> <div></div> </div> <div class="refnamediv"> <h2></h2> <p>select.mediaobject — Selects and processes an appropriate media object from a list</p> </div> <div class="refsynopsisdiv"> <h2></h2><pre class="synopsis"><xsl:template name="select.mediaobject"> <xsl:param name="olist" select="imageobject|imageobjectco |videoobject|audioobject|textobject"/> ... </xsl:template></pre></div> <div class="refdescription"><a name="d0e175"></a> <p>This template takes a list of media objects (usually the children of a mediaobject or inlinemediaobject) and processes the "right" object. </p> <p>This template relies on a template named "select.mediaobject.index" to determine which object in the list is appropriate. </p> <p>If no acceptable object is located, nothing happens.</p> </div> <div class="refparameter"><b><a name="d0e186"></a>Parameters</b> <div class="variablelist"> <dl> <dt><span class="term">olist</span></dt> <dd> <p>The node list of potential objects to examine.</p> </dd> </dl> </div> </div> <div class="refreturn"><b><a name="d0e196"></a>Returns</b> <p>Calls <xsl:apply-templates> on the selected object.</p> </div> </div> <div class="refentry" lang="en"> <div class="refentry.separator"> <hr> </div><a name="template.select.mediaobject.index"></a><div class="titlepage"> <div></div> <div></div> </div> <div class="refnamediv"> <h2></h2> <p>select.mediaobject.index — Selects the position of the appropriate media object from a list</p> </div> <div class="refsynopsisdiv"> <h2></h2><pre class="synopsis"><xsl:template name="select.mediaobject.index"> <xsl:param name="olist" select="imageobject|imageobjectco |videoobject|audioobject|textobject"/> <xsl:param name="count">1</xsl:param> ... </xsl:template></pre></div> <div class="refdescription"><a name="d0e210"></a> <p>This template takes a list of media objects (usually the children of a mediaobject or inlinemediaobject) and determines the "right" object. It returns the position of that object to be used by the calling template. </p> <p>If the parameter <i class="parameter"><tt>use.role.for.mediaobject</tt></i> is nonzero, then it first checks for an object with a role attribute of the appropriate value. It takes the first of those. Otherwise, it takes the first acceptable object through a recursive pass through the list. </p> <p>This template relies on a template named "is.acceptable.mediaobject" to determine if a given object is an acceptable graphic. The semantics of media objects is that the first acceptable graphic should be used. </p> <p>If no acceptable object is located, no index is returned.</p> </div> <div class="refparameter"><b><a name="d0e227"></a>Parameters</b> <div class="variablelist"> <dl> <dt><span class="term">olist</span></dt> <dd> <p>The node list of potential objects to examine.</p> </dd> <dt><span class="term">count</span></dt> <dd> <p>The position in the list currently being considered by the recursive process. </p> </dd> </dl> </div> </div> <div class="refreturn"><b><a name="d0e243"></a>Returns</b> <p>Returns the position in the original list of the selected object.</p> </div> </div> <div class="refentry" lang="en"> <div class="refentry.separator"> <hr> </div><a name="template.is.acceptable.mediaobject"></a><div class="titlepage"> <div></div> <div></div> </div> <div class="refnamediv"> <h2></h2> <p>is.acceptable.mediaobject — Returns '1' if the specified media object is recognized.</p> </div> <div class="refsynopsisdiv"> <h2></h2><pre class="synopsis"><xsl:template name="is.acceptable.mediaobject"> <xsl:param name="object"/> ... </xsl:template></pre></div> <div class="refdescription"><a name="d0e257"></a> <p>This template examines a media object and returns '1' if the object is recognized as a graphic. </p> </div> <div class="refparameter"><b><a name="d0e262"></a>Parameters</b> <div class="variablelist"> <dl> <dt><span class="term">object</span></dt> <dd> <p>The media object to consider.</p> </dd> </dl> </div> </div> <div class="refreturn"><b><a name="d0e272"></a>Returns</b> <p>0 or 1</p> </div> </div> <div class="refentry" lang="en"> <div class="refentry.separator"> <hr> </div><a name="template.check.id.unique"></a><div class="titlepage"> <div></div> <div></div> </div> <div class="refnamediv"> <h2></h2> <p>check.id.unique — Warn users about references to non-unique IDs</p> </div> <div class="refsynopsisdiv"> <h2></h2><pre class="synopsis"><xsl:template name="check.id.unique"> <xsl:param name="linkend"/> ... </xsl:template></pre></div> <div class="refdescription"><a name="d0e286"></a> <p>If passed an ID in <tt class="varname">linkend</tt>, <tt class="function">check.id.unique</tt> prints a warning message to the user if either the ID does not exist or the ID is not unique. </p> </div> </div> <div class="refentry" lang="en"> <div class="refentry.separator"> <hr> </div><a name="template.check.idref.targets"></a><div class="titlepage"> <div></div> <div></div> </div> <div class="refnamediv"> <h2></h2> <p>check.idref.targets — Warn users about incorrectly typed references</p> </div> <div class="refsynopsisdiv"> <h2></h2><pre class="synopsis"><xsl:template name="check.idref.targets"> <xsl:param name="linkend"/> <xsl:param name="element-list"/> ... </xsl:template></pre></div> <div class="refdescription"><a name="d0e306"></a> <p>If passed an ID in <tt class="varname">linkend</tt>, <tt class="function">check.idref.targets</tt> makes sure that the element pointed to by the link is one of the elements listed in <tt class="varname">element-list</tt> and warns the user otherwise. </p> </div> </div> <div class="refentry" lang="en"> <div class="refentry.separator"> <hr> </div><a name="template.copyright.years"></a><div class="titlepage"> <div></div> <div></div> </div> <div class="refnamediv"> <h2></h2> <p>copyright.years — Print a set of years with collapsed ranges</p> </div> <div class="refsynopsisdiv"> <h2></h2><pre class="synopsis"><xsl:template name="copyright.years"> <xsl:param name="years"/> <xsl:param name="print.ranges" select="1"/> <xsl:param name="single.year.ranges" select="0"/> <xsl:param name="firstyear" select="0"/> <xsl:param name="nextyear" select="0"/> ... </xsl:template></pre></div> <div class="refdescription"><a name="d0e329"></a> <p>This template prints a list of year elements with consecutive years printed as a range. In other words: </p> <pre class="screen"><year>1992</year> <year>1993</year> <year>1994</year></pre> <p>is printed <span class="quote">1992-1994</span>, whereas: </p> <pre class="screen"><year>1992</year> <year>1994</year></pre> <p>is printed <span class="quote">1992, 1994</span>. </p> <p>This template assumes that all the year elements contain only decimal year numbers, that the elements are sorted in increasing numerical order, that there are no duplicates, and that all the years are expressed in full <span class="quote">century+year</span> (<span class="quote">1999</span> not <span class="quote">99</span>) notation. </p> </div> <div class="refparameter"><b><a name="d0e364"></a>Parameters</b> <div class="variablelist"> <dl> <dt><span class="term">years</span></dt> <dd> <p>The initial set of year elements.</p> </dd> <dt><span class="term">print.ranges</span></dt> <dd> <p>If non-zero, multi-year ranges are collapsed. If zero, all years are printed discretely. </p> </dd> <dt><span class="term">single.year.ranges</span></dt> <dd> <p>If non-zero, two consecutive years will be printed as a range, otherwise, they will be printed discretely. In other words, a single year range is <span class="quote">1991-1992</span> but discretely it's <span class="quote">1991, 1992</span>. </p> </dd> </dl> </div> </div> <div class="refreturn"><b><a name="d0e392"></a>Returns</b> <p>This template returns the formatted list of years.</p> </div> </div> <div class="refentry" lang="en"> <div class="refentry.separator"> <hr> </div><a name="template.find.path.params"></a><div class="titlepage"> <div></div> <div></div> </div> <div class="refnamediv"> <h2></h2> <p>find.path.params — Search in a table for the "best" match for the node</p> </div> <div class="refsynopsisdiv"> <h2></h2><pre class="synopsis"><xsl:template name="find.path.params"> <xsl:param name="node" select="."/> <xsl:param name="table" select="''"/> <xsl:param name="location"> <xsl:call-template name="xpath.location"> <xsl:with-param name="node" select="$node"/> </xsl:call-template> </xsl:param> ... </xsl:template></pre></div> <div class="refdescription"><a name="d0e406"></a> <p>This template searches in a table for the value that most-closely (in the typical best-match sense of XSLT) matches the current (element) node location. </p> </div> </div> </div> </body> </html> |
Update of /cvsroot/devil-linux/build/docs/documentation/stylesheets/xhtml In directory sc8-pr-cvs1:/tmp/cvs-serv16047/stylesheets/xhtml Removed Files: ChangeLog admon.xsl autoidx.xsl autotoc.xsl biblio.xsl block.xsl callout.xsl changebars.xsl chunk-code.xsl chunk-common.xsl chunk.xsl chunker.xsl chunkfast.xsl chunktoc.xsl component.xsl division.xsl docbook.xsl ebnf.xsl footnote.xsl formal.xsl glossary.xsl graphics.xsl html-rtf.xsl html.xsl html2xhtml.xsl htmltbl.xsl index.xsl info.xsl inline.xsl keywords.xsl lists.xsl maketoc.xsl manifest.xsl math.xsl oldchunker.xsl onechunk.xsl param.xsl pi.xsl profile-chunk-code.xsl profile-chunk.xsl profile-docbook.xsl profile-onechunk.xsl qandaset.xsl refentry.xsl sections.xsl synop.xsl table.xsl task.xsl titlepage.templates.xsl titlepage.xsl toc.xsl verbatim.xsl xref.xsl Log Message: something was fucked up, let's start over --- ChangeLog DELETED --- --- admon.xsl DELETED --- --- autoidx.xsl DELETED --- --- autotoc.xsl DELETED --- --- biblio.xsl DELETED --- --- block.xsl DELETED --- --- callout.xsl DELETED --- --- changebars.xsl DELETED --- --- chunk-code.xsl DELETED --- --- chunk-common.xsl DELETED --- --- chunk.xsl DELETED --- --- chunker.xsl DELETED --- --- chunkfast.xsl DELETED --- --- chunktoc.xsl DELETED --- --- component.xsl DELETED --- --- division.xsl DELETED --- --- docbook.xsl DELETED --- --- ebnf.xsl DELETED --- --- footnote.xsl DELETED --- --- formal.xsl DELETED --- --- glossary.xsl DELETED --- --- graphics.xsl DELETED --- --- html-rtf.xsl DELETED --- --- html.xsl DELETED --- --- html2xhtml.xsl DELETED --- --- htmltbl.xsl DELETED --- --- index.xsl DELETED --- --- info.xsl DELETED --- --- inline.xsl DELETED --- --- keywords.xsl DELETED --- --- lists.xsl DELETED --- --- maketoc.xsl DELETED --- --- manifest.xsl DELETED --- --- math.xsl DELETED --- --- oldchunker.xsl DELETED --- --- onechunk.xsl DELETED --- --- param.xsl DELETED --- --- pi.xsl DELETED --- --- profile-chunk-code.xsl DELETED --- --- profile-chunk.xsl DELETED --- --- profile-docbook.xsl DELETED --- --- profile-onechunk.xsl DELETED --- --- qandaset.xsl DELETED --- --- refentry.xsl DELETED --- --- sections.xsl DELETED --- --- synop.xsl DELETED --- --- table.xsl DELETED --- --- task.xsl DELETED --- --- titlepage.templates.xsl DELETED --- --- titlepage.xsl DELETED --- --- toc.xsl DELETED --- --- verbatim.xsl DELETED --- --- xref.xsl DELETED --- |
From: <smi...@us...> - 2004-01-02 00:30:30
|
Update of /cvsroot/devil-linux/build/docs/documentation/stylesheets/tools/profile In directory sc8-pr-cvs1:/tmp/cvs-serv16047/stylesheets/tools/profile Removed Files: ChangeLog profile.xsl Log Message: something was fucked up, let's start over --- ChangeLog DELETED --- --- profile.xsl DELETED --- |
Update of /cvsroot/devil-linux/build/docs/documentation/stylesheets/tools/olink In directory sc8-pr-cvs1:/tmp/cvs-serv16047/stylesheets/tools/olink Removed Files: ChangeLog olink-common.xsl olink.xsl olinkchunk.xsl olinksum.dtd Log Message: something was fucked up, let's start over --- ChangeLog DELETED --- --- olink-common.xsl DELETED --- --- olink.xsl DELETED --- --- olinkchunk.xsl DELETED --- --- olinksum.dtd DELETED --- |
Update of /cvsroot/devil-linux/build/docs/documentation/stylesheets/template In directory sc8-pr-cvs1:/tmp/cvs-serv16047/stylesheets/template Removed Files: ChangeLog README biblioentry.xsl testtemplate.xml titlepage.xsl Log Message: something was fucked up, let's start over --- ChangeLog DELETED --- --- README DELETED --- --- biblioentry.xsl DELETED --- --- testtemplate.xml DELETED --- --- titlepage.xsl DELETED --- |
From: <smi...@us...> - 2004-01-02 00:30:29
|
Update of /cvsroot/devil-linux/build/docs/documentation/stylesheets/tools In directory sc8-pr-cvs1:/tmp/cvs-serv16047/stylesheets/tools Removed Files: ChangeLog Log Message: something was fucked up, let's start over --- ChangeLog DELETED --- |
Update of /cvsroot/devil-linux/build/docs/documentation/stylesheets/profiling In directory sc8-pr-cvs1:/tmp/cvs-serv16047/stylesheets/profiling Removed Files: ChangeLog profile-mode.xsl profile.xsl strip-attributes.xsl xsl2profile.xsl Log Message: something was fucked up, let's start over --- ChangeLog DELETED --- --- profile-mode.xsl DELETED --- --- profile.xsl DELETED --- --- strip-attributes.xsl DELETED --- --- xsl2profile.xsl DELETED --- |
Update of /cvsroot/devil-linux/build/docs/documentation/stylesheets/images In directory sc8-pr-cvs1:/tmp/cvs-serv16047/stylesheets/images Removed Files: ChangeLog blank.png caution.gif caution.png caution.tif draft.png home.gif home.png important.gif important.png important.tif next.gif next.png note.gif note.png note.tif prev.gif prev.png tip.gif tip.png tip.tif toc-blank.png toc-minus.png toc-plus.png up.gif up.png warning.gif warning.png warning.tif Log Message: something was fucked up, let's start over --- ChangeLog DELETED --- --- blank.png DELETED --- --- caution.gif DELETED --- --- caution.png DELETED --- --- caution.tif DELETED --- --- draft.png DELETED --- --- home.gif DELETED --- --- home.png DELETED --- --- important.gif DELETED --- --- important.png DELETED --- --- important.tif DELETED --- --- next.gif DELETED --- --- next.png DELETED --- --- note.gif DELETED --- --- note.png DELETED --- --- note.tif DELETED --- --- prev.gif DELETED --- --- prev.png DELETED --- --- tip.gif DELETED --- --- tip.png DELETED --- --- tip.tif DELETED --- --- toc-blank.png DELETED --- --- toc-minus.png DELETED --- --- toc-plus.png DELETED --- --- up.gif DELETED --- --- up.png DELETED --- --- warning.gif DELETED --- --- warning.png DELETED --- --- warning.tif DELETED --- |