Hi,
here is the stylesheet:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output encoding="iso-8859-1" method="text" indent="no"/>
<xsl:strip-space elements="*"/>
<xsl:template match="/">
<xsl:apply-templates select="//TEST"/>
</xsl:template>
<xsl:template match="TEST" xml:space="default">
<xsl:value-of select="concat(TAG01, TAG02, TAG03, TAG04)"/>
<xsl:text>
</xsl:text>
<xsl:for-each select="TAG_OO/item">
<xsl:value-of select="concat(TAG_1A, TAG_2A, TAG_3A, ' ', TAG_4A, TAG_5A, TAG_6A, TAG_7A)"/>
<xsl:text>
</xsl:text>
</xsl:for-each>
<xsl:value-of select="concat(TAG05, TAG06, TAG07, TAG08, TAG09)"/>
</xsl:template>
</xsl:stylesheet>
It's very important to have nothing but newline character(or linefeed) as the content of "xsl:text" in the stylesheet: I mean after pasting the code you have to be sure that "xsl:text" contains only newline character(or linefeed).
Try the code for UNIX: I hope it will work for UNIX, too.
Regards,
Armen