2002/ws/desc/wsdl20 wsdl20-z.html,1.4,1.5 build.xml,1.2,1.3 wsdl20-z-1.html,1.2,1.3 wsdl20-z-1-short.html,1.1,1.2 zml2html.xsl,1.3,1.4

Update of /sources/public/2002/ws/desc/wsdl20
In directory hutz:/tmp/cvs-serv10683

Modified Files:
	wsdl20-z.html build.xml wsdl20-z-1.html wsdl20-z-1-short.html 
	zml2html.xsl 
Log Message:
Added ability to hide and show Z notation via links between a full and a short version of the spec

Index: wsdl20-z-1.html
===================================================================
RCS file: /sources/public/2002/ws/desc/wsdl20/wsdl20-z-1.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** wsdl20-z-1.html	12 Oct 2004 03:11:06 -0000	1.2
--- wsdl20-z-1.html	13 Oct 2004 17:39:38 -0000	1.3
***************
*** 426,432 ****
  	  </ul>
  	  
! <p xmlns:z="http://www.w3.org/2004/zml"><span class="zi"><a href="wsdl20-z-1-short.html#DefinitionsComponent" name="DefinitionsComponent">
! 								Hide formal definition of
! 							DefinitionsComponent</a></span></p>	
  <p>The properties of the Definitions component are described by <span xmlns:z="http://www.w3.org/2004/zml" class="zi">DefinitionsComponent</span>:</p>
  <table xmlns:z="http://www.w3.org/2004/zml" class="zschema"><col class="zschema1"><col class="zschema2"><col class="zschema3"><tbody><tr><td colspan="2" class="zschemaname"><span class="zschemaname"><span class="zi">DefinitionsComponent</span></span></td><td></td></tr><tr><td class="zschematext" colspan="3"><span class="zschematext"><span class="zi">interfaces</span> <span class="zinfix">:</span><span class="zprefix"><span class="doublestruck">F</span></span><span class="zi">InterfaceComponent</span></span></td></tr><tr><td class="zschematext" colspan="3"><span class="zschematext"><span class="zi">bindings</span> <span class="zinfix">:</span><span class="zprefix"><span class="doublestruck">F</span></span><span class="zi">BindingComponent</span></span></td></tr><tr><td class="zschematext" colspan="3"><span class="zschematext"><span class="zi">services</span> <span class="zinfix">:</span><span class="zprefix"><span class="doublestruck">F</span></span><span class="zi">ServiceComponent</span></span></td></tr>tr><td class="zschematext" colspan="3"><span class="zschematext"><span class="zi">elementDeclarations</span> <span class="zinfix">:</span><span class="zprefix"><span class="doublestruck">F</span></span><span class="zi">ElementDeclarationComponent</span></span></td></tr><tr><td class="zschemalasttext" colspan="3"><span class="zschematext"><span class="zi">typeDefinitions</span> <span class="zinfix">:</span><span class="zprefix"><span class="doublestruck">F</span></span><span class="zi">TypeDefinitionComponent</span></span></td></tr><tr><td class="bl"></td><td class="b"></td><td></td></tr></tbody></table>
--- 426,430 ----
  	  </ul>
  	  
! <a xmlns:z="http://www.w3.org/2004/zml" name="DefinitionsComponent"></a><p xmlns:z="http://www.w3.org/2004/zml"><span class="zi"><a href="wsdl20-z-1-short.html#DefinitionsComponent">Hide&nbsp;DefinitionsComponent</a></span></p>	
  <p>The properties of the Definitions component are described by <span xmlns:z="http://www.w3.org/2004/zml" class="zi">DefinitionsComponent</span>:</p>
  <table xmlns:z="http://www.w3.org/2004/zml" class="zschema"><col class="zschema1"><col class="zschema2"><col class="zschema3"><tbody><tr><td colspan="2" class="zschemaname"><span class="zschemaname"><span class="zi">DefinitionsComponent</span></span></td><td></td></tr><tr><td class="zschematext" colspan="3"><span class="zschematext"><span class="zi">interfaces</span> <span class="zinfix">:</span><span class="zprefix"><span class="doublestruck">F</span></span><span class="zi">InterfaceComponent</span></span></td></tr><tr><td class="zschematext" colspan="3"><span class="zschematext"><span class="zi">bindings</span> <span class="zinfix">:</span><span class="zprefix"><span class="doublestruck">F</span></span><span class="zi">BindingComponent</span></span></td></tr><tr><td class="zschematext" colspan="3"><span class="zschematext"><span class="zi">services</span> <span class="zinfix">:</span><span class="zprefix"><span class="doublestruck">F</span></span><span class="zi">ServiceComponent</span></span></td></tr>tr><td class="zschematext" colspan="3"><span class="zschematext"><span class="zi">elementDeclarations</span> <span class="zinfix">:</span><span class="zprefix"><span class="doublestruck">F</span></span><span class="zi">ElementDeclarationComponent</span></span></td></tr><tr><td class="zschemalasttext" colspan="3"><span class="zschematext"><span class="zi">typeDefinitions</span> <span class="zinfix">:</span><span class="zprefix"><span class="doublestruck">F</span></span><span class="zi">TypeDefinitionComponent</span></span></td></tr><tr><td class="bl"></td><td class="b"></td><td></td></tr></tbody></table>
***************
*** 475,481 ****
         space of those components in a given target namespace.</p>
  
! <p xmlns:z="http://www.w3.org/2004/zml"><span class="zi"><a href="wsdl20-z-1-short.html#DefinitionsComponent1" name="DefinitionsComponent1">
! 								Hide formal definition of
! 							DefinitionsComponent1</a></span></p>
         <p>The QName uniqueness constraint on components is expressed
         by <span xmlns:z="http://www.w3.org/2004/zml" class="zi">DefinitionsComponent1</span>:</p>
--- 473,477 ----
         space of those components in a given target namespace.</p>
  
! <a xmlns:z="http://www.w3.org/2004/zml" name="DefinitionsComponent1"></a><p xmlns:z="http://www.w3.org/2004/zml"><span class="zi"><a href="wsdl20-z-1-short.html#DefinitionsComponent1">Hide&nbsp;DefinitionsComponent1</a></span></p>
         <p>The QName uniqueness constraint on components is expressed
         by <span xmlns:z="http://www.w3.org/2004/zml" class="zi">DefinitionsComponent1</span>:</p>

Index: build.xml
===================================================================
RCS file: /sources/public/2002/ws/desc/wsdl20/build.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** build.xml	12 Oct 2004 03:07:18 -0000	1.2
--- build.xml	13 Oct 2004 17:39:38 -0000	1.3
***************
*** 38,48 ****
  		<xslt in="wsdl20-z-1.xml" out="wsdl20-z-1.html" style="xmlspec-wsdl-z.xsl">
  			<param name="showZed" expression="true" />
! 			<param name="fullSpecification" expression="wsdl20-z-1.html" />
! 			<param name="shortSpecification" expression="wsdl20-z-1-short.html" />
  		</xslt>
  		<xslt in="wsdl20-z-1.xml" out="wsdl20-z-1-short.html" style="xmlspec-wsdl-z.xsl">
  			<param name="showZed" expression="false" />
! 			<param name="fullSpecification" expression="wsdl20-z-1.html" />
! 			<param name="shortSpecification" expression="wsdl20-z-1-short.html" />
  		</xslt>
  	</target>
--- 38,46 ----
  		<xslt in="wsdl20-z-1.xml" out="wsdl20-z-1.html" style="xmlspec-wsdl-z.xsl">
  			<param name="showZed" expression="true" />
! 			<param name="linkTo" expression="wsdl20-z-1-short.html"/>
  		</xslt>
  		<xslt in="wsdl20-z-1.xml" out="wsdl20-z-1-short.html" style="xmlspec-wsdl-z.xsl">
  			<param name="showZed" expression="false" />
! 			<param name="linkTo" expression="wsdl20-z-1.html" />
  		</xslt>
  	</target>

Index: zml2html.xsl
===================================================================
RCS file: /sources/public/2002/ws/desc/wsdl20/zml2html.xsl,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** zml2html.xsl	12 Oct 2004 03:07:18 -0000	1.3
--- zml2html.xsl	13 Oct 2004 17:39:38 -0000	1.4
***************
*** 30,33 ****
--- 30,38 ----
  	- simplified ZML to make authoring easier
  	
+ 	2004-10-13: Arthur Ryman <ryman@ca.ibm.com>
+ 	- added ability to hide and show Zed notation
+ 	via links between a full and short version of
+ 	the specification
+ 	
  -->
  
***************
*** 39,76 ****
  	<xsl:import href="zml2html-symbols.xsl" />
  
! 	<xsl:param name="showZed">true</xsl:param>
! 	<xsl:param name="fullSpecification">specification.html</xsl:param>
! 	<xsl:param name="shortSpecification">
! 		specification-short.html
! 	</xsl:param>
  
  	<xsl:template match="z:notation">
  		<xsl:choose>
  			<xsl:when test="$showZed='true'">
! 				<p>
! 					<span class="zi">
! 						<a name="{@name}"
! 							href="{$shortSpecification}#{@name}">
! 							<xsl:text>
! 								Hide formal definition of
! 							</xsl:text>
! 							<xsl:value-of select="@name" />
! 						</a>
! 					</span>
! 				</p>
  				<xsl:apply-templates />
  			</xsl:when>
  			<xsl:otherwise>
! 				<p>
! 					<span class="zi">
! 						<a name="{@name}"
! 							href="{$fullSpecification}#{@name}">
! 							<xsl:text>
! 								Show formal definition of
! 							</xsl:text>
! 							<xsl:value-of select="@name" />
! 						</a>
! 					</span>
! 				</p>
  			</xsl:otherwise>
  		</xsl:choose>
--- 44,77 ----
  	<xsl:import href="zml2html-symbols.xsl" />
  
! 	<xsl:param name="showZed" select="'true'" />
! 	<xsl:param name="linkTo" />
  
  	<xsl:template match="z:notation">
+ 		<a name="{@name}" />
  		<xsl:choose>
  			<xsl:when test="$showZed='true'">
! 				<xsl:if test="$linkTo">
! 					<p>
! 						<span class="zi">
! 							<a href="{$linkTo}#{@name}">
! 								<xsl:text>Hide&#160;</xsl:text>
! 								<xsl:value-of select="@name" />
! 							</a>
! 						</span>
! 					</p>
! 				</xsl:if>
  				<xsl:apply-templates />
  			</xsl:when>
  			<xsl:otherwise>
! 				<xsl:if test="$linkTo">
! 					<p>
! 						<span class="zi">
! 							<a href="{$linkTo}#{@name}">
! 								<xsl:text>See also&#160;</xsl:text>
! 								<xsl:value-of select="@name" />
! 							</a>
! 						</span>
! 					</p>
! 				</xsl:if>
  			</xsl:otherwise>
  		</xsl:choose>

Index: wsdl20-z-1-short.html
===================================================================
RCS file: /sources/public/2002/ws/desc/wsdl20/wsdl20-z-1-short.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** wsdl20-z-1-short.html	12 Oct 2004 03:11:06 -0000	1.1
--- wsdl20-z-1-short.html	13 Oct 2004 17:39:38 -0000	1.2
***************
*** 426,432 ****
  	  </ul>
  	  
! <p xmlns:z="http://www.w3.org/2004/zml"><span class="zi"><a href="wsdl20-z-1.html#DefinitionsComponent" name="DefinitionsComponent">
! 								Show formal definition of
! 							DefinitionsComponent</a></span></p>
  
         <p>The set of interfaces/binding/services/etc. available in the
--- 426,430 ----
  	  </ul>
  	  
! <a xmlns:z="http://www.w3.org/2004/zml" name="DefinitionsComponent"></a><p xmlns:z="http://www.w3.org/2004/zml"><span class="zi"><a href="wsdl20-z-1.html#DefinitionsComponent">See also&nbsp;DefinitionsComponent</a></span></p>
  
         <p>The set of interfaces/binding/services/etc. available in the
***************
*** 472,478 ****
         space of those components in a given target namespace.</p>
  
! <p xmlns:z="http://www.w3.org/2004/zml"><span class="zi"><a href="wsdl20-z-1.html#DefinitionsComponent1" name="DefinitionsComponent1">
! 								Show formal definition of
! 							DefinitionsComponent1</a></span></p>
  
         <p>In addition to WSDL components and type system
--- 470,474 ----
         space of those components in a given target namespace.</p>
  
! <a xmlns:z="http://www.w3.org/2004/zml" name="DefinitionsComponent1"></a><p xmlns:z="http://www.w3.org/2004/zml"><span class="zi"><a href="wsdl20-z-1.html#DefinitionsComponent1">See also&nbsp;DefinitionsComponent1</a></span></p>
  
         <p>In addition to WSDL components and type system

Received on Wednesday, 13 October 2004 17:39:41 UTC