Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Xsl transformation to Excel
Message
 
À
01/05/2006 18:36:28
Information générale
Forum:
ASP.NET
Catégorie:
XML
Divers
Thread ID:
01118212
Message ID:
01118229
Vues:
10
Hi Michel,

I made some modifications on your original Xsl (took the ss namespace out) that ended up messing your template. Sorry about that!

Here is the same piece of code adapted to your original scenario:
<xsl:when test="string(number(.))!='NaN'">
	<Data ss:Type="Number">
		<xsl:value-of select="."/>
	</Data>
</xsl:when>
<xsl:otherwise>
	<Data ss:Type="String">
		<xsl:if test="(.) != 'NULL'">
			<xsl:value-of select="."/>
		</xsl:if>
	</Data>
</xsl:otherwise>
Please let me know if it works.
-----
Fabio Vazquez
http://www.fabiovazquez.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform