2006/ws/policy xmlspec.xsl,1.2,1.3

Update of /sources/public/2006/ws/policy
In directory hutz:/tmp/cvs-serv9318

Modified Files:
	xmlspec.xsl 
Log Message:
Partial merge with the official xmlspec.xsl. Removed support for shorttoc. Fixed warnings on table/caption and child axis starting at an attribute() node

Index: xmlspec.xsl
===================================================================
RCS file: /sources/public/2006/ws/policy/xmlspec.xsl,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- xmlspec.xsl	30 Jan 2007 15:49:11 -0000	1.2
+++ xmlspec.xsl	6 Feb 2007 16:34:54 -0000	1.3
@@ -1,24 +1,46 @@
 <?xml version="1.0"?>
+<xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+               xmlns:saxon="http://icl.com/saxon"
+               exclude-result-prefixes="saxon"
+               version="1.0">
 
-<!-- Version: $Id$ -->
+<!-- ====================================================================== -->
+<!-- xmlspec.xsl: An HTML XSL[1] Stylesheet for XML Spec V2.1[2] markup
 
-<!-- Stylesheet for XMLspec -->
[...1926 lines suppressed...]
       <xsl:value-of select="$node/@id"/>
     </xsl:when>
@@ -2690,13 +2908,16 @@
 <xsl:template name="anchor">
   <xsl:param name="node" select="."/>
   <xsl:param name="conditional" select="1"/>
+  <xsl:param name="default.id" select="''"/>
+
   <xsl:variable name="id">
     <xsl:call-template name="object.id">
       <xsl:with-param name="node" select="$node"/>
+      <xsl:with-param name="default.id" select="$default.id"/>
     </xsl:call-template>
   </xsl:variable>
   <xsl:if test="$conditional = 0 or $node/@id">
-    <a name="{$id}"/>
+    <a name="{$id}" id="{$id}"/>
   </xsl:if>
 </xsl:template>
 

Received on Tuesday, 6 February 2007 16:35:24 UTC