I have to do the following task
Set the four most significant bits of the a word(2bytes) to 0100'B, so the high nibble is "4". I am doing this by
<xsl:value-of select="concat('4',substring($word,2,3))"/>
Set the two most significant bits of a word (2 bytes)(which is in string) to 10b so the high nibble will be one of "8", "9", "A", or "B" in XSLT.
How do I do this in xslt 1.0?