Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I am transforming a dataset to excel by converting the dataset xml to html (using xslt) and then opening the html file using the Excel objects and saving th file. The problem I am having is that data fromthe dataset that contains multiple spaces (whitespace) in the text is getting truncated to a single space in the excel file. I looked at the intermediate html file and the space exists the <TD border="1" valign="top" xml:space="preserve" <font size="1" Respondent 1 </font Bur when I open the excel file it reduces the multiple spaces to a single space between the word Respondent and 1. I need to preserve the wihtespace in the excel file. Any help would be appreciated. Thanks. nk |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
n,
HTML does not preserve runs of spaces - they will be compressed to a single space even if they appear in the source. Try replacing your spaces with " " Tim. "-nk-" wrote in message ... Hi, I am transforming a dataset to excel by converting the dataset xml to html (using xslt) and then opening the html file using the Excel objects and saving th file. The problem I am having is that data fromthe dataset that contains multiple spaces (whitespace) in the text is getting truncated to a single space in the excel file. I looked at the intermediate html file and the space exists the <TD border="1" valign="top" xml:space="preserve" <font size="1" Respondent 1 </font Bur when I open the excel file it reduces the multiple spaces to a single space between the word Respondent and 1. I need to preserve the wihtespace in the excel file. Any help would be appreciated. Thanks. nk |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how do I convert a non exel tabulation to exel | New Users to Excel | |||
Population Chart with 1 dataset | Excel Discussion (Misc queries) | |||
Office XP Exel - files sharing issue/question | Excel Discussion (Misc queries) | |||
creating a new dataset | Excel Programming | |||
two dataset comparison | Excel Programming |