xml/config.xsl
branchv_0
changeset 198 03d8492e2ca8
parent 119 f3e2b95a5f8a
child 249 7655df0622ee
equal deleted inserted replaced
197:7a2f535017e4 198:03d8492e2ca8
   101 					}
   101 					}
   102 					
   102 					
   103 					li {
   103 					li {
   104 						padding: 0px;
   104 						padding: 0px;
   105 					}
   105 					}
       
   106 					
       
   107 					.notes {
       
   108 						font-size: 66%;
       
   109 					}
       
   110 					.notes p {
       
   111 						margin-bottom: 0px;
       
   112 					}
   106 				</style>
   113 				</style>
   107 			</head>
   114 			</head>
   108 			<body>
   115 			<body>
   109 				<h1><xsl:value-of select="$header"/></h1>
   116 				<h1><xsl:value-of select="$header"/></h1>
   110 				
   117 				
   124 							<thead>
   131 							<thead>
   125 								<tr>
   132 								<tr>
   126 									<td>name</td>
   133 									<td>name</td>
   127 									<td>username</td>
   134 									<td>username</td>
   128 									<td>url</td>
   135 									<td>url</td>
       
   136 									<td>JDBC driver</td>
   129 									<td>properties</td>
   137 									<td>properties</td>
   130 								</tr>
   138 								</tr>
   131 							</thead>
   139 							</thead>
   132 							<tbody>
   140 							<tbody>
   133 								<xsl:for-each select="c:configuration/c:database">
   141 								<xsl:for-each select="c:configuration/c:database">
   134 									<tr>
   142 									<tr>
   135 									<td><xsl:value-of select="c:name"/></td>
   143 									<td><xsl:value-of select="c:name"/></td>
   136 									<td><xsl:value-of select="c:userName"/></td>
   144 									<td><xsl:value-of select="c:userName"/></td>
   137 									<td><xsl:value-of select="c:url"/></td>
   145 									<td><xsl:value-of select="c:url"/></td>
       
   146 									<td><xsl:value-of select="c:driver"/></td>
   138 									<td><ul><xsl:apply-templates select="c:property"/></ul></td>
   147 									<td><ul><xsl:apply-templates select="c:property"/></ul></td>
   139 								</tr>
   148 								</tr>
   140 								</xsl:for-each>
   149 								</xsl:for-each>
   141 							</tbody>
   150 							</tbody>
   142 						</table>
   151 						</table>
   143 					</xsl:when>
   152 					</xsl:when>
   144 					<xsl:otherwise><p>no databases are configured</p></xsl:otherwise>
   153 					<xsl:otherwise><p>no databases are configured</p></xsl:otherwise>
   145 				</xsl:choose>
   154 				</xsl:choose>
   146 				
   155 				
   147 				<p>(passwords are hidden in this output)</p>
   156 				<div class="notes">
       
   157 					<p>Notes:</p>
       
   158 					<ul>
       
   159 						<li>passwords are hidden in this output</li>
       
   160 						<li>JDBC drivers are not mandatory – not needed in SQL-DK, but sometimes useful when <code>jdbc-dk-driver</code> is used in other applications to load SQL-DK's database connections</li>
       
   161 					</ul>
       
   162 				</div>
   148 				
   163 				
   149 				
   164 				
   150 				<h2>Output formatters</h2>
   165 				<h2>Output formatters</h2>
   151 				
   166 				
   152 				<p>
   167 				<p>