Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Help on XLS transformation ????

Thread Tools

Help on XLS transformation ????

Posts: n/a
Dear all,

I have a dataset object which is the source of a datagrid server control.
In my application I am using that dataset to generate an XML file.
The am using table mapping to defined my own column names which are
dependant on customer language.

Then from the generate XML file I apply to it an XML stylesheet in order to
format the data properly. The content of my style XLS file is has follow:

<?xml version="1.0" encoding="ISO-8859-1"?><xsl:stylesheet version="1.0"
xmlnssl=""><xsl:template match="/">
<h2>My machine Events</h2>
<table border="0">
<tr bgcolor="#9acd32">
<th align="left">Date</th>
<th align="left">Time</th>
<th align="left">Length</th>
<th align="left">Machine</th>
<th align="left">Severity</th>
<th align="left">Message</th>

<td><xsl:value-of select="Date"/></td>
<td><xsl:value-of select="Time"/></td>
<td><xsl:value-of select="Length"/></td>
<td><xsl:value-of select="Machine"/></td>
<td><xsl:value-of select="Severity"/></td>
<td><xsl:value-of select="Message"/></td>



Then I add to my XML file a reference to that sytle sheet.

As you can see in that file, fields name are in english like "Date", "Time",

How to handle the styls sheet content then when my customer language is
Spanish. How to extract the content of the field on which its name will comes
from a language ressources ??

thnaks for your help

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
no tags in my xml-to-xml transformation, help.... yannicklaclau XML 2 02-28-2005 03:44 PM
help-> xslt transformation to pdf (chinese characters changed to # characters) omegaman XML 1 09-21-2004 10:44 PM
XSL Transformation output -- no tags -- Help! Mike Conmackie XML 4 04-29-2004 04:06 PM
XSL transformation in an applet (HELP) coincoin Java 0 08-05-2003 09:09 AM
Need help on SQL-Server Network Data Transformation Muhammad Qasim MCSD 1 07-09-2003 08:40 AM