Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: Newbie concating strings with for-each element >Thread Next - Re: Newbie concating strings with for-each element Re: Newbie concating strings with for-each elementTo: NULL Date: 2/1/2006 12:11:00 AM Thank a lot Anthony, this works great !
But to be honest don`t really understand why ...
I would assume that the improved code would set the node <LOOP>`s
attribute value
to the value of the current elements <char> value, what would result in
the end in what I got with my code. Why does it append the values ?
My "translation" to Java - code, of what I expected your code would do:
char [ ] loop_content = { 'A', 'B', 'C' };
string result = "";
for( int i = 0; i < loop_content.length; i++)
{
result = (string)loop_content[ i ];
}
Thanks again,
Boris
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
