1

Topic: To learn variables which are known by a template

Hello.
Is closed  in which there are some templates of sent letters. One of them works incorrectly. Variables are incorrectly transferred to it. To Contact the developer there is no possibility. To break too. We can change a template only.
Unfortunately, it is completely not familiar with XSL. By means of Google tried to receive the list of variables so:

<xsl:for-each select = "root">
<n> <xsl:value-of select = "."/> </n>
</xsl:for-each>

In the returned result there is necessary data, but I do not understand, how them therefrom  because one spliced line of such type is deduced simply:

07.08.2018%2011:18:08?????????%20?????????1b00000181b1db1cMSG_COMMISSION_IS_DONE??%20 (???????? %20???????????) 00900000181246d301100000180021912

Help to rewrite, please, a cycle to receive separate titles and values of variables if it is possible.
In addition still there is a problem with the coding.
In a template replaced on utf-8:

<? xml version = "1.0" encoding = "utf-8"?>
<xsl:stylesheet version = "1.0" xmlns:xsl = "http://www.w3.org/1999/XSL/Transform">
<xsl:output method = "html" encoding = "utf-8"/>

And in the received message all the same here so:

<html> <head>
<meta http-equiv = "Content-Type" content = "text/html; charset=koi8-r">

2

Re: To learn variables which are known by a template

The problem is solved by changeover of a template by the full copying of a source code

<xsl:stylesheet version = "1.0" xmlns:xsl = "http://www.w3.org/1999/XSL/Transform">
<xsl:template match = "node () | *">
<xsl:copy>
<xsl:apply-templates select = "node () | *"/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>