i've this xml code:
<title xml:lang="ar">أربيك</title>
<title xml:lang="en">English</title>
which i'm formatting in xsl:
<div class="title">
<xsl:value-of select="root/title"/>
</div>
however, this^ only displays the arabic title, and not the english one. i tried this code:
<div class="title">
<xsl:attribute name="xml:lang"><xsl:value-of select="root/title"/> </xsl:attribute>
</div>
but with this^ code, it doesn't display the titles at all. what is the correct way to display both the english and the arabic titles?