Hello,
    How can I get value of an element, for example,
     <xsl:element name="Time">
           <xsl:value-of select="substring(string(current-time()), 1, 5)"/>
     </xsl:element>

     or value of variable, for example:
    <xsl:variable name="elt-name" select="current-time()"/>

when I try to debug xslt transformation in Java by attaching TraceListener to the net.sf.saxon.Controller ?

Best regards,
Roman Ivanov.