xsl-list
[Top] [All Lists]

Joining sibling elements

2005-08-10 10:49:30
Hi,

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>
</b></a><a><b>text</b></a>

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


--~------------------------------------------------------------------
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>