My XML looks like this.
<PlayBack>
<![CDATA[<Info Event="WindowActivate" ControlName="" ControlType="" ControlRectSC="" ControlRectCL="" ParentName="" ParentType="" ControlData="" ControlMouseCL="" DialogName="" ExeName="" MouseButton="" />]]>
</PlayBack>
I want to fetch the Info tag attributes values and store them in some variables.
result expected
<xsl:variable name="Event">
"WindowActivate" //here i need this value
</xsl:variable>
In the example you've given, there is no Info tag - just a string of text which just happens to look to human eyes as if it contained an info tag. That's what CData is - a way of storing text without interpreting it as tags.
If you want to use it, you need to do 2 passes. The first extracts the data and writes it out to an intermediate file using xsl:value-of (not copy-of - you need to get rid of the CDATA tag). The second reads in the result and can then use the tags.