declare variable in when xsl 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>