XML document:
<?xml version="1.0" encoding="UTF-8"?>
<ProcessData>
<SOAPAction>urn:echo</SOAPAction>
<Content_Type>text/xml;charset=UTF-8</Content_Type>
<uname>sarah_brcm</uname>
<pwd>BRCM_UVLwNhjrA5fbgqkUNdxQXMfcCDJ</pwd>
</ProcessData>
XSLT:
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" indent="yes"/>
<xsl:template match="/">
<xsl:copy-of select="ProcessData/SOAPAction/text()"/>
<br/>
<xsl:copy-of select="ProcessData/Content_Type/text()"/>
</xsl:template>
</xsl:stylesheet>
But the Output does not contain break line between first two lines.
I’ve checked your code on xslttest.appspot.com and it works. How do you run the transformation? In browser? libxslt? …saxon? Also you probably need “html” output method, not “xml”