Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Xsl transformation to Excel
Message
 
To
01/05/2006 18:36:28
General information
Forum:
ASP.NET
Category:
XML
Miscellaneous
Thread ID:
01118212
Message ID:
01118229
Views:
12
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform