[xsl] Joining sibling elements

Subject: [xsl] Joining sibling elements
From: Marcin Miłkowski <milek_pl@xxxxx>
Date: Wed, 10 Aug 2005 19:49:30 +0200

I'm wondering if it's practical to use XSLT in a following scenario: you
have an XML file which should be reformatted (formatted "tidy") to join
sibling elements, like:

<b>this</b><b> </b><b>is</b><b> </b><b>bold<text</b>

which should be transformed this:

<b>this is bold text</b>

Or, in a more complex example:

<a><b>this</b></a><a><b> </b></a><a><b>more</b></a><a><b>

So this is a transformation to keep the resulting file tidy, with less
tagging. I'm planning such a transformation for WordML files before
submitting them for translation where less tagging means higher
translation quality.

Thank you for all advice,
	Marcin Milkowski

Current Thread