W3C home > Mailing lists > Public > public-ws-desc-eds@w3.org > November 2004

2002/ws/desc/wsdl20 build.xml,1.3,1.4 .cvsignore,1.3,1.4 zml.css,1.2,1.3 zml2html.xsl,1.4,1.5

From: Arthur Ryman <aryman@dev.w3.org>
Date: Tue, 09 Nov 2004 17:53:39 +0000
To: public-ws-desc-eds@w3.org
Message-ID: <E1CRaBX-0003Lw-CP@lionel-hutz.w3.org>

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

Modified Files:
	build.xml .cvsignore zml.css zml2html.xsl 
Log Message:
Updates to build.xml, zml.css, .cvsignore.

Index: .cvsignore
===================================================================
RCS file: /sources/public/2002/ws/desc/wsdl20/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** .cvsignore	30 Jul 2004 22:19:03 -0000	1.3
--- .cvsignore	9 Nov 2004 17:53:37 -0000	1.4
***************
*** 11,12 ****
--- 11,17 ----
  html2ps.dbg
  diff.html
+ *.aux
+ *.log
+ *.out
+ *.tex
+ zml2latex.xsl

Index: build.xml
===================================================================
RCS file: /sources/public/2002/ws/desc/wsdl20/build.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** build.xml	13 Oct 2004 17:39:38 -0000	1.3
--- build.xml	9 Nov 2004 17:53:37 -0000	1.4
***************
*** 28,32 ****
  
  	2004-10-11: Arthur Ryman <ryman@ca.ibm.com>
! 	- added task to transform XML to HTML
  	
  -->
--- 28,35 ----
  
  	2004-10-11: Arthur Ryman <ryman@ca.ibm.com>
! 	- added target to transform XML to HTML
! 	
! 	2004-10-16: Arthur Ryman <ryman@ca.ibm.com>
! 	- added target to typecheck Z notation
  	
  -->
***************
*** 35,38 ****
--- 38,45 ----
  
  	<target name="html" description="Transforms xml into html.">
+ 		<xslt in="wsdl20.xml" out="wsdl20.html" style="xmlspec-wsdl.xsl" />
+ 	</target>
+ 
+ 	<target name="html-z" description="Transforms xml into html.">
  		<xslt in="wsdl20-z.xml" out="wsdl20-z.html" style="xmlspec-wsdl-z.xsl" />
  		<xslt in="wsdl20-z-1.xml" out="wsdl20-z-1.html" style="xmlspec-wsdl-z.xsl">
***************
*** 47,50 ****
--- 54,58 ----
  
  	<target name="clean" description="Deletes generated files.">
+ 		<delete file="wsdl20.html" />
  		<delete file="wsdl20-z.html" />
  		<delete file="wsdl20-z-1.html" />
***************
*** 52,56 ****
  	</target>
  	
! 	<target name="main" depends="clean, html" description="Creates all output files." />
  
  </project>
\ No newline at end of file
--- 60,81 ----
  	</target>
  	
! 	<target name="main" depends="typecheck, html" description="Creates all output files." />
! 	
! 	<target name="typecheck" depends="latex" description="Typechecks wsdl20.xml">
! 		<exec executable="e:\cygwin\bin\fuzz">
! 			<arg line="-d -p e:\cygwin\bin\fuzzlib wsdl20"/>
! 		</exec>
! 	</target>
! 
! 	<target name="latex" description="Transforms wsdl20.xml into wsdl20.tex">
! 		<xslt in="wsdl20.xml" out="wsdl20.tex" style="zml2latex.xsl" />
! 	</target>
! 	
! 	<target name="pdf" depends="latex" description="Formats tex into pdf using pdflatex.">
! 		<exec executable="pdflatex">
! 			<arg line="wsdl20"/>
! 		</exec>
! 	</target>
! 
  
  </project>
\ No newline at end of file

Index: zml2html.xsl
===================================================================
RCS file: /sources/public/2002/ws/desc/wsdl20/zml2html.xsl,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** zml2html.xsl	13 Oct 2004 17:39:38 -0000	1.4
--- zml2html.xsl	9 Nov 2004 17:53:37 -0000	1.5
***************
*** 27,30 ****
--- 27,33 ----
  	ChangeLog:
  	
+ 	2004-10-24: Arthur Ryman <ryman@ca.ibm.com>
+ 	- added support for <z:see/>
+ 	
  	2004-10-10: Arthur Ryman <ryman@ca.ibm.com>
  	- simplified ZML to make authoring easier
***************
*** 296,299 ****
--- 299,335 ----
  		</a>
  	</xsl:template>
+ 	
+ 	<xsl:template match="z:see">
+ 		<div class="zsee">
+ 			<span class="zsmall">
+ 			<xsl:text>See</xsl:text>
+ 			<span class="zi">
+ 				<xsl:call-template name="write-names">
+ 					<xsl:with-param name="names" select="normalize-space(@names)"/>
+ 				</xsl:call-template>
+ 			</span>
+ 			</span>
+ 		</div>
+ 	</xsl:template>
+ 	
+ 	<xsl:template name="write-names">
+ 		<xsl:param name="names"/>
+ 		<xsl:value-of select="' '"/>
+ 		<xsl:choose>
+ 			<xsl:when test="contains($names,' ')">
+ 				<xsl:variable name="name1" select="substring-before($names,' ')"/>
+ 				<a href="#{$name1}"><xsl:value-of select="$name1"/></a>
+ 				<xsl:value-of select="','"/>
+ 				<xsl:call-template name="write-names">
+ 					<xsl:with-param name="names" select="substring-after($names,' ')"/>
+ 				</xsl:call-template>
+ 			</xsl:when>
+ 			<xsl:otherwise>
+ 				<a href="#{$names}"><xsl:value-of select="$names"/></a>
+ 				<xsl:value-of select="'.'"/>
+ 			</xsl:otherwise>
+ 		</xsl:choose>
+ 		
+ 	</xsl:template>
  
  </xsl:stylesheet>
\ No newline at end of file

Index: zml.css
===================================================================
RCS file: /sources/public/2002/ws/desc/wsdl20/zml.css,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** zml.css	11 Oct 2004 21:58:31 -0000	1.2
--- zml.css	9 Nov 2004 17:53:37 -0000	1.3
***************
*** 23,26 ****
--- 23,29 ----
  	ChangeLog:
  
+ 	2004-10-24: Arthur Ryman <ryman@ca.ibm.com>
+ 	- added div.zsee
+ 	
  	2004-09-23: Arthur Ryman <ryman@ca.ibm.com>
  	- created
***************
*** 261,262 ****
--- 264,272 ----
  	top: .8ex;
  }
+ 
+ div.zsee {
+ 	width: 30em;
+ 	margin-left: 2em;
+ 	margin-top: 0;
+ 	margin-bottom: 2ex;
+ }
\ No newline at end of file
Received on Tuesday, 9 November 2004 17:53:39 GMT

This archive was generated by hypermail 2.2.0+W3C-0.2 : Tuesday, 9 November 2004 17:53:39 GMT