473,381 Members | 1,443 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,381 software developers and data experts.

XML text reformatting

I have some XML extended language that generates output.
Everything works ok.
I have created additional xsl templates for reformatting strings,
mathematical calculations and reformatting numbers.
It also works ok.
Finally, I'm missing one step.
I need to put all these results as values closed in quotes, everything
in one line.

Example input is:

"<customercode>12.23-20</customercode>"
,"<money>0.00</money>"
,"<spaces>Company name </spaces>"
XSL changes these to:

1223-20
0,00
Company name
And I need final result:
"1223-20","0,00","Company name"


I tried with one node that has all other nodes inside and do
apply-templates for all of them, but I get multiple lines.
Or the other way I get single line without quotes.
Any advice?

D.
Jul 25 '05 #1
0 1070

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

21
by: Dave | last post by:
After following Microsofts admonition to reformat my system before doing a final compilation of my app I got many warnings/errors upon compiling an rtf file created in word. I used the Help...
2
by: Bettina | last post by:
How can I do to format the text shown in alt="..." Is it possible to define the size of the field?, colour of background, font, etc? Thank you Bettina
0
by: jeggertsen | last post by:
I noticed a reformatting text problem with IE5 on a mac. This is the only place I've seen this happen. Safari on mac is fine, as is every browser I tested (IE6,Firefox,NN) on windows. When a...
0
by: Adrian | last post by:
The print routines that the help-option offers do not have text wrapping. Is there a way to introduce this? Otherwise when you print a multiline textbox, you have to chop up the textBox.Text into...
7
by: Lloyd Sheen | last post by:
I know I have seen a way to stop the terrible reformatting that VS 2003 IDE does. Beyond that is MS going to do a better (could not do a worse) job of auto formatting. Every change I make to...
8
by: John Brock | last post by:
I am creating an Excel workbook using VB.NET, and have run into a problem. Excel at times insists on reformatting data that I enter into cells, e.g., converting "01234" to "1234", and this screws...
6
by: bfowlkes | last post by:
Hello, I am trying to parse two pre-formatted text files and write them to a different files formatted in a different way. The story about this is I was hired along with about 20 other people...
13
by: Flomo Togba Kwele | last post by:
For some reason, using Ctrl-leftarrow or Ctrl-rightarrow does not move the cursor in VS2005. Opening the same VB file in Notepad, this function works by skipping (or reverse skipping) to the next...
12
by: John Brawley | last post by:
Is this going to cause me a portability problem? Purpose: make it easy for me to write my 'help' text block in the .cpp file, just as I wish it to be output 'formatted-ly' to the user upon demand...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.