[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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

Subject: Re: How to avoid line break when using for-each
From: Owen Rees <owen.rees@xxxxxx>
Date: Fri, 31 Aug 2007 13:52:52 +0100
Re:  How to avoid line break when using for-each
--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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.