Get host xlate name in included xlate

Homepage Clovertech Forums Cloverleaf Get host xlate name in included xlate

  • Creator
    Topic
  • #121628
    Jim Kosloskey
    Participant

    CL 2209 Windows.

    It is useful to be able to get the name of the Xlate in which Tcl code is executed. Does anyone know how to get the host Xlate name from within an INCLUDEd Xlate?

    Example Host Xlate ‘123.xlt has an INCLUDE for abc.xlt. I can log the Xlate name inside the host Xlate (123.xlt) and the INCLUDE Xlate name (abc.xlt) from within the INCLUDEd Xlate. What I would like to do is to be able to log from the INCLUDEd Xlate the name of the Host that INCLUDEd the INCLUDEd Xlate.

    I do not see a global variable for that – anyone know if that is possible?

    email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.

  • You must be logged in to reply to this topic.

Forum Statistics

Registered Users
5,129
Forums
28
Topics
9,301
Replies
34,447
Topic Tags
288
Empty Topic Tags
10