[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] How to avoid line break when using for-each
I need help on this. In my java code, I have a variable which is an ArrayList and the elements inside are strings. For example, aList has a type of ArrayList and it has elements "a", "b","c", "d" ..... (the length of the aList is variable). In my xslt I have the following code: <xsl:for-each select="a:aList "><xsl:value-of select="."/>;</xsl:for-each> the output is a; b; c; d; .... But my expected output should be like a;b;c;d;...; all the elements need to be on the same line. Does anybody have any idea how to do it? Thank you very much!
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|