on 2014 May 08 10:44 PM
Hi Experts...
I wanna know if exists a transformation to put the result of
one SQL Call into a HTML Table....
I have the next code:
<xsl:template name="transform">
<xsl:attribute name="pltype">htm</xsl:attribute>
<FileOut xmlns="" type="file">
<html>
<body>
<table border="1">
<tr bgcolor="#9acd32">
<th style="text-align:left">ID LLAMADA</th>
<th style="text-align:left">Fecha de Creación</th>
<th style="text-align:left">Fecha de Resolución</th>
</tr>
<xsl:for-each select="/vpf:Msg/vpf:Body/vpf:Payload[./@id='atom1']/jdbc:ResultSet/jdbc:Row">
<tr>
<td><xsl:value-of select="./jdbc:callID"/></td>
<td><xsl:value-of select="./jdbc:createDate"/></td>
<td><xsl:value-of select="./jdbc:closeDate"/></td>
</tr>
</xsl:for-each>
</table>
</body>
</html>
</FileOut>
</xsl:template>
But the transformation does not work:
Thanks...
Best regards
Enrique.
Request clarification before answering.
Hi Experts....finally can solve my problem...
I Called the scenario with javascript and xmlhttprequest...I used
the xslt tranformation atom to generate my datatable.
Best regards.
Thanks.
Enrique
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
105 | |
39 | |
6 | |
5 | |
4 | |
3 | |
3 | |
2 | |
2 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.