471,337 Members | 1,193 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,337 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 1002

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Bettina | last post: by
reply views Thread by jeggertsen | last post: by
reply views Thread by Adrian | last post: by
7 posts views Thread by Lloyd Sheen | last post: by
6 posts views Thread by bfowlkes | last post: by
13 posts views Thread by Flomo Togba Kwele | last post: by
12 posts views Thread by John Brawley | last post: by
reply views Thread by rosydwin | last post: by

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.