Mercurial > public > ssdtant
annotate src/org/ssdt_ohio/tools/ant/wsd2html.xsl @ 3:af958c5027b1
add test junit summary xsl
author | smith@nwoca.org |
---|---|
date | Thu, 09 Jun 2011 11:57:09 -0400 |
parents | 09f9f3d5c507 |
children |
rev | line source |
---|---|
2
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
1 <?xml version="1.0"?> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
2 <xsl:stylesheet |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
3 version="1.0" |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
4 xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
5 xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
6 xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
7 xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
8 xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
9 xmlns:x="http://ssdt.nwoca.org/xml/wsdl2html" |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
10 xmlns:xsd="http://www.w3.org/2001/XMLSchema"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
11 |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
12 <xsl:output method="html" omit-xml-declaration="yes"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
13 <xsl:variable name="wsd2htmlVersion" select="'ssdt wsd2html 0.2-0'"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
14 <xsl:variable name="defaultNamespace"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
15 <xsl:for-each select="wsdl:definitions/namespace::*"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
16 <xsl:if test="not(name())"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
17 <xsl:value-of select="."/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
18 </xsl:if> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
19 </xsl:for-each> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
20 </xsl:variable> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
21 <xsl:variable name="targetNamespace" select="wsdl:definitions/@targetNamespace"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
22 |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
23 <xsl:template match="/"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
24 <HTML> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
25 <HEAD> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
26 <TITLE>Web Service Description: <xsl:value-of select="wsdl:definitions/wsdl:service/@name"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
27 </TITLE> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
28 <META HTTP-EQUIV="content-type" content="text/html" charset="UTF-8"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
29 <STYLE TYPE="text/css"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
30 BODY { |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
31 margin-left: 5%; |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
32 margin-right: 5%; |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
33 } |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
34 H1 { |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
35 background-color: lightgrey; |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
36 } |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
37 H2 { |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
38 background-color: lightgrey; |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
39 } |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
40 H3 { |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
41 background-color: #00CCCC; |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
42 text-indent: .5em; |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
43 border: thin solid black; |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
44 width: 95%; |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
45 } |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
46 P { |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
47 } |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
48 TABLE { |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
49 border: thin solid black; |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
50 left-margin: 20em; |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
51 width: 80%; |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
52 } |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
53 TD { |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
54 border: thin solid black; |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
55 padding: .2em; |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
56 } |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
57 .xml { |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
58 border: thin dotted blue; |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
59 padding: .5em; |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
60 width: 70%; |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
61 margin-left: 5%; |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
62 } |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
63 .xml UL LI { |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
64 list-style-image: none; |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
65 list-style-type: none; |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
66 } |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
67 .attrValue { |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
68 color: rgb(153, 51, 51); |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
69 font-weight: bold; |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
70 } |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
71 .attrName { |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
72 color: rgb(0, 0, 102); |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
73 } |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
74 .xmlElement { |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
75 color: black; |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
76 font-weight: bold; |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
77 } |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
78 |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
79 </STYLE> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
80 </HEAD> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
81 <BODY> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
82 <H1>Web Service Description: <xsl:value-of select="wsdl:definitions/wsdl:service/@name"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
83 </H1> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
84 <h2>Contents</h2> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
85 <ul> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
86 <li> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
87 <a href="#operations">Operations</a> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
88 </li> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
89 <li> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
90 <a href="#messages">Messages</a> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
91 </li> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
92 <li> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
93 <a href="#elements">Elements</a> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
94 </li> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
95 <li> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
96 <a href="#types">Types</a> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
97 </li> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
98 </ul> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
99 <hr/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
100 |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
101 |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
102 <xsl:call-template name="getDoc"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
103 <xsl:with-param name="doc" select="wsdl:definitions/wsdl:documentation"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
104 </xsl:call-template> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
105 |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
106 <HR/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
107 |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
108 <xsl:apply-templates select="wsdl:definitions/wsdl:service"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
109 |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
110 <hr/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
111 |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
112 <h2>Namespaces:</h2> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
113 <table> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
114 <tr> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
115 <th>Prefix</th> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
116 <th>Namespace</th> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
117 </tr> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
118 <xsl:for-each select="wsdl:definitions/namespace::*"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
119 <xsl:sort select="name()"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
120 <tr> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
121 <td> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
122 <xsl:choose> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
123 <xsl:when test="name()"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
124 <xsl:value-of select="name()"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
125 </xsl:when> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
126 <xsl:otherwise> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
127 <xsl:text>[Default]</xsl:text> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
128 </xsl:otherwise> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
129 </xsl:choose> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
130 </td> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
131 <td> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
132 <xsl:value-of select="."/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
133 </td> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
134 </tr> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
135 </xsl:for-each> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
136 </table> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
137 |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
138 <h2>Imported Schemas</h2> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
139 |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
140 <table> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
141 <tr> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
142 <th>Namespace</th> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
143 <th>Location</th> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
144 </tr> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
145 <xsl:for-each select="wsdl:definitions/wsdl:types/xsd:schema/xsd:import"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
146 <tr> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
147 <td> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
148 <xsl:value-of select="@namespace"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
149 </td> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
150 <td> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
151 <xsl:value-of select="@schemaLocation"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
152 </td> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
153 </tr> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
154 </xsl:for-each> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
155 </table> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
156 |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
157 <HR/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
158 <a name="operations" id="operations"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
159 <H2>Port Type: <xsl:value-of select="wsdl:definitions/wsdl:portType/@name"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
160 </H2> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
161 <xsl:apply-templates select="wsdl:definitions/wsdl:portType"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
162 |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
163 <H2>Operations Detail</H2> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
164 <xsl:apply-templates select="wsdl:definitions/wsdl:portType/wsdl:operation"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
165 <xsl:sort select="@name"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
166 </xsl:apply-templates> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
167 |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
168 <a name="messages" id="messages"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
169 <H2>Messsages</H2> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
170 <table> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
171 <tr><th>Message</th><th>Parameter</th></tr> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
172 <xsl:apply-templates select="wsdl:definitions/wsdl:message"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
173 <xsl:sort select="@name"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
174 </xsl:apply-templates> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
175 </table> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
176 |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
177 <a name="elements" id="elements"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
178 <H2>Elements</H2> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
179 <ul> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
180 <xsl:apply-templates select="wsdl:definitions/wsdl:types/xsd:schema/xsd:element" mode="summary"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
181 <xsl:sort select="@name"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
182 </xsl:apply-templates> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
183 </ul> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
184 <xsl:apply-templates select="wsdl:definitions/wsdl:types/xsd:schema/xsd:element" mode="detail"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
185 <xsl:sort select="@name"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
186 </xsl:apply-templates> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
187 |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
188 <a name="types" id="types"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
189 <H2>Types</H2> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
190 <ul> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
191 <xsl:apply-templates select="wsdl:definitions/wsdl:types/xsd:schema/xsd:complexType | wsdl:definitions/wsdl:types/xsd:schema/xsd:simpleType" |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
192 mode="summary"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
193 <xsl:sort select="@name"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
194 </xsl:apply-templates> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
195 </ul> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
196 <hr/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
197 |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
198 <xsl:apply-templates select="wsdl:definitions/wsdl:types/xsd:schema/xsd:complexType | wsdl:definitions/wsdl:types/xsd:schema/xsd:simpleType" |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
199 mode="detail"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
200 <xsl:sort select="@name"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
201 </xsl:apply-templates> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
202 |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
203 <hr/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
204 <i><font size="-1">Generated by <xsl:value-of select="$wsd2htmlVersion"/></font></i> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
205 </BODY> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
206 </HTML> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
207 </xsl:template> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
208 |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
209 <xsl:template match="wsdl:operation"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
210 <a name="o-{@name}" id="o-{@name}"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
211 <h3>Operation: <xsl:value-of select="@name"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
212 </h3> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
213 <xsl:call-template name="getDoc"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
214 <xsl:with-param name="doc" select="wsdl:documentation"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
215 </xsl:call-template> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
216 <table> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
217 <tr> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
218 <td>Input</td> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
219 <td> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
220 <a href="#m-{wsdl:input/@name}"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
221 <xsl:value-of select="wsdl:input/@name"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
222 </a> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
223 </td> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
224 </tr> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
225 <tr> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
226 <td>Output</td> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
227 <td> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
228 <a href="#m-{wsdl:output/@name}"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
229 <xsl:value-of select="wsdl:output/@name"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
230 </a> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
231 </td> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
232 </tr> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
233 <xsl:for-each select="wsdl:fault"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
234 <tr> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
235 <td>Fault</td> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
236 <td> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
237 <xsl:variable name="typeName"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
238 <xsl:call-template name="getQname"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
239 <xsl:with-param name="elementName" select="@name"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
240 </xsl:call-template> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
241 </xsl:variable> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
242 <xsl:variable name="anchor"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
243 <xsl:call-template name="getAnchor"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
244 <xsl:with-param name="anchorText" select="$typeName"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
245 </xsl:call-template> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
246 </xsl:variable> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
247 <a href="#ty-{$anchor}"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
248 <xsl:value-of select="@name"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
249 </a> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
250 |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
251 </td> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
252 <td> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
253 <xsl:call-template name="getDoc"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
254 <xsl:with-param name="doc" select="wsdl:documentation"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
255 </xsl:call-template> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
256 |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
257 </td> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
258 </tr> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
259 </xsl:for-each> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
260 </table> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
261 |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
262 </xsl:template> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
263 |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
264 <xsl:template match="wsdl:message"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
265 <tr><td> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
266 <a name="m-{@name}" id="m-{@name}"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
267 |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
268 <xsl:value-of select="@name"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
269 </td><td> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
270 <xsl:variable name="typeName"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
271 <xsl:call-template name="getQname"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
272 <xsl:with-param name="elementName" select="wsdl:part/@element"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
273 </xsl:call-template> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
274 </xsl:variable> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
275 <xsl:variable name="anchor"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
276 <xsl:call-template name="getAnchor"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
277 <xsl:with-param name="anchorText" select="$typeName"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
278 </xsl:call-template> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
279 </xsl:variable> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
280 <a href="#e-{$anchor}"> <xsl:value-of select="$typeName"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
281 </a> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
282 </td></tr> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
283 |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
284 </xsl:template> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
285 |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
286 <xsl:template name="getAnchor"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
287 <xsl:param name="anchorText"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
288 <xsl:value-of select="translate(normalize-space($anchorText),':/.[]', '_____')"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
289 </xsl:template> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
290 |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
291 <xsl:template name="getQname"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
292 <xsl:param name="elementName"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
293 <xsl:choose> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
294 <xsl:when test="contains($elementName,':')"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
295 [<xsl:value-of select="/wsdl:definitions/namespace::*[name()=substring-before($elementName,':')]"/>]:<xsl:value-of select="substring-after($elementName,':')"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
296 </xsl:when> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
297 <xsl:otherwise> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
298 [<xsl:value-of select="$defaultNamespace"/>]:<xsl:value-of select="$elementName"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
299 </xsl:otherwise> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
300 </xsl:choose> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
301 </xsl:template> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
302 |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
303 |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
304 |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
305 |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
306 <xsl:template match="xsd:element" mode="summary"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
307 <xsl:variable name="typeName"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
308 <xsl:call-template name="getQname"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
309 <xsl:with-param name="elementName" select="@name"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
310 </xsl:call-template> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
311 </xsl:variable> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
312 <xsl:variable name="anchor"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
313 <xsl:call-template name="getAnchor"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
314 <xsl:with-param name="anchorText" select="$typeName"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
315 </xsl:call-template> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
316 </xsl:variable> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
317 <li><a href="#e-{$anchor}"><xsl:value-of select="@name"/></a></li> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
318 </xsl:template> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
319 |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
320 |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
321 <xsl:template match="xsd:element" mode="detail"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
322 |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
323 <xsl:variable name="typeName"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
324 <xsl:call-template name="getQname"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
325 <xsl:with-param name="elementName" select="@name"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
326 </xsl:call-template> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
327 </xsl:variable> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
328 <xsl:variable name="anchor"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
329 <xsl:call-template name="getAnchor"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
330 <xsl:with-param name="anchorText" select="$typeName"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
331 </xsl:call-template> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
332 </xsl:variable> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
333 |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
334 <a name="e-{$anchor}" id="e-{$anchor}"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
335 <h3> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
336 <xsl:value-of select="$typeName"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
337 </h3> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
338 <div class="xml"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
339 <xsl:call-template name="codeXml"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
340 </div> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
341 </xsl:template> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
342 |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
343 |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
344 |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
345 <xsl:template match="xsd:complexType | xsd:simpleType" mode="summary"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
346 <xsl:variable name="typeName"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
347 <xsl:call-template name="getQname"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
348 <xsl:with-param name="elementName" select="@name"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
349 </xsl:call-template> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
350 </xsl:variable> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
351 <xsl:variable name="anchor"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
352 <xsl:call-template name="getAnchor"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
353 <xsl:with-param name="anchorText" select="$typeName"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
354 </xsl:call-template> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
355 </xsl:variable> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
356 |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
357 <li><a href="#ty-{$anchor}"><xsl:value-of select="@name"/></a></li> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
358 </xsl:template> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
359 |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
360 |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
361 |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
362 <xsl:template match="xsd:complexType | xsd:simpleType" mode="detail"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
363 <xsl:variable name="typeName"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
364 <xsl:call-template name="getQname"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
365 <xsl:with-param name="elementName" select="@name"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
366 </xsl:call-template> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
367 </xsl:variable> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
368 <xsl:variable name="anchor"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
369 <xsl:call-template name="getAnchor"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
370 <xsl:with-param name="anchorText" select="$typeName"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
371 </xsl:call-template> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
372 </xsl:variable> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
373 |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
374 <a name="ty-{$anchor}" id="ty-{$anchor}"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
375 <h3> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
376 <xsl:value-of select="@name"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
377 </h3> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
378 <div class="xml"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
379 <xsl:call-template name="codeXml"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
380 </div> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
381 </xsl:template> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
382 |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
383 <xsl:template match="wsdl:service"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
384 <h2>Service Summary: Service: <xsl:value-of select="@name"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
385 </h2> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
386 <xsl:for-each select="wsdl:port"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
387 <p>Port name: <xsl:value-of select="@name"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
388 <br/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
389 Endpoint URL: <xsl:value-of select="*[local-name()='address']/@location"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
390 <br/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
391 Binding: <xsl:value-of select="@binding"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
392 </p> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
393 </xsl:for-each> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
394 </xsl:template> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
395 |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
396 <xsl:template match="wsdl:portType"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
397 Operations: |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
398 <table> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
399 <tr><th>Operation</th> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
400 <th>Description</th> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
401 </tr> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
402 <xsl:for-each select="wsdl:operation"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
403 <xsl:sort select="@name"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
404 <tr> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
405 <td> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
406 <a href="#o-{@name}"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
407 <xsl:value-of select="@name"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
408 </a> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
409 </td> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
410 <td> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
411 <xsl:call-template name="getShortDescription"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
412 <xsl:with-param name="desc" select="wsdl:documentation"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
413 </xsl:call-template> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
414 </td> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
415 </tr> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
416 </xsl:for-each> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
417 </table> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
418 </xsl:template> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
419 |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
420 <xsl:template name="getShortDescription"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
421 <xsl:param name="desc"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
422 <xsl:choose> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
423 <xsl:when test="contains($desc,'.')"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
424 <xsl:value-of select="substring-before($desc,'.')"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
425 </xsl:when> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
426 <xsl:otherwise> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
427 <xsl:value-of select="$desc"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
428 </xsl:otherwise> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
429 </xsl:choose>. |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
430 </xsl:template> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
431 |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
432 <xsl:template name="codeXml"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
433 <xsl:choose> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
434 <xsl:when test="name()='xsd:annotation'"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
435 <UL> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
436 <LI> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
437 <P> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
438 <xsl:call-template name="getDoc"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
439 <xsl:with-param name="doc" select="xsd:documentation"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
440 </xsl:call-template> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
441 </P> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
442 </LI> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
443 </UL> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
444 </xsl:when> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
445 <xsl:otherwise> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
446 <ul> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
447 <li><<span class="xmlElement"><xsl:value-of select="name()"/></span> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
448 <xsl:for-each select="@*"><xsl:text> </xsl:text> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
449 <span class="attrName"><xsl:value-of select="name()"/></span>="<span class="attrValue"><xsl:value-of select="."/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
450 </span>" |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
451 </xsl:for-each> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
452 <xsl:choose> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
453 <xsl:when test="count(*) = 0"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
454 <xsl:text>/></xsl:text> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
455 </xsl:when> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
456 <xsl:otherwise> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
457 > |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
458 <xsl:for-each select="*"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
459 <xsl:call-template name="codeXml"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
460 </xsl:for-each> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
461 </<span class="xmlElement"><xsl:value-of select="name()"/></span>> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
462 </xsl:otherwise> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
463 </xsl:choose> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
464 </li> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
465 </ul> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
466 </xsl:otherwise> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
467 </xsl:choose> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
468 </xsl:template> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
469 |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
470 <xsl:template name="getDoc"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
471 <xsl:param name="doc"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
472 <xsl:choose> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
473 <xsl:when test="$doc/*"> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
474 <xsl:copy-of select="$doc/*"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
475 </xsl:when> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
476 <xsl:otherwise> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
477 <xsl:value-of select="$doc/text()"/> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
478 </xsl:otherwise> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
479 </xsl:choose> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
480 </xsl:template> |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
481 |
09f9f3d5c507
CM-127: Move wsdlsetup and wsd2html.xsl from Tools
smith@nwoca.org
parents:
diff
changeset
|
482 </xsl:stylesheet> |