define string as a variable in xml code example
Example: xsl variable
<xsl:variable name=""> <book title="my static name" /> <book> <xsl:attribute name="title"><xsl:value-of select="/*/category/@name" /></xsl:attribute> </book></xsl:variable>