We can ouput normal text as <xsl:value-of select="xpath-expression" />. If we want to ouput as attribute, we should use {xpath-expression}. For example


        <pre data-sub="prettyprint:_">
        <div id="{@Sex}">
        <xsl:value-of select="."/>,
        </div>
        </pre>