xsl-list
[Top] [All Lists]

Re: [xsl] How to avoid line break when using for-each

2007-08-31 05:53:00
--On Thursday, August 30, 2007 10:14:09 AM -0700 Yang Wang wrote:

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>

That code does not use a variable, it refers to a child element of the context node.

Are you absolutely certain that the original code contains ";</xsl:for-each>" and not
";
</xsl:for-each>"

--
Owen Rees
========================================================
Hewlett-Packard Limited.   Registered No: 690597 England
Registered Office:  Cain Road, Bracknell, Berks RG12 1HN

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>