[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XSL/FOP:Implementing a counter within a recursive
Hi Rachael, I don't know where the extra line feed is coming from, but it sounds as if it's from the source XML? If so, then you should try using normalize-space() to prevent it: <xsl:value-of select="normalize-space(header)" /> <xsl:value-of select="normalize-space(comment)" /> You might want to add a space between them: <xsl:value-of select="normalize-space(header)" /> <xsl:text> </xsl:text> <xsl:value-of select="normalize-space(comment)" /> I might be missing something as I'm not sure why you think a recursive template with a counter would help, so if the above doesn't do what you need it to, try sending some XML with some data in it (the input that's giving you the problem), the stylesheet you're using, the result that you're getting (the output that you don't want) and the result that you want (the output that you do want) and we should be able to come up with something. Cheers, Jeni --- Jeni Tennison http://www.jenitennison.com/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|