cool, thanks. one other question...now I have...
Code:
<xsl:template match="*[starts-with(name(), 'SEG'))]">
<xsl:value-of select="name"/>*<xsl:apply-templates select="*[starts-with(name(), 'ELE')]"/>
</xsl:template>
<xsl:template match="*[starts-with(name(), 'ELE')]">
<xsl:value-of select="."/>*
</xsl:template>
I want the final document to be a flat-file (EDI) looking like this:
BPR*<ELE data here>*<next ELE data here>*<carraige return>
N1*<ELE data here>*<next ELE data here>*<carraige return>
my question is how do I put in carriage returns in the result document...I know there's some XSLT function or something, but if you know what it is off the top of your head it could save me some digging...thanks,
-L