2002/ws/desc/wsdl20 non-normative.xsl,NONE,1.1 Makefile.base,1.60,1.61 xmlspec.xsl,1.10,1.11

Update of /sources/public/2002/ws/desc/wsdl20
In directory homer:/tmp/cvs-serv14657

Modified Files:
	Makefile.base xmlspec.xsl 
Added Files:
	non-normative.xsl 
Log Message:
Clearly marking Z version as non-normative


Index: xmlspec.xsl
===================================================================
RCS file: /sources/public/2002/ws/desc/wsdl20/xmlspec.xsl,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** xmlspec.xsl	11 Feb 2005 11:56:36 -0000	1.10
--- xmlspec.xsl	6 May 2005 15:35:22 -0000	1.11
***************
*** 1118,1122 ****
        </xsl:if>
        <xsl:text>&#10;</xsl:text>
!       <h2>
          <xsl:apply-templates select="w3c-doctype"/>
          <xsl:text> </xsl:text>
--- 1118,1122 ----
        </xsl:if>
        <xsl:text>&#10;</xsl:text>
!       <h2 id='h2-title'>
          <xsl:apply-templates select="w3c-doctype"/>
          <xsl:text> </xsl:text>
***************
*** 1507,1511 ****
    <!-- called from header in <dl> context -->
    <xsl:template match="publoc">
!     <dt>This version:</dt>
      <dd>
        <xsl:apply-templates/>
--- 1507,1511 ----
    <!-- called from header in <dl> context -->
    <xsl:template match="publoc">
!     <dt id='dt-this-version'>This version:</dt>
      <dd>
        <xsl:apply-templates/>

Index: Makefile.base
===================================================================
RCS file: /sources/public/2002/ws/desc/wsdl20/Makefile.base,v
retrieving revision 1.60
retrieving revision 1.61
diff -C2 -d -r1.60 -r1.61
*** Makefile.base	3 May 2005 19:51:25 -0000	1.60
--- Makefile.base	6 May 2005 15:35:22 -0000	1.61
***************
*** 52,63 ****
  	rm $@.old
  
! $(WSDL20-z.html): $(WSDL20.xml) $(FILES) $(XSL) valid-xml.txt ../wsdl20/zml2html.xsl
  ifdef HASZ
  	@echo "Generating $@";\
  	$(XSLTPROC) --stringparam showZed true --stringparam interactive true $(STYLESHEET) $(WSDL20.xml) > $@
  	@echo "Running tidy on $@";\
! 	mv $@  $@.old; \
! 	$(TIDY) $@.old > $@ 2>./tidy-output.txt;\
! 	rm $@.old
  endif
  
--- 52,63 ----
  	rm $@.old
  
! $(WSDL20-z.html): $(WSDL20.xml) $(FILES) $(XSL) valid-xml.txt ../wsdl20/zml2html.xsl ../wsdl20/non-normative.xsl
  ifdef HASZ
  	@echo "Generating $@";\
  	$(XSLTPROC) --stringparam showZed true --stringparam interactive true $(STYLESHEET) $(WSDL20.xml) > $@
  	@echo "Running tidy on $@";\
! 	$(TIDY) $@ > $@.tidy 2>./tidy-output.txt;\
! 	$(XSLTPROC) --stringparam ver " with Z-notation" non-normative.xsl $@.tidy > $@;\
! 	rm $@.tidy
  endif
  

--- NEW FILE: non-normative.xsl ---
<?xml version="1.0"?>

<!-- $Id: non-normative.xsl,v 1.1 2005/05/06 15:35:22 hugo Exp $ -->

<!--
  This stylesheet is used to produced the W3C XML Schema
  -->

<xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
	       xmlns:html="http://www.w3.org/1999/xhtml"
	       exclude-result-prefixes="html"
               version="1.0">

  <xsl:param name="ver" select="''"/>

  <xsl:output
    method="xml"
    encoding="utf-8"
    doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
    doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"
    />

  <xsl:template match="/">
    <xsl:apply-templates />
  </xsl:template>
  
  <xsl:template match="html:h2[@id='h2-title']">
    <html:h2>
      <xsl:value-of select="." />
      <html:br />
      <xsl:text>Non-normative version</xsl:text>
      <xsl:value-of select="$ver" />
    </html:h2>
  </xsl:template>
  
  <xsl:template match="html:dt[@id='dt-this-version']">
    <html:dt>
      Normative version at:
    </html:dt>
  </xsl:template>

  <xsl:template match="@*|node()">
    <xsl:copy>
      <xsl:apply-templates select="@*|node()"/>
    </xsl:copy>
  </xsl:template>

</xsl:transform>

Received on Friday, 6 May 2005 15:35:28 UTC