I am trying to transform this:
Code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="b.xsl"?>
<aa>
<bb>111</bb>
<bb>222</bb>
<bb>333</bb>
</aa>
Using this xsl:
Code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<xsl:for-each select="aa">
<xsl:value-of select="bb"/><br/>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>
and I am getting this output:
Whereas I was expecting:
Where am I going wrong ?