Re: Merging lines of 3 words or less
On 9/8/05, David Carlisle <davidc@xxxxxxxxx> wrote: > > point that you joined the lines back so I did > > <xsl:for-each select="current-group()"> > <xsl:copy-of select="(node(),' ')"/> > </xsl:for-each> Actually I have a problem here. The grouping seems to have ignored that there are occasionally other elements which fall inside <lg> which it should just copy over. (like <pb n="123"/> type elements *sigh*). If it turns out that this is the only element (I'll check) should I add "| pb" to the copy-of? Of course, I only noticed that *after* I did the 20 (well 23 it turned out) manual changes. I suppose another option is to merge the <pb> from one file into the other based on the lg/@n ... -James -- James Cummings, Cummings dot James at GMail dot com
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