Scusami ma non riesco a costruire la template.
Il file.xml è:
<?xml version="1.0" standalone="yes" ?>
- <StoricoAllarmiDataSet>
- <vw_StoricoAllarmi>
<Descrizione>TLC54 - Vico Schiaffino Scale garage</Descrizione>
<DataInizio>2007-01-16T04:17:33.03+01:00</DataInizio>
<Priorita>1</Priorita>
<Zona>elsag</Zona>
<FalsoAllarme>false</FalsoAllarme>
<DataFine>2007-01-16T04:17:36.077+01:00</DataFine>
<AllarmeScaduto>true</AllarmeScaduto>
<IDStoricoAllarme>7888</IDStoricoAllarme>
</vw_StoricoAllarmi>
........
.........
Mentre il file.xsl è:
<html xsl:version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
lang="en">
<head>
<title>Sales Results By Division</title>
</head>
<body>
<h2 align="center">REPORT StoricoAllarme</h2>
<center>
<table border="5">
<tr>
<th>IDStoricoAllarme</th>
<th>Descrizione</th>
<th>DataInizio</th>
<th>DataFine</th>
<th>Zona</th>
<th>DataGestione</th>
<th>FalsoAllarme</th>
<th>Rapporto</th>
<th>AllarmeScaduto</th>
<th>Username</th>
</tr>
<xsl:for-each select="StoricoAllarmiDataSet">
<xsl:for-each select="vw_StoricoAllarmi">
<tr>
<td>
<xsl:value-of select="IDStoricoAllarme"/>
</td>
<td>
<xsl:value-of select="Descrizione"/>
</td>
<td>
<xsl:value-of select="DataInizio"/>
</td>
<td>
<xsl:value-of select="DataFine"/>
</td>
<td>
<xsl:value-of select="Zona"/>
</td>
<td>
<xsl:value-of select="DataGestione"/>
</td>
<td>
<xsl:value-of select="FalsoAllarme"/>
</td>
<td>
<xsl:value-of select="Rapporto"/>
</td>
<td>
<xsl:value-of select="AllarmeScaduto"/>
</td>
<td>
<xsl:value-of select="Username"/>
</td>
</tr>
</xsl:for-each>
</xsl:for-each>
</table>
</center>
</body>
</html>
Problema, come posso visializzare la data 2007-01-16T04:17:33.03+01:00 in 2007-01-16T04:17:33 cioè senza .03+01:00?
Lei mi ha consigliato la template, però sto trovando problemi, non so come si deve procedere. Mi chiedevo se per favore mi può far vedere un esempio.
La ringrazio anticipatamente. Buonagiornata