- From: Felix Sasaki via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 04 Sep 2006 04:44:53 +0000
- To: public-ws-policy-eds@w3.org
Update of /sources/public/2006/ws/policy
In directory hutz:/tmp/cvs-serv25251/ws/policy
Added Files:
DiffMk.properties diffmk.jar diffmk.xml diffspec.xsl
resolver.jar ws-policy-attachment-diff20060731.html
ws-policy-attachment-diff20060731.xml
ws-policy-attachment-tr20060731.xml
ws-policy-framework-diff20060731.html
ws-policy-framework-diff20060731.xml
ws-policy-framework-tr20060731.xml
Log Message:
Diff functionality (currently without build.xml) . See http://lists.w3.org/Archives/Public/public-ws-policy-eds/2006Sep/0002.html .
--- NEW FILE: ws-policy-attachment-diff20060731.xml ---
<?xml version="1.0" encoding="utf-8"?>
<!-- $Id: ws-policy-attachment-diff20060731.xml,v 1.1 2006/09/04 04:44:50 fsasaki Exp $ -->
<!DOCTYPE spec PUBLIC "-//W3C//DTD Specification V2.10//EN" "xmlspec.dtd" [
<!ENTITY prefix "ws-policy-attachment">
<!ENTITY % entities SYSTEM "entities.dtd" >
%entities;
<!ENTITY status SYSTEM "status-attachment.xml">
<!ENTITY document.status "Editors' copy $Date: 2006/09/04 04:44:50 $">
<!ENTITY attachment-title "&attachment.title;">
<!ENTITY prevloc "">
<!ENTITY hellip "…">
]><spec role="editors-copy" w3c-doctype="wd">
<header>
<title>Web Services Policy 1.5 - Attachment</title>
<w3c-designation>ws-policy-attachment.html</w3c-designation>
<w3c-doctype>Editors' copy $Date: 2006/09/04 04:44:50 $</w3c-doctype>
<pubdate>
<day>@@</day>
<month>@@@@</month>
[...1966 lines suppressed...]
Implemented the
resolution
for issue
3605: typo in example.
20060829
ASV
Implemented the
resolution
for issue
3561: replaced URI with IRI.
</tbody>
</table>
</inform-div1>
</back>
</spec>
--- NEW FILE: ws-policy-framework-diff20060731.html ---
<!DOCTYPE html
PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en-US"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>Web Services Policy 1.5 - Framework -- Review Version</title><style type="text/css">
code { font-family: monospace; }
div.constraint,
div.issue,
div.note,
div.notice { margin-left: 2em; }
dt.label { display: run-in; }
li, p { margin-top: 0.3em;
margin-bottom: 0.3em; }
.diff-chg { background-color: yellow; }
.diff-del { background-color: red; text-decoration: line-through;}
.diff-add { background-color: lime; }
[...1123 lines suppressed...]
20060829
ASV
Implemented the
resolution
for issue
3561: replaced URI with IRI.
20060830
DBO
Completed action item:
resolution
for issue
3604.
Removing Goals section, resulted in moving Policy expression definition to 2nd para of intro.
</span></table><br></div></div></div></body></html>
--- NEW FILE: ws-policy-framework-tr20060731.xml ---
<?xml version="1.0" encoding="utf-8"?>
<!-- $Id: ws-policy-framework-tr20060731.xml,v 1.1 2006/09/04 04:44:50 fsasaki Exp $ -->
<!DOCTYPE spec PUBLIC "-//W3C//DTD Specification V2.10//EN" "xmlspec.dtd" [
<!ENTITY prefix "ws-policy-framework">
<!ENTITY % entities SYSTEM "entities.dtd" >
%entities;
<!ENTITY status SYSTEM "status.xml">
<!ENTITY document.status "Editors' copy $Date: 2006/09/04 04:44:50 $">
<!ENTITY framework-title "&framework.title;">
<!ENTITY prevloc "">
<!ENTITY hellip "…">
]>
<?xml-stylesheet type='text/xsl' href='xmlspec-policy.xsl'?>
<spec w3c-doctype="wd" role="&document.role;">
<header>
<title>&framework.title;</title>
<w3c-designation>&w3c-designation-framework;</w3c-designation>
<w3c-doctype>&document.status;</w3c-doctype>
<pubdate>
[...1448 lines suppressed...]
<tr>
<td>20060718</td>
<td>DBO</td>
<td>Completed action items: RFC2606 for domain names <loc href="http://www.w3.org/2006/07/12-ws-policy-minutes.html#action09">09</loc>
(note: PLH had already done but it didn't show up in the change log)
</td>
</tr>
<tr>
<td>20060726</td>
<td>ASV</td>
<td>Incorporated the
<loc href="http://lists.w3.org/Archives/Public/public-ws-policy/2006Jul/0107.html">XML
namespace URI versioning policy</loc> adopted by the WG.
</td>
</tr>
</tbody>
</table>
</inform-div1>
</back>
</spec>
--- NEW FILE: DiffMk.properties ---
#DiffMk.properties
config=diffmk.xml
validating=no
namespaceaware=yes
verbose=1
diff=both
words=no
ignorewhitespace=yes
--- NEW FILE: ws-policy-framework-diff20060731.xml ---
<?xml version="1.0" encoding="utf-8"?>
<!-- $Id: ws-policy-framework-diff20060731.xml,v 1.1 2006/09/04 04:44:50 fsasaki Exp $ -->
<!DOCTYPE spec PUBLIC "-//W3C//DTD Specification V2.10//EN" "xmlspec.dtd" [
<!ENTITY prefix "ws-policy-framework">
<!ENTITY % entities SYSTEM "entities.dtd" >
%entities;
<!ENTITY status SYSTEM "status.xml">
<!ENTITY document.status "Editors' copy $Date: 2006/09/04 04:44:50 $">
<!ENTITY framework-title "&framework.title;">
<!ENTITY prevloc "">
<!ENTITY hellip "…">
]><spec role="editors-copy" w3c-doctype="wd">
<header>
<title>Web Services Policy 1.5 - Framework</title>
<w3c-designation>ws-policy-framework.html</w3c-designation>
<w3c-doctype>Editors' copy $Date: 2006/09/04 04:44:50 $</w3c-doctype>
<pubdate>
<day>@@</day>
<month>@@@@</month>
[...1695 lines suppressed...]
resolution
for issue
3561: replaced URI with IRI.
20060830
DBO
Completed action item:
resolution
for issue
3604.
Removing Goals section, resulted in moving Policy expression definition to 2nd para of intro.
</phrase></table>
</inform-div1>
</back>
</spec>
--- NEW FILE: ws-policy-attachment-tr20060731.xml ---
<?xml version="1.0" encoding="utf-8"?>
<!-- $Id: ws-policy-attachment-tr20060731.xml,v 1.1 2006/09/04 04:44:50 fsasaki Exp $ -->
<!DOCTYPE spec PUBLIC "-//W3C//DTD Specification V2.10//EN" "xmlspec.dtd" [
<!ENTITY prefix "ws-policy-attachment">
<!ENTITY % entities SYSTEM "entities.dtd" >
%entities;
<!ENTITY status SYSTEM "status-attachment.xml">
<!ENTITY document.status "Editors' copy $Date: 2006/09/04 04:44:50 $">
<!ENTITY attachment-title "&attachment.title;">
<!ENTITY prevloc "">
<!ENTITY hellip "…">
]>
<?xml-stylesheet type='text/xsl' href='xmlspec-policy.xsl'?>
<spec w3c-doctype="wd" role="&document.role;">
<header>
<title>&attachment.title;</title>
<w3c-designation>&w3c-designation-attachment;</w3c-designation>
<w3c-doctype>&document.status;</w3c-doctype>
<pubdate>
[...1839 lines suppressed...]
<td>20060721</td>
<td>ASV</td>
<td>Completed action item
<loc href="http://www.w3.org/2006/07/13-ws-policy-minutes.html#action29">29</loc>
from the Austin F2F.</td>
</tr>
<tr>
<td>20060726</td>
<td>ASV</td>
<td>Incorporated the
<loc href="http://lists.w3.org/Archives/Public/public-ws-policy/2006Jul/0107.html">XML
namespace URI versioning policy</loc> adopted by the WG.
</td>
</tr>
</tbody>
</table>
</inform-div1>
</back>
</spec>
--- NEW FILE: diffmk.xml ---
<?xml version='1.0'?>
<diffmk xmlns='http://www.sun.com/xml/diffmk'
xmlns:xsi='http://www.w3.org/2000/10/XMLSchema-instance'
xsi:schemaLocation='http://www.sun.com/xml/diffmk
diffmk.xsd'>
<doctype name="docbook"
attribute="revisionflag"
changed="changed"
added="added"
deleted="deleted">
<root name="book"/>
<root name="article"/>
<root name="chapter"/>
<root name="appendix"/>
<root name="para"/>
<wrapper element="phrase"/>
<wrapper parent="article" element="para"/>
<wrapper parent="section" element="para"/>
<wrapper parent="sect1" element="para"/>
<wrapper parent="sect2" element="para"/>
<wrapper parent="sect3" element="para"/>
<wrapper parent="sect4" element="para"/>
<wrapper parent="sect5" element="para"/>
<wrapper parent="refsect1" element="para"/>
<wrapper parent="refsect2" element="para"/>
<wrapper parent="refsect3" element="para"/>
<wrapper parent="pubdate"/>
<wrapper parent="releaseinfo"/>
<wrapper parent="sgmltag"/>
<wrapper parent="revision"/>
<wrapper parent="revnumber"/>
<wrapper parent="date"/>
<wrapper parent="revremark"/>
<wrapper parent="authorinitials"/>
<wrapper parent="literal"/>
<wrapper parent="year"/>
<wrapper parent="replaceable"/>
<ignoreattribute element="article" name="status"/>
</doctype>
<doctype name="slides"
attribute="revisionflag"
changed="changed"
added="added"
deleted="deleted">
<root name="slides"/>
<wrapper element="phrase"/>
<wrapper parent="section" element="para"/>
<wrapper parent="pubdate"/>
<wrapper parent="releaseinfo"/>
<wrapper parent="sgmltag"/>
<wrapper parent="revision"/>
<wrapper parent="revnumber"/>
<wrapper parent="date"/>
<wrapper parent="revremark"/>
<wrapper parent="authorinitials"/>
<wrapper parent="literal"/>
<wrapper parent="replaceable"/>
</doctype>
<doctype name="xmlspec"
attribute="diff"
changed="chg"
added="add"
deleted="del">
<root name="spec"/>
<wrapper element="phrase"/>
<wrapper parent="status" element="p"/>
<wrapper parent="div1" element="p"/>
<wrapper parent="div2" element="p"/>
<wrapper parent="div3" element="p"/>
<wrapper parent="div4" element="p"/>
<wrapper parent="div5" element="p"/>
<wrapper parent="inform-div1" element="p"/>
<wrapper parent="back" element="p"/>
<wrapper parent="w3c-designation"/>
<wrapper parent="item" element="p"/>
<wrapper parent="el"/>
<wrapper parent="authlist"/>
<wrapper parent="header"/>
<wrapper parent="tr"/>
<wrapper parent="td"/>
<wrapper parent="tbody"/>
<wrapper parent="thead"/>
<wrapper parent="proto"/>
<wrapper parent="slist"/>
<verbatim element="eg"/>
<verbatim element="bnf"/>
</doctype>
<doctype name="use-cases"
attribute="diff"
changed="chg"
added="add"
deleted="del">
<root name="spec"/>
<wrapper element="phrase"/>
<wrapper parent="status" element="p"/>
<wrapper parent="div1" element="p"/>
<wrapper parent="div2" element="p"/>
<wrapper parent="div3" element="p"/>
<wrapper parent="div4" element="p"/>
<wrapper parent="div5" element="p"/>
<wrapper parent="inform-div1" element="p"/>
<wrapper parent="back" element="p"/>
<wrapper parent="w3c-designation"/>
<wrapper parent="item" element="p"/>
<wrapper parent="el"/>
<wrapper parent="authlist"/>
<wrapper parent="header"/>
<wrapper parent="tr"/>
<wrapper parent="td"/>
<wrapper parent="tbody"/>
<wrapper parent="thead"/>
<wrapper parent="proto"/>
<wrapper parent="slist"/>
<verbatim element="bnf"/>
</doctype>
<doctype name="xpath-grammar"
attribute="diff"
changed="chg"
added="add"
deleted="del">
<root name="spec"/>
<wrapper element="phrase"/>
<wrapper parent="status" element="p"/>
<wrapper parent="div1" element="p"/>
<wrapper parent="div2" element="p"/>
<wrapper parent="div3" element="p"/>
<wrapper parent="div4" element="p"/>
<wrapper parent="div5" element="p"/>
<wrapper parent="inform-div1" element="p"/>
<wrapper parent="back" element="p"/>
<wrapper parent="w3c-designation"/>
<wrapper parent="item" element="p"/>
<wrapper parent="el"/>
<wrapper parent="authlist"/>
<wrapper parent="header"/>
<wrapper parent="tr"/>
<wrapper parent="td"/>
<wrapper parent="tbody"/>
<wrapper parent="thead"/>
<wrapper parent="proto"/>
<wrapper parent="slist"/>
<verbatim element="eg"/>
<verbatim element="bnf"/>
<ignoreattribute name="if"/>
</doctype>
<doctype xmlns:x="http://www.w3.org/1999/xhtml"
name="xhtml"
attribute="class"
changed="chg"
added="add"
deleted="del">
<root name="x:html"/>
<wrapper element="span"/>
<wrapper parent="body" element="div"/>
</doctype>
<doctype name="dtd"
attribute="diff"
changed="chg"
added="add"
deleted="del">
<root name="dtd"/>
<ignoreattribute element="dtd" name="*"/>
</doctype>
</diffmk>
--- NEW FILE: ws-policy-attachment-diff20060731.html ---
<!DOCTYPE html
PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en-US"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>Web Services Policy 1.5 - Attachment -- Review Version</title><style type="text/css">
code { font-family: monospace; }
div.constraint,
div.issue,
div.note,
div.notice { margin-left: 2em; }
dt.label { display: run-in; }
li, p { margin-top: 0.3em;
margin-bottom: 0.3em; }
.diff-chg { background-color: yellow; }
.diff-del { background-color: red; text-decoration: line-through;}
.diff-add { background-color: lime; }
[...1197 lines suppressed...]
Implemented the
resolution
for issue
3544.
20060827
TIB
Completed action item: resolution
for adding Conformance section.
20060827
TIB
Implemented the
resolution
for issue
3605: typo in example.
20060829
ASV
Implemented the
resolution
for issue
3561: replaced URI with IRI. </tbody></div></table><br></div></div></div></body></html>
--- NEW FILE: diffmk.jar ---
(This appears to be a binary file; contents omitted.)
--- NEW FILE: resolver.jar ---
(This appears to be a binary file; contents omitted.)
--- NEW FILE: diffspec.xsl ---
<?xml version="1.0"?>
<!-- Version: $Id: diffspec.xsl,v 1.1 2006/09/04 04:44:50 fsasaki Exp $ -->
<!-- Stylesheet for @diff markup in XMLspec -->
<!-- Author: Norman Walsh (Norman.Walsh@East.Sun.COM) -->
<!-- Date Created: 2000.07.21 -->
<!-- This stylesheet is copyright (c) 2000 by its authors. Free
distribution and modification is permitted, including adding to
the list of authors and copyright holders, as long as this
copyright notice is maintained. -->
<!-- This stylesheet attempts to implement the XML Specification V2.1
DTD. Documents conforming to earlier DTDs may not be correctly
transformed.
This stylesheet supports the use of change-markup with the @diff
attribute. If you use @diff, you should always use this stylesheet.
If you want to turn off the highlighting of differences, use this
stylesheet, but set show.diff.markup to 0.
Using the original xmlspec stylesheet with @diff markup will cause
@diff=del text to be presented.
-->
<!-- ChangeLog:
25 Sep 2000: (Norman.Walsh@East.Sun.COM)
- Use inline diff markup (as opposed to block) for name and
affiliation
- Handle @diff='del' correctly in bibl and other list-contexts.
14 Aug 2000: (Norman.Walsh@East.Sun.COM)
- Support additional.title param
27 Jul 2000: (Norman.Walsh@East.Sun.COM)
- Fix HTML markup problem with diff'd authors in authlist
26 Jul 2000: (Norman.Walsh@East.Sun.COM)
- Update pointer to latest xmlspec-stylesheet.
21 Jul 2000: (Norman.Walsh@East.Sun.COM)
- Initial version
-->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:import href="xmlspec.xsl"/>
<xsl:param name="show.diff.markup" select="1"/>
<xsl:param name="additional.css">
<xsl:if test="$show.diff.markup != '0'">
<xsl:text>
div.diff-add { background-color: #FFFF99; }
div.diff-del { text-decoration: line-through; }
div.diff-chg { background-color: #99FF99; }
div.diff-off { }
span.diff-add { background-color: #FFFF99; }
span.diff-del { text-decoration: line-through; }
span.diff-chg { background-color: #99FF99; }
span.diff-off { }
td.diff-add { background-color: #FFFF99; }
td.diff-del { text-decoration: line-through }
td.diff-chg { background-color: #99FF99; }
td.diff-off { }
</xsl:text>
</xsl:if>
</xsl:param>
<xsl:param name="additional.title">
<xsl:if test="$show.diff.markup != '0'">
<xsl:text>Review Version</xsl:text>
</xsl:if>
</xsl:param>
<xsl:param name="called.by.diffspec" select="1"/>
<!-- ==================================================================== -->
<!-- spec: the specification itself -->
<xsl:template match="spec">
<html>
<xsl:if test="header/langusage/language">
<xsl:attribute name="lang">
<xsl:value-of select="header/langusage/language/@id"/>
</xsl:attribute>
</xsl:if>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
<title>
<xsl:apply-templates select="header/title"/>
<xsl:if test="header/version">
<xsl:text> </xsl:text>
<xsl:apply-templates select="header/version"/>
</xsl:if>
<xsl:if test="$additional.title != ''">
<xsl:text> -- </xsl:text>
<xsl:value-of select="$additional.title"/>
</xsl:if>
</title>
<xsl:call-template name="css"/>
</head>
<body>
<xsl:if test="$show.diff.markup != 0">
<div>
<p>The presentation of this document has been augmented to
identify changes from a previous version. Three kinds of changes
are highlighted: <span class="diff-add">new, added text</span>,
<span class="diff-chg">changed text</span>, and
<span class="diff-del">deleted text</span>.</p>
<hr/>
</div>
</xsl:if>
<xsl:apply-templates/>
<xsl:if test="//footnote[not(ancestor::table)]">
<hr/>
<div class="endnotes">
<xsl:text> </xsl:text>
<h3>
<xsl:call-template name="anchor">
<xsl:with-param name="conditional" select="0"/>
<xsl:with-param name="default.id" select="'endnotes'"/>
</xsl:call-template>
<xsl:text>End Notes</xsl:text>
</h3>
<dl>
<xsl:apply-templates select="//footnote[not(ancestor::table)]"
mode="notes"/>
</dl>
</div>
</xsl:if>
</body>
</html>
</xsl:template>
<!-- ==================================================================== -->
<xsl:template name="diff-markup">
<xsl:param name="diff">off</xsl:param>
<xsl:choose>
<xsl:when test="ancestor::scrap">
<!-- forget it, we can't add stuff inside tables -->
<!-- handled in base stylesheet -->
<xsl:apply-imports/>
</xsl:when>
<xsl:when test="self::gitem or self::bibl">
<!-- forget it, we can't add stuff inside dls; handled below -->
<xsl:apply-imports/>
</xsl:when>
<xsl:when test="ancestor-or-self::phrase">
<span class="diff-{$diff}">
<xsl:apply-imports/>
</span>
</xsl:when>
<xsl:when test="ancestor::p and not(self::p)">
<span class="diff-{$diff}">
<xsl:apply-imports/>
</span>
</xsl:when>
<xsl:when test="ancestor-or-self::affiliation">
<span class="diff-{$diff}">
<xsl:apply-imports/>
</span>
</xsl:when>
<xsl:when test="ancestor-or-self::name">
<span class="diff-{$diff}">
<xsl:apply-imports/>
</span>
</xsl:when>
<xsl:otherwise>
<div class="diff-{$diff}">
<xsl:apply-imports/>
</div>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="*[@diff='chg']">
<xsl:choose>
<xsl:when test="$show.diff.markup != 0">
<xsl:call-template name="diff-markup">
<xsl:with-param name="diff">chg</xsl:with-param>
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<xsl:apply-imports/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="*[@diff='add']">
<xsl:choose>
<xsl:when test="$show.diff.markup != 0">
<xsl:call-template name="diff-markup">
<xsl:with-param name="diff">add</xsl:with-param>
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<xsl:apply-imports/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="*[@diff='del']">
<xsl:choose>
<xsl:when test="$show.diff.markup != 0">
<xsl:call-template name="diff-markup">
<xsl:with-param name="diff">del</xsl:with-param>
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<!-- suppress deleted markup -->
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="*[@diff='off']">
<xsl:choose>
<xsl:when test="$show.diff.markup != 0">
<xsl:call-template name="diff-markup">
<xsl:with-param name="diff">off</xsl:with-param>
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<xsl:apply-imports/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<!-- ================================================================= -->
<xsl:template match="bibl[@diff]" priority="1">
<xsl:variable name="dt">
<xsl:if test="@id">
<a name="{@id}"/>
</xsl:if>
<xsl:choose>
<xsl:when test="@key">
<xsl:value-of select="@key"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="@id"/>
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:variable name="dd">
<xsl:apply-templates/>
<xsl:if test="@href">
<xsl:text> (See </xsl:text>
<xsl:value-of select="@href"/>
<xsl:text>.)</xsl:text>
</xsl:if>
</xsl:variable>
<xsl:choose>
<xsl:when test="@diff and $show.diff.markup != 0">
<dt class="label">
<span class="diff-{@diff}">
<xsl:copy-of select="$dt"/>
</span>
</dt>
<dd>
<div class="diff-{@diff}">
<xsl:copy-of select="$dd"/>
</div>
</dd>
</xsl:when>
<xsl:when test="@diff='del' and $show.diff.markup = 0">
<!-- suppressed -->
</xsl:when>
<xsl:otherwise>
<dt class="label">
<xsl:copy-of select="$dt"/>
</dt>
<dd>
<xsl:copy-of select="$dd"/>
</dd>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="gitem/label">
<xsl:variable name="diffval" select="ancestor-or-self::*/@diff"/>
<xsl:choose>
<xsl:when test="$diffval != '' and $show.diff.markup != 0">
<dt class="label">
<span class="diff-{ancestor-or-self::*/@diff}">
<xsl:apply-templates/>
</span>
</dt>
</xsl:when>
<xsl:when test="$diffval='del' and $show.diff.markup = 0">
<!-- suppressed -->
</xsl:when>
<xsl:otherwise>
<dt class="label">
<xsl:apply-templates/>
</dt>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="gitem/def">
<xsl:variable name="diffval" select="ancestor-or-self::*/@diff"/>
<xsl:choose>
<xsl:when test="$diffval != '' and $show.diff.markup != 0">
<dd>
<div class="diff-{ancestor-or-self::*/@diff}">
<xsl:apply-templates/>
</div>
</dd>
</xsl:when>
<xsl:when test="$diffval='del' and $show.diff.markup = 0">
<!-- suppressed -->
</xsl:when>
<xsl:otherwise>
<dd>
<xsl:apply-templates/>
</dd>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<!-- authlist: list of authors (editors, really) -->
<!-- called in enforced order from header's template, in <dl>
context -->
<xsl:template match="authlist[@diff]">
<xsl:choose>
<xsl:when test="$show.diff.markup != 0">
<dt>
<span class="diff-{ancestor-or-self::*/@diff}">
<xsl:text>Editor</xsl:text>
<xsl:if test="count(author) > 1">
<xsl:text>s</xsl:text>
</xsl:if>
<xsl:text>:</xsl:text>
</span>
</dt>
</xsl:when>
<xsl:when test="@diff='del' and $show.diff.markup = 0">
<!-- suppressed -->
</xsl:when>
<xsl:otherwise>
<dt>
<xsl:text>Editor</xsl:text>
<xsl:if test="count(author) > 1">
<xsl:text>s</xsl:text>
</xsl:if>
<xsl:text>:</xsl:text>
</dt>
</xsl:otherwise>
</xsl:choose>
<xsl:apply-templates/>
</xsl:template>
<!-- author: an editor of a spec -->
<!-- only appears in authlist -->
<!-- called in <dl> context -->
<xsl:template match="author[@diff]" priority="1">
<xsl:choose>
<xsl:when test="@diff and $show.diff.markup != 0">
<dd>
<span class="diff-{ancestor-or-self::*/@diff}">
<xsl:apply-templates/>
<xsl:if test="@role = '2e'">
<xsl:text> - Second Edition</xsl:text>
</xsl:if>
</span>
</dd>
</xsl:when>
<xsl:when test="@diff='del' and $show.diff.markup = 0">
<!-- suppressed -->
</xsl:when>
<xsl:otherwise>
<dd>
<xsl:apply-templates/>
<xsl:if test="@role = '2e'">
<xsl:text> - Second Edition</xsl:text>
</xsl:if>
</dd>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:stylesheet>
Received on Monday, 4 September 2006 04:45:03 UTC