{"id":299140,"date":"2020-02-23T21:00:15","date_gmt":"2020-02-23T21:00:15","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=299140"},"modified":"-0001-11-30T00:00:00","modified_gmt":"2020-02-23T21:00:15","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=299140","title":{"rendered":"\u041c\u0435\u0436\u043f\u043b\u0430\u043d\u0435\u0442\u043d\u0430\u044f \u0444\u0430\u0439\u043b\u043e\u0432\u0430\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u2014 \u041f\u0440\u043e\u0441\u0442\u043e\u0439 \u0431\u043b\u043e\u0433 \u0432 IPFS \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 XSLT"},"content":{"rendered":"\n<div class=\"post__text post__text-html\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/489638\/\">\n<p>\u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430: \u0423 \u0441\u0430\u0439\u0442\u0430 \u0432 IPFS \u043d\u0435\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u044b\u0435 \u0441\u043a\u0440\u0438\u043f\u0442\u044b \u0434\u043b\u044f \u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b. \u0415\u0441\u043b\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044e \u0441\u0442\u0440\u0430\u043d\u0438\u0446 \u043f\u0435\u0440\u0435\u0434 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u043e\u0439 \u0442\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0432 \u043d\u043e\u0432\u044b\u0439 \u043f\u0443\u043d\u043a\u0442 \u043c\u0435\u043d\u044e \u0432 \u043a\u0430\u0436\u0434\u0443\u044e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u043c\u044b \u0438\u0437\u043c\u0435\u043d\u0438\u043c \u0445\u0435\u0448 \u044d\u0442\u0438\u0445 \u0441\u0442\u0440\u0430\u043d\u0438\u0446. \u0422\u0430\u043a \u0447\u0442\u043e \u0432\u0441\u044e \u0441\u0431\u043e\u0440\u043a\u0443 \u0441\u0442\u0440\u0430\u043d\u0438\u0446 \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u044c \u0441\u0438\u043b\u0430\u043c\u0438 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430.<\/p>\n<p>  <\/p>\n<p>\u041e\u0431\u044b\u0447\u043d\u043e \u0444\u043e\u0440\u043c\u0438\u0440\u0443\u044e\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435 \u0441\u0442\u0440\u0430\u043d\u0438\u0446 \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 JavaScript. \u042d\u0442\u043e \u0437\u043d\u0430\u043a\u043e\u043c\u0430\u044f \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u044f \u043d\u043e \u0443 \u043d\u0435\u0451 \u0435\u0441\u0442\u044c \u0441\u0432\u043e\u0438 \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043a\u0438.<\/p>\n<p>  <\/p>\n<p>\u042f \u0431\u0443\u0434\u0443 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c XSLT. \u042d\u0442\u043e \u0434\u0440\u0435\u0432\u043d\u044f\u044f \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u044f \u0448\u0430\u0431\u043b\u043e\u043d\u043e\u0432 \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0434\u0430\u0432\u043d\u043e \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u0430 \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u044b \u043d\u043e \u043c\u0430\u043b\u043e \u043a\u0442\u043e \u0435\u0439 \u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f. \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0448\u0430\u0431\u043b\u043e\u043d\u044b \u0437\u0430\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442 \u043f\u0438\u0441\u0430\u0442\u044c \u043c\u043d\u043e\u0433\u043e \u0442\u0435\u043a\u0441\u0442\u0430 \u0438 \u0438\u0437 \u0437\u0430 \u043f\u0443\u0442\u0430\u043d\u0438\u0446\u044b \u0441 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0430\u043c\u0438 \u0438\u043c\u0451\u043d \u0438 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u0430 \u043e\u0448\u0438\u0431\u043e\u043a \u0431\u0435\u0437 \u0432\u043d\u044f\u0442\u043d\u043e\u0433\u043e \u043e\u0431\u044a\u044f\u0441\u043d\u0435\u043d\u0438\u044f. \u0422\u0430\u043a\u0436\u0435 \u043d\u0435 \u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u0442\u043e \u0447\u0442\u043e \u0435\u0441\u0442\u044c \u0443\u0436\u0435 XSLT 3.0 \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430\u0445 \u043f\u043e \u043f\u0440\u0435\u0436\u043d\u0435\u043c\u0443 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u0442\u043e\u043b\u044c\u043a\u043e XSLT 1.0.<\/p>\n<p>  <\/p>\n<p>XSLT \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0442\u0430\u043a:<\/p>\n<p>  <\/p>\n<ol>\n<li>\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u0442 \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 XML \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442.<\/li>\n<li>\u0412 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0435 XML \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 XSLT \u0448\u0430\u0431\u043b\u043e\u043d.<br \/> \n<pre><code class=\"xml\">&lt;?xml-stylesheet href=&quot;xslt\/\u0437\u0430\u043f\u0438\u0441\u044c.xslt&quot; type=&quot;text\/xsl&quot; ?&gt;<\/code><\/pre>\n<\/li>\n<li>\u0428\u0430\u0431\u043b\u043e\u043d \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 XML \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430 \u0438 \u0434\u0440\u0443\u0433\u0438\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0444\u043e\u0440\u043c\u0438\u0440\u0443\u0435\u0442 xHTML \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442.<\/li>\n<li>\u0411\u0440\u0430\u0443\u0437\u0435\u0440 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0439 xHTML \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442.<\/li>\n<\/ol>\n<p>  <\/p>\n<p>\u041f\u0440\u0438\u0432\u044f\u0437\u0430\u0432 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u0441\u0442\u0440\u0430\u043d\u0438\u0446 \u043a \u043e\u0434\u043d\u043e\u043c\u0443 \u0448\u0430\u0431\u043b\u043e\u043d\u0443 \u043c\u043e\u0436\u043d\u043e \u043c\u0435\u043d\u044f\u0442\u044c \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u043c\u044b\u0439 xHTML \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442 \u043d\u0435 \u043c\u0435\u043d\u044f\u044f XML \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u044b. \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u043f\u0440\u0438 \u0441\u043c\u0435\u043d\u0435 \u0434\u0438\u0437\u0430\u0439\u043d\u0430 \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u043c\u0435\u043d\u044f\u0442\u044c\u0441\u044f \u0445\u0435\u0448 XML \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u043e\u0432 \u0430 \u0437\u043d\u0430\u0447\u0438\u0442 \u0441\u0442\u0430\u0440\u044b\u0435 \u0438\u0445 \u043a\u043e\u043f\u0438\u0438 \u0431\u0443\u0434\u0443\u0442 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0430\u043c\u0438 \u0434\u043b\u044f \u043d\u043e\u0432\u044b\u0445 \u0432 IPFS.<\/p>\n<p>  <\/p>\n<p>\u0414\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u043e\u0432\u0438\u043a\u043e\u0432 \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043f\u043e\u0441\u043e\u0431\u0435 \u0442\u043e\u0436\u0435 \u0435\u0441\u0442\u044c \u043f\u043b\u044e\u0441\u044b. \u041e\u043d\u0438 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u043e\u0439 XML \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430 \u043f\u043e\u043b\u0443\u0447\u0430\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u0439 \u043a\u043e\u043d\u0442\u0435\u043d\u0442 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u0431\u0435\u0437 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u0438 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0445 \u0431\u043b\u043e\u043a\u043e\u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u0432\u0442\u043e\u0440\u044f\u044e\u0442\u0441\u044f \u043d\u0430 \u043a\u0430\u0436\u0434\u043e\u0439 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435.<\/p>\n<p>  <\/p>\n<p><a href=\"https:\/\/habr.com\/ru\/post\/489638\/\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/fd3\/316\/1e3\/fd33161e38ad164adb32a3e384cd2f5d.svg\" alt=\"image\"><\/a><\/p>\n<p><a name=\"habracut\"><\/a>  <\/p>\n<p>\u0412 XML \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043b\u044e\u0431\u044b\u0435 \u0442\u0435\u0433\u0438. \u0413\u043b\u0430\u0432\u043d\u043e\u0435 \u043d\u0435 \u043d\u0430\u0440\u0443\u0448\u0430\u0442\u044c \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441 XML \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0441\u0442\u0440\u043e\u0436\u0435 \u0447\u0435\u043c \u0432 HTML:<\/p>\n<p>  <\/p>\n<ol>\n<li>\u0412\u0441\u0435 \u0442\u0435\u0433\u0438 \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c \u0437\u0430\u043a\u0440\u044b\u0442\u044b.<br \/>  \u041d\u043e \u0435\u0441\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u0430\u043c\u043e\u0437\u0430\u043a\u0440\u044b\u0442\u044b\u0435 \u0442\u0435\u0433\u0438 <code>&lt;br \/&gt;<\/code>.<\/li>\n<li>\u041d\u0430 \u0432\u0435\u0440\u0445\u043d\u0435\u043c \u0443\u0440\u043e\u0432\u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0434\u0438\u043d \u0442\u0435\u0433. \u041e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u0442\u0435\u0433\u0438 \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c \u0437\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u044b \u0432 \u043d\u0435\u0433\u043e.<br \/> \n<pre><code class=\"xml\">&lt;\u043a\u043e\u0440\u0435\u043d\u044c&gt;     &lt;\u043f\u043e\u0442\u043e\u043c\u043e\u043a \/&gt;     &lt;\u0435\u0449\u0451-\u043e\u0434\u0438\u043d \/&gt;     &lt;\u0438-\u0435\u0449\u0451-\u043e\u0434\u0438\u043d \/&gt; &lt;\/\u043a\u043e\u0440\u0435\u043d\u044c&gt;<\/code><\/pre>\n<\/li>\n<li>\u0422\u0435\u043a\u0441\u0442 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0432\u043d\u0443\u0442\u0440\u0438 \u0442\u0435\u0433\u043e\u0432.<br \/> \n<pre><code class=\"xml\">&lt;\u043a\u043e\u0440\u0435\u043d\u044c&gt;     \u0417\u0434\u0435\u0441\u044c \u0442\u0435\u043a\u0441\u0442 &lt;\/\u043a\u043e\u0440\u0435\u043d\u044c&gt;<\/code><\/pre>\n<\/li>\n<\/ol>\n<p>  <\/p>\n<h2 id=\"novaya-zapisxml\">\u043d\u043e\u0432\u0430\u044f \u0437\u0430\u043f\u0438\u0441\u044c.xml<\/h2>\n<p>  <\/p>\n<p>\u041d\u0430\u0448\u0430 \u0437\u0430\u0434\u0430\u0447\u0430 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0438 \u043f\u043e\u043d\u044f\u0442\u043d\u044b\u0439 \u0434\u043b\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0431\u043b\u043e\u0433 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043e\u043d \u0441\u043c\u043e\u0436\u0435\u0442 \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u043e\u043f\u043e\u043b\u043d\u044f\u0442\u044c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043f\u0440\u043e\u0441\u0442\u043e\u0433\u043e \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u043e\u0433\u043e \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u0430.<\/p>\n<p>  <\/p>\n<p>XML \u0448\u0430\u0431\u043b\u043e\u043d \u0431\u043b\u043e\u0433\u043e-\u0437\u0430\u043f\u0438\u0441\u0438 \u0434\u043b\u044f \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u043c:<br \/>  <strong>\u0424\u0430\u0439\u043b:<\/strong> &#8216;\u043d\u043e\u0432\u0430\u044f \u0437\u0430\u043f\u0438\u0441\u044c.xml&#8217;<\/p>\n<p>  <\/p>\n<pre><code class=\"xml\">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt; &lt;?xml-stylesheet href=&quot;xslt\/\u0437\u0430\u043f\u0438\u0441\u044c.xslt&quot; type=&quot;text\/xsl&quot; ?&gt; &lt;\u0437\u0430\u043f\u0438\u0441\u044c&gt;     &lt;\u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a&gt;&lt;\/\u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a&gt;     &lt;\u0442\u0435\u043a\u0441\u0442&gt;         &lt;\u0441\u0440\u0435\u0437&gt;&lt;\/\u0441\u0440\u0435\u0437&gt;     &lt;\/\u0442\u0435\u043a\u0441\u0442&gt; &lt;\/\u0437\u0430\u043f\u0438\u0441\u044c&gt; &lt;!-- \u0417\u0434\u0435\u0441\u044c \u043c\u043e\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0441\u043f\u0440\u0430\u0432\u043a\u0443 \u043a\u0430\u043a \u044d\u0442\u0438\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f --&gt;<\/code><\/pre>\n<p>  <\/p>\n<p>\u041f\u043e \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044e \u0442\u0435\u0433\u043e\u0432 \u0443\u0436\u0435 \u043f\u043e\u043d\u044f\u0442\u043d\u043e \u0447\u0442\u043e \u0433\u0434\u0435 \u043f\u0438\u0441\u0430\u0442\u044c \u043d\u0435 \u0437\u043d\u0430\u044f \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u043e\u0433\u043e. \u0412\u043e\u043f\u0440\u043e\u0441 \u043c\u043e\u0436\u0435\u0442 \u0432\u044b\u0437\u0432\u0430\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u0435\u0433 <code>\u0441\u0440\u0435\u0437<\/code>. \u0415\u0433\u043e \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u0441\u044f \u0432 meta \u0442\u0435\u0433 description. \u0410 \u0432 \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u043c \u043c\u043e\u0436\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0434\u043b\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0432 \u043b\u0435\u043d\u0442\u0435.<\/p>\n<p>  <\/p>\n<p>\u0412 \u0442\u0435\u043a\u0441\u0442\u0435 \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c xHTML \u0442\u0435\u0433\u0438(\u0442\u0435 \u0436\u0435 HTML \u0442\u0435\u0433\u0438) \u0434\u043b\u044f \u0441\u0442\u0438\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0442\u0435\u043a\u0441\u0442\u0430.<\/p>\n<p>  <\/p>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f: <\/p>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0424\u0430\u0439\u043b: &#39;Lorem Ipsum.xml&#39;<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"xml\">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt; &lt;?xml-stylesheet href=&quot;xslt\/\u0437\u0430\u043f\u0438\u0441\u044c.xslt&quot; type=&quot;text\/xsl&quot; ?&gt; &lt;\u0437\u0430\u043f\u0438\u0441\u044c&gt;     &lt;\u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a&gt;Lorem Ipsum&lt;\/\u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a&gt;     &lt;\u0442\u0435\u043a\u0441\u0442&gt; &lt;h1&gt;Lorem ipsum dolor sit amet&lt;\/h1&gt;  &lt;\u0441\u0440\u0435\u0437&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras feugiat orci non orci tincidunt molestie. Donec eget porta metus. Aenean malesuada nunc lacus, a sollicitudin neque fermentum eu. &lt;b style=&quot;color: green&quot;&gt;Vestibulum egestas viverra urna&lt;\/b&gt;, sit amet mollis ipsum commodo imperdiet. Quisque sit amet est eu nibh commodo pharetra.&lt;\/\u0441\u0440\u0435\u0437&gt; Donec fermentum nisi nec lorem auctor imperdiet. Morbi ultricies at magna ullamcorper malesuada. In eget arcu dapibus, vehicula nunc vel, convallis erat. Cras accumsan lacus vel tellus gravida, eu gravida turpis congue. In ultrices pellentesque odio at hendrerit.  &lt;h1&gt;Cras nec lorem facilisis&lt;\/h1&gt;  Cras nec lorem facilisis justo porttitor scelerisque id id ipsum. Duis mattis, sem eu sollicitudin pharetra, diam augue ullamcorper nisl, id dictum turpis ex in nisl. Aliquam venenatis egestas urna eget porttitor. Suspendisse potenti. Curabitur fermentum fermentum nulla, a lobortis ipsum laoreet eget. Duis finibus lacus id tempor elementum. &lt;i&gt;Interdum et malesuada fames ac ante ipsum primis in faucibus&lt;\/i&gt;. Curabitur tempus eget turpis ut tincidunt. In quis massa et risus tempor luctus quis eu enim. Duis finibus sem sit amet elit scelerisque molestie. Suspendisse laoreet, leo ut accumsan dapibus, nisi tellus dignissim lorem, eu auctor tellus diam vel nisi. Donec sem tortor, suscipit a leo maximus, aliquet dapibus nisl. Integer sodales, dui ut vulputate pharetra, ipsum neque tempor ipsum, sed porta tortor quam a nisl.  Sed consequat purus sed porttitor pulvinar. Mauris sollicitudin non sem a malesuada. Vestibulum non velit finibus, elementum purus nec, aliquam lacus. Etiam leo enim, venenatis id luctus ut, ornare sit amet ex. Nunc vel fringilla ante. Cras lobortis scelerisque pulvinar. Ut lectus augue, viverra quis molestie eu, maximus nec leo. &lt;u&gt;Sed facilisis odio ut malesuada mollis&lt;\/u&gt;. Pellentesque enim lacus, luctus nec velit quis, scelerisque tincidunt magna. Proin laoreet, erat eget porttitor bibendum, odio augue suscipit purus, id commodo magna nibh sed est. Ut dignissim aliquet sem, id suscipit sapien mollis volutpat. Vivamus ac fringilla est, at sagittis diam.     &lt;\/\u0442\u0435\u043a\u0441\u0442&gt; &lt;\/\u0437\u0430\u043f\u0438\u0441\u044c&gt;<\/code><\/pre>\n<\/div>\n<\/div>\n<p>  <\/p>\n<h2 id=\"zapisxhtml\">\u0437\u0430\u043f\u0438\u0441\u044c.xhtml<\/h2>\n<p>  <\/p>\n<p>\u041e\u0431\u044b\u0447\u043d\u043e \u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0432\u0441\u0435\u0433\u043e xHTML \u0437\u0430\u043f\u0438\u0445\u0438\u0432\u0430\u044e\u0442 \u0432 XSLT \u0448\u0430\u0431\u043b\u043e\u043d\u044b. \u041e\u043d\u0438 \u043e\u0442 \u044d\u0442\u043e\u0433\u043e \u0441\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0435\u043c \u0431\u0443\u0434\u0443\u0442 \u0440\u0430\u0437\u0440\u0430\u0441\u0442\u0430\u0442\u044c\u0441\u044f \u0438 \u0443\u0441\u043b\u043e\u0436\u043d\u044f\u0442\u044c\u0441\u044f. \u041d\u0435\u0447\u0435\u0433\u043e \u0432\u0435\u0440\u0441\u0442\u0430\u043b\u044c\u0449\u0438\u043a\u0443 \u0434\u0435\u043b\u0430\u0442\u044c \u0432 XSLT \u0448\u0430\u0431\u043b\u043e\u043d\u0430\u0445.<\/p>\n<p>  <\/p>\n<p>\u0414\u043b\u044f \u0432\u0435\u0440\u0441\u0442\u0430\u043b\u044c\u0449\u0438\u043a\u0430 \u0443 \u043d\u0430\u0441 \u0431\u0443\u0434\u0435\u0442 xHTML \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043e\u043d \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043c\u0435\u0442\u0438\u0442\u044c \u043a\u043b\u0430\u0441\u0441\u0430\u043c\u0438 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0430\u0434\u043e \u0432\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u043e\u0434\u043d\u043e\u0438\u043c\u0451\u043d\u043d\u044b\u0445 \u0442\u0435\u0433\u043e\u0432 \u0438\u0437 XML.<\/p>\n<p>  <\/p>\n<p><strong>\u0424\u0430\u0439\u043b:<\/strong> &#8216;xhtml\/\u0437\u0430\u043f\u0438\u0441\u044c.xhtml&#8217;<\/p>\n<p>  <\/p>\n<pre><code class=\"xml\">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt; &lt;html xmlns=&quot;http:\/\/www.w3.org\/1999\/xhtml&quot;&gt;     &lt;head&gt;         &lt;!-- \u0435\u0441\u043b\u0438 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 &lt;\u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a&gt; \u0431\u0443\u0434\u0435\u0442 \u043f\u0443\u0441\u0442 \u0442\u043e \u0432 title \u0431\u0443\u0434\u0435\u0442 \u044d\u0442\u043e\u0442 \u0442\u0435\u043a\u0441\u0442 --&gt;         &lt;title class=&quot;\u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a&quot;&gt;\u041f\u0440\u043e\u0441\u0442\u043e\u0439 \u0431\u043b\u043e\u0433 \u043d\u0430 XML&lt;\/title&gt;         &lt;meta  class=&quot;\u0441\u0440\u0435\u0437&quot;\/&gt;         &lt;!-- \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0441\u0442\u0438\u043b\u044c \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0439 \u043e\u043d \u0432\u043a\u043b\u044e\u0447\u0451\u043d \u0432 HTML --&gt;         &lt;style&gt;             \/* \u0434\u0435\u043b\u0430\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 xHTML \u043d\u0435\u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u043c \u0432 \u0442\u0435\u043a\u0441\u0442\u0435 *\/              .\u0442\u0435\u043a\u0441\u0442{                 white-space: pre-wrap;             }              \/* \u0447\u0442\u043e\u0431\u044b \u043d\u0435\u0431\u044b\u043b\u043e \u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u043e\u0442\u0441\u0442\u0443\u043f\u043e\u0432 \u0438\u043d\u043b\u0430\u0439\u043d\u0438\u043c \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0438 *\/                .\u0442\u0435\u043a\u0441\u0442 h1, .\u0442\u0435\u043a\u0441\u0442 h2             , .\u0442\u0435\u043a\u0441\u0442 h3, .\u0442\u0435\u043a\u0441\u0442 h4             , .\u0442\u0435\u043a\u0441\u0442 h5, .\u0442\u0435\u043a\u0441\u0442 h6 {                 display: inline;             }         &lt;\/style&gt;     &lt;\/head&gt;     &lt;body&gt;         &lt;!-- \u043d\u0430\u0434\u0435\u044e\u0441\u044c \u043f\u043e \u0438\u043c\u0435\u043d\u0430\u043c \u043a\u043b\u0430\u0441\u0441\u043e\u0432 \u043f\u043e\u043d\u044f\u0442\u043d\u043e \u0447\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u0432 \u044d\u0442\u0438\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430\u0445 --&gt;         &lt;ul   class=&quot;\u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u044f&quot; \/&gt;         &lt;h1   class=&quot;\u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a&quot; \/&gt;         &lt;span class=&quot;\u0442\u0435\u043a\u0441\u0442&quot;&gt;\u042d\u043b\u0435\u043c\u0435\u043d\u0442 &lt;b style=&quot;color: red&quot;&gt;&lt;![CDATA[&lt;\u0442\u0435\u043a\u0441\u0442&gt;&lt;\/\u0442\u0435\u043a\u0441\u0442&gt;]]&gt;&lt;\/b&gt; \u043d\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0442\u0435\u043a\u0441\u0442\u0430. \u0417\u0430\u043f\u043e\u043b\u043d\u0438\u0442\u0435 \u0435\u0433\u043e.&lt;\/span&gt;     &lt;\/body&gt; &lt;\/html&gt;<\/code><\/pre>\n<p>  <\/p>\n<h2 id=\"zapisxslt\">\u0437\u0430\u043f\u0438\u0441\u044c.xslt<\/h2>\n<p>  <\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u0434\u043e \u0441\u0432\u044f\u0437\u0430\u0442\u044c \u044d\u0442\u0438 \u0434\u0432\u0430 \u0444\u0430\u0439\u043b\u0430(XML \u0438 xHTML) \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 XSLT.<\/p>\n<p>  <\/p>\n<p>\u0428\u0430\u0431\u043b\u043e\u043d \u0447\u0438\u0442\u0430\u0435\u0442 \u0444\u0430\u0439\u043b &#8216;\u0437\u0430\u043f\u0438\u0441\u044c.xhtml&#8217; \u0438 \u0437\u0430\u043c\u0435\u043d\u044f\u0435\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u0442\u0435\u0433\u043e\u0432 \u043f\u043e \u043a\u043b\u0430\u0441\u0441\u0430\u043c \u043d\u0430 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u0442\u0435\u0433\u043e\u0432 \u0441 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u043c\u0438 \u0438\u043c\u0435\u043d\u0430\u043c\u0438 \u0432 XML. \u0422\u0430\u043a\u0436\u0435 \u043e\u043d \u043c\u0435\u043d\u044f\u0435\u0442 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0442\u0435\u0433\u0438 \u0432 XML \u0438 \u043f\u0440\u0438\u0432\u044f\u0437\u044b\u0432\u0430\u0435\u0442 \u043a \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0443 \u0438\u043c\u0451\u043d xHTML.<\/p>\n<p>  <\/p>\n<p><strong>\u0424\u0430\u0439\u043b:<\/strong> &#8216;xslt\/\u0437\u0430\u043f\u0438\u0441\u044c.xslt&#8217;<\/p>\n<p>  <\/p>\n<pre><code class=\"xml\">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt; &lt;xsl:stylesheet   version=&quot;1.0&quot;   xmlns=&quot;http:\/\/www.w3.org\/1999\/xhtml&quot;   xmlns:xhtml=&quot;http:\/\/www.w3.org\/1999\/xhtml&quot;   xmlns:xsl=&quot;http:\/\/www.w3.org\/1999\/XSL\/Transform&quot;&gt;      &lt;!--         \u0428\u0430\u0431\u043b\u043e\u043d \u0434\u043b\u044f \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u044f \u0432\u044b\u043d\u0435\u0441 \u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u0444\u0430\u0439\u043b '\u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u044f.xslt'         \u041f\u0443\u0442\u0438 \u0432 \u0448\u0430\u0431\u043b\u043e\u043d\u0435 \u0438\u0434\u0443\u0442 \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0444\u0430\u0439\u043b\u0430 \u0448\u0430\u0431\u043b\u043e\u043d\u0430         Chrome \u043d\u0435 \u043b\u044e\u0431\u0438\u0442 \u043a\u0438\u0440\u0438\u043b\u043b\u0438\u0446\u0443 \u0432 URL \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043a\u043e\u0434\u0438\u0440\u0443\u0435\u043c URL     --&gt;     &lt;xsl:include href=&quot;%D0%BD%D0%B0%D0%B2%D0%B8%D0%B3%D0%B0%D1%86%D0%B8%D1%8F.xslt&quot; \/&gt;      &lt;!-- \u043d\u0430 \u0432\u044b\u0445\u043e\u0434\u0435 \u0443 \u043d\u0430\u0441 \u0431\u0443\u0434\u0435\u0442 xHTML \u0430 \u044d\u0442\u043e \u0442\u043e\u0442 \u0436\u0435 XML --&gt;     &lt;xsl:output method=&quot;xml&quot; encoding=&quot;UTF-8&quot;\/&gt;      &lt;!-- \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u043c \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 \u0443\u0437\u0435\u043b \u0441 \u0434\u0430\u043d\u043d\u044b\u043c\u0438  --&gt;     &lt;xsl:variable name=&quot;\u0437\u0430\u043f\u0438\u0441\u044c&quot; select=&quot;\u0437\u0430\u043f\u0438\u0441\u044c&quot; \/&gt;      &lt;!-- \u0441\u0440\u0430\u0437\u0443 \u0443\u0445\u043e\u0434\u0438\u043c \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442 '\u0437\u0430\u043f\u0438\u0441\u044c.xhtml' --&gt;     &lt;xsl:template match=&quot;\/&quot;&gt;         &lt;!-- mode \u043d\u0435 \u0434\u0430\u0451\u0442 \u043d\u0430\u043c \u0437\u0430\u0446\u0438\u043a\u043b\u0438\u0442\u044c\u0441\u044f \u0438 \u043d\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u0435\u0442 \u043a\u0430\u043a\u043e\u0439 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442 \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442 \u043a\u0430\u0436\u0434\u044b\u0439 \u0448\u0430\u0431\u043b\u043e\u043d --&gt;         &lt;xsl:apply-templates mode=&quot;xhtml&quot; select=&quot;document('..\/xhtml\/%D0%B7%D0%B0%D0%BF%D0%B8%D1%81%D1%8C.xhtml')&quot; \/&gt;     &lt;\/xsl:template&gt;      &lt;!-- \u043a\u043e\u043f\u0438\u0440\u0443\u0435\u043c \u0432\u0441\u0451 \u0434\u043b\u044f \u0447\u0435\u0433\u043e \u043d\u0435\u0442 \u0448\u0430\u0431\u043b\u043e\u043d\u0430 \u043d\u0438\u0436\u0435 --&gt;     &lt;xsl:template mode=&quot;xhtml&quot; match=&quot;node()|@*&quot;&gt;         &lt;xsl:copy&gt;             &lt;xsl:apply-templates mode=&quot;xhtml&quot; select=&quot;node()|@*&quot;\/&gt;         &lt;\/xsl:copy&gt;     &lt;\/xsl:template&gt;      &lt;!-- \u043d\u0430 \u044d\u0442\u043e\u043c \u044d\u0442\u0430\u043f\u0435 \u043c\u044b \u0432\u0438\u0434\u0438\u043c \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b '\u0437\u0430\u043f\u0438\u0441\u044c.xhtml' --&gt;      &lt;!-- \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430 '\u0441\u0440\u0435\u0437' \u0435\u0441\u043b\u0438 \u043e\u043d\u043e \u0435\u0441\u0442\u044c \u0432 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0441 \u043a\u043b\u0430\u0441\u0441\u043e\u043c '\u0441\u0440\u0435\u0437' --&gt;     &lt;xsl:template mode=&quot;xhtml&quot; match=&quot;*[contains(@class, '\u0441\u0440\u0435\u0437')][normalize-space($\u0437\u0430\u043f\u0438\u0441\u044c\/\u0442\u0435\u043a\u0441\u0442\/\/\u0441\u0440\u0435\u0437)]&quot;&gt;         &lt;xsl:copy&gt;             &lt;xsl:copy-of select=&quot;@*&quot;\/&gt;             &lt;xsl:apply-templates mode=&quot;xml&quot; select=&quot;$\u0437\u0430\u043f\u0438\u0441\u044c\/\u0442\u0435\u043a\u0441\u0442\/\/\u0441\u0440\u0435\u0437\/node()&quot; \/&gt;         &lt;\/xsl:copy&gt;     &lt;\/xsl:template&gt;      &lt;!-- \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0432 meta \u0442\u0435\u0433 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430 '\u0441\u0440\u0435\u0437' \u0435\u0441\u043b\u0438 \u043e\u043d\u043e \u0435\u0441\u0442\u044c --&gt;     &lt;xsl:template mode=&quot;xhtml&quot; match=&quot;xhtml:meta[contains(@class, '\u0441\u0440\u0435\u0437')][normalize-space($\u0437\u0430\u043f\u0438\u0441\u044c\/\u0442\u0435\u043a\u0441\u0442\/\/\u0441\u0440\u0435\u0437)]&quot;&gt;         &lt;meta name=&quot;description&quot; content=&quot;{$\u0437\u0430\u043f\u0438\u0441\u044c\/\u0442\u0435\u043a\u0441\u0442\/\/\u0441\u0440\u0435\u0437}&quot; \/&gt;     &lt;\/xsl:template&gt;      &lt;!-- \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u044e \u043f\u043e \u0437\u0430\u043f\u0438\u0441\u044f\u043c --&gt;     &lt;xsl:template mode=&quot;xhtml&quot; match=&quot;*[contains(@class, '\u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u044f')]&quot;&gt;         &lt;!-- \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u043c \u0448\u0430\u0431\u043b\u043e\u043d \u043f\u043e \u0438\u043c\u0435\u043d\u0438 \u0438\u0437 \u0444\u0430\u0439\u043b\u0430 '\u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u044f.xsl' --&gt;         &lt;xsl:call-template name=&quot;\u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u044f&quot; \/&gt;     &lt;\/xsl:template&gt;      &lt;!-- \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430 '\u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a' \u0435\u0441\u043b\u0438 \u043e\u043d\u043e \u0435\u0441\u0442\u044c \u0432 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0441 \u043a\u043b\u0430\u0441\u0441\u043e\u043c '\u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a' --&gt;     &lt;xsl:template mode=&quot;xhtml&quot; match=&quot;*[contains(@class, '\u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a')][normalize-space($\u0437\u0430\u043f\u0438\u0441\u044c\/\u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a)]&quot;&gt;         &lt;xsl:copy&gt;             &lt;xsl:copy-of select=&quot;@*&quot;\/&gt;             &lt;xsl:value-of select=&quot;$\u0437\u0430\u043f\u0438\u0441\u044c\/\u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a&quot; \/&gt;         &lt;\/xsl:copy&gt;     &lt;\/xsl:template&gt;      &lt;!-- \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430 '\u0442\u0435\u043a\u0441\u0442' \u0435\u0441\u043b\u0438 \u043e\u043d\u043e \u0435\u0441\u0442\u044c \u0432 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0441 \u043a\u043b\u0430\u0441\u0441\u043e\u043c '\u0442\u0435\u043a\u0441\u0442' --&gt;     &lt;xsl:template mode=&quot;xhtml&quot; match=&quot;*[contains(@class, '\u0442\u0435\u043a\u0441\u0442')][normalize-space($\u0437\u0430\u043f\u0438\u0441\u044c\/\u0442\u0435\u043a\u0441\u0442)]&quot;&gt;         &lt;xsl:copy&gt;             &lt;xsl:copy-of select=&quot;@*&quot;\/&gt;             &lt;xsl:apply-templates mode=&quot;xml&quot; select=&quot;$\u0437\u0430\u043f\u0438\u0441\u044c\/\u0442\u0435\u043a\u0441\u0442\/node()&quot; \/&gt;         &lt;\/xsl:copy&gt;     &lt;\/xsl:template&gt;      &lt;!--          \u0442\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0438\u0441\u0445\u043e\u0434\u043d\u043e\u0433\u043e xml           \u043a\u043e\u043f\u0438\u0440\u0443\u0435\u043c \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0443 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0437\u0430\u0434\u0430\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u043e \u0438\u043c\u0451\u043d         (\u044d\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c svg \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435) \u0438 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u044b      --&gt;     &lt;xsl:template mode=&quot;xml&quot; match=&quot;*[namespace-uri()]|@*&quot;&gt;         &lt;xsl:copy&gt;             &lt;xsl:apply-templates mode=&quot;xml&quot; select=&quot;node()|@*&quot; \/&gt;         &lt;\/xsl:copy&gt;     &lt;\/xsl:template&gt;      &lt;!-- \u0437\u0430\u0434\u0430\u0434\u0438\u043c \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u043e \u0438\u043c\u0451\u043d \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430\u043c \u0431\u0435\u0437 \u043d\u0435\u0433\u043e --&gt;     &lt;xsl:template mode=&quot;xml&quot; match=&quot;*&quot;&gt;         &lt;!--             \u0421\u043e\u0437\u0434\u0430\u0451\u043c \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0441 \u0442\u0435\u043c \u0436\u0435 \u0438\u043c\u0435\u043d\u0435\u043c. \u0423 \u043d\u043e\u0432\u043e\u0433\u043e \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430              \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u043e \u0438\u043c\u0451\u043d \u0443\u0436\u0435 \u0437\u0430\u0434\u0430\u043d\u043d\u043e \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e         --&gt;         &lt;xsl:element name=&quot;{name()}&quot;&gt;             &lt;xsl:apply-templates mode=&quot;xml&quot; select=&quot;node()|@*&quot; \/&gt;         &lt;\/xsl:element&gt;     &lt;\/xsl:template&gt;      &lt;!-- \u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u043e\u0442 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430 '\u0441\u0440\u0435\u0437' \u0442\u043e\u043b\u044c\u043a\u043e \u0435\u0433\u043e \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 --&gt;     &lt;xsl:template mode=&quot;xml&quot; match=&quot;\u0441\u0440\u0435\u0437&quot;&gt;         &lt;xsl:apply-templates mode=&quot;xml&quot; select=&quot;node()|@*&quot; \/&gt;     &lt;\/xsl:template&gt;      &lt;!-- \u0434\u0430\u0451\u043c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c xHTML \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0438 --&gt;      &lt;xsl:template mode=&quot;xml&quot; match=&quot;h1|h2|h3|h4|h5&quot;&gt;         &lt;!--              h1 \u0443 \u043d\u0430\u0441 \u0443\u0436\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430 '\u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a'              \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0432\u0430\u0435\u043c \u0438\u043d\u0434\u0435\u043a\u0441 xHTML \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u043e\u0432 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f         --&gt;         &lt;xsl:element name=&quot;h{substring(name(), 2, 1) + 1}&quot;&gt;             &lt;!-- \u0440\u0430\u0437 \u0443\u0436 \u043c\u044b \u043f\u043e\u043b\u0435\u0437\u043b\u0438 \u0432 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0438 \u0442\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0438\u043c id \u0434\u043b\u044f \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u043f\u043e \u0437\u0430\u043f\u0438\u0441\u0438 --&gt;             &lt;xsl:attribute name=&quot;id&quot;&gt;                 &lt;xsl:value-of select=&quot;.&quot; \/&gt;             &lt;\/xsl:attribute&gt;             &lt;xsl:apply-templates mode=&quot;xml&quot; select=&quot;node()|@*&quot; \/&gt;         &lt;\/xsl:element&gt;     &lt;\/xsl:template&gt;  &lt;\/xsl:stylesheet&gt;<\/code><\/pre>\n<p>  <\/p>\n<h2 id=\"navigaciya\">\u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u044f<\/h2>\n<p>  <\/p>\n<p>\u041d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u044f \u043d\u0443\u0436\u043d\u0430 \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u043c\u0435\u0449\u0435\u043d\u0438\u044f \u043c\u0435\u0436\u0434\u0443 \u0437\u0430\u043f\u0438\u0441\u044f\u043c\u0438 \u0431\u043b\u043e\u0433\u0430. \u041a \u043a\u0430\u0436\u0434\u043e\u0439 \u0437\u0430\u043f\u0438\u0441\u0438 \u043c\u044b \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0441\u043f\u0438\u0441\u043e\u043a \u0441\u0441\u044b\u043b\u043e\u043a \u043d\u0430 \u0434\u0440\u0443\u0433\u0438\u0435 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b.<\/p>\n<p>  <\/p>\n<h3 id=\"zhurnalxml\">\u0436\u0443\u0440\u043d\u0430\u043b.xml<\/h3>\n<p>  <\/p>\n<p>\u0423 \u043d\u0430\u0441 \u0431\u0443\u0434\u0435\u0442 XML \u0444\u0430\u0439\u043b \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u044b \u0432\u0441\u0435 \u0437\u0430\u043f\u0438\u0441\u0438:<\/p>\n<p>  <\/p>\n<p><strong>\u0424\u0430\u0439\u043b:<\/strong> &#8216;\u0436\u0443\u0440\u043d\u0430\u043b.xml&#8217;<\/p>\n<p>  <\/p>\n<pre><code class=\"xml\">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt; &lt;?xml-stylesheet href=&quot;xslt\/\u0436\u0443\u0440\u043d\u0430\u043b.xslt&quot; type=&quot;text\/xsl&quot; ?&gt; &lt;\u0436\u0443\u0440\u043d\u0430\u043b&gt;     &lt;\u0437\u0430\u043f\u0438\u0441\u044c&gt;\u043d\u043e\u0432\u0430\u044f \u0437\u0430\u043f\u0438\u0441\u044c&lt;\/\u0437\u0430\u043f\u0438\u0441\u044c&gt; &lt;\/\u0436\u0443\u0440\u043d\u0430\u043b&gt; &lt;!-- \u0417\u0434\u0435\u0441\u044c \u043c\u043e\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0441\u043f\u0440\u0430\u0432\u043a\u0443 \u043a\u0430\u043a \u044d\u0442\u0438\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f --&gt;<\/code><\/pre>\n<p>  <\/p>\n<p>\u0421\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u0442\u0435\u0433\u0430 &#8216;\u0437\u0430\u043f\u0438\u0441\u044c&#8217; \u044d\u0442\u043e \u0438\u043c\u044f xml \u0444\u0430\u0439\u043b\u0430 \u0437\u0430\u043f\u0438\u0441\u0438 \u0431\u0435\u0437 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f.<\/p>\n<p>  <\/p>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f:<\/p>\n<p>  <\/p>\n<pre><code class=\"xml\">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt; &lt;?xml-stylesheet href=&quot;xslt\/\u0436\u0443\u0440\u043d\u0430\u043b.xslt&quot; type=&quot;text\/xsl&quot; ?&gt; &lt;\u0436\u0443\u0440\u043d\u0430\u043b&gt;     &lt;\u0437\u0430\u043f\u0438\u0441\u044c&gt;Lorem Ipsum 1&lt;\/\u0437\u0430\u043f\u0438\u0441\u044c&gt;     &lt;\u0437\u0430\u043f\u0438\u0441\u044c&gt;Lorem Ipsum 2&lt;\/\u0437\u0430\u043f\u0438\u0441\u044c&gt; &lt;\/\u0436\u0443\u0440\u043d\u0430\u043b&gt;<\/code><\/pre>\n<p>  <\/p>\n<h3 id=\"navigaciyaxslt\">\u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u044f.xslt<\/h3>\n<p>  <\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0438\u0448\u0435\u043c \u043f\u0440\u043e\u0441\u0442\u0435\u043d\u044c\u043a\u0438\u0439 \u0448\u0430\u0431\u043b\u043e\u043d \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0438\u0437 \u0444\u0430\u0439\u043b\u0430 &#8216;\u0436\u0443\u0440\u043d\u0430\u043b.xml&#8217; \u0441\u0444\u043e\u0440\u043c\u0438\u0440\u0443\u0435\u0442 xHTML \u0441\u043f\u0438\u0441\u043e\u043a \u0441\u043e \u0441\u0441\u044b\u043b\u043a\u0430\u043c\u0438 \u043d\u0430 \u0434\u0440\u0443\u0433\u0438\u0435 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b.<\/p>\n<p>  <\/p>\n<p><strong>\u0424\u0430\u0439\u043b:<\/strong> &#8216;xslt\/\u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u044f.xslt&#8217;<\/p>\n<p>  <\/p>\n<pre><code class=\"xml\">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt; &lt;xsl:stylesheet   version=&quot;1.0&quot;   xmlns=&quot;http:\/\/www.w3.org\/1999\/xhtml&quot;   xmlns:xsl=&quot;http:\/\/www.w3.org\/1999\/XSL\/Transform&quot;&gt;      &lt;!-- \u0441\u044e\u0434\u0430 \u043c\u044b \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u043c \u0438\u0437 \u0448\u0430\u0431\u043b\u043e\u043d\u0430 '\u0437\u0430\u043f\u0438\u0441\u044c.xsl' --&gt;     &lt;xsl:template name=&quot;\u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u044f&quot;&gt;         &lt;ul&gt;             &lt;!-- \u043a\u043e\u043f\u0438\u0440\u0443\u0435\u043c \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u044b --&gt;             &lt;xsl:copy-of select=&quot;@*&quot; \/&gt;              &lt;!-- \u0441\u0440\u0430\u0437\u0443 \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u0438\u0437 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430 '\u0436\u0443\u0440\u043d\u0430\u043b.xml' \u043d\u0443\u0436\u043d\u044b\u0435 \u0443\u0437\u043b\u044b --&gt;             &lt;xsl:apply-templates mode=&quot;\u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u044f&quot; select=&quot;document('..\/%D0%B6%D1%83%D1%80%D0%BD%D0%B0%D0%BB.xml')\/\u0436\u0443\u0440\u043d\u0430\u043b\/\u0437\u0430\u043f\u0438\u0441\u044c&quot; \/&gt;         &lt;\/ul&gt;     &lt;\/xsl:template&gt;      &lt;!-- \u0434\u0435\u043b\u0430\u0435\u043c \u0441\u043f\u0438\u0441\u043e\u043a \u0441\u0441\u044b\u043b\u043e\u043a \u043d\u0430 \u0434\u0440\u0443\u0433\u0438\u0435 \u0437\u0430\u043f\u0438\u0441\u0438 --&gt;     &lt;xsl:template mode=&quot;\u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u044f&quot; match=&quot;\u0437\u0430\u043f\u0438\u0441\u044c&quot;&gt;         &lt;li&gt;             &lt;a href=&quot;{text()}.xml&quot;&gt;                 &lt;xsl:value-of select=&quot;text()&quot; \/&gt;             &lt;\/a&gt;         &lt;\/li&gt;     &lt;\/xsl:template&gt;  &lt;\/xsl:stylesheet&gt;<\/code><\/pre>\n<p>  <\/p>\n<p>\u041d\u0430 \u044d\u0442\u043e\u043c \u044d\u0442\u0430\u043f\u0435 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u0431\u043b\u043e\u0433\u0430 \u0433\u043e\u0442\u043e\u0432\u044b \u043a \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044e \u0438 \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0443.<\/p>\n<p>  <\/p>\n<h2 id=\"perenapravlenie\">\u043f\u0435\u0440\u0435\u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435<\/h2>\n<p>  <\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u0441\u0435\u0442\u0438\u0442\u0435\u043b\u0435\u0439 \u043f\u0435\u0440\u0435\u043d\u0430\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043d\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044e\u044e \u0437\u0430\u043f\u0438\u0441\u044c \u0432 \u0436\u0443\u0440\u043d\u0430\u043b\u0435.<\/p>\n<p>  <\/p>\n<h3 id=\"indexhtml\">index.html<\/h3>\n<p>  <\/p>\n<p>\u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e \u0432 IPFS \u043f\u043e\u043a\u0430 \u043d\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435\u0439 \u043f\u043e\u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0447\u0442\u043e \u0442\u043e \u043a\u0440\u043e\u043c\u0435 index.html. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0441\u0434\u0435\u043b\u0430\u0435\u043c \u0432 \u043d\u0435\u0439 \u043f\u0440\u043e\u0441\u0442\u043e\u0435 \u043f\u0435\u0440\u0435\u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043d\u0430 XML \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443.<\/p>\n<p>  <\/p>\n<p>\u0417\u0430\u0434\u0430\u0447\u0430 \u044d\u0442\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 \u043f\u0435\u0440\u0435\u043d\u0430\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 &#8216;\u0436\u0443\u0440\u043d\u0430\u043b.xml&#8217;.<\/p>\n<p>  <\/p>\n<p><strong>\u0424\u0430\u0439\u043b:<\/strong> &#8216;index.html&#8217;<\/p>\n<p>  <\/p>\n<pre><code class=\"xml\">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt; &lt;html xmlns=&quot;http:\/\/www.w3.org\/1999\/xhtml&quot;&gt;     &lt;head&gt;         &lt;title&gt;\u041f\u0435\u0440\u0435\u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435&lt;\/title&gt;         &lt;!-- \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u043f\u0435\u0440\u0435\u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 '\u0436\u0443\u0440\u043d\u0430\u043b.xml' --&gt;         &lt;!-- Firefox \u043d\u0435 \u043b\u044e\u0431\u0438\u0442 \u043a\u0438\u0440\u0438\u043b\u043b\u0438\u0446\u0443 \u0432 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0435 url \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0438\u043c\u044f \u0437\u0430\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u043e--&gt;         &lt;meta http-equiv=&quot;refresh&quot; content=&quot;0; url=%D0%B6%D1%83%D1%80%D0%BD%D0%B0%D0%BB.xml&quot; \/&gt;     &lt;\/head&gt;     &lt;body&gt;         &lt;!-- \u043d\u0430 \u0441\u043b\u0443\u0447\u0430\u0439 \u0435\u0441\u043b\u0438 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u043f\u0435\u0440\u0435\u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043d\u0435 \u0441\u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 --&gt;         \u041f\u0435\u0440\u0435\u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043d\u0430:         &quot;&lt;a class=&quot;\u043f\u0435\u0440\u0435\u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435&quot; href=&quot;\u0436\u0443\u0440\u043d\u0430\u043b.xml&quot;&gt;\u0436\u0443\u0440\u043d\u0430\u043b&lt;\/a&gt;&quot;     &lt;\/body&gt; &lt;\/html&gt;<\/code><\/pre>\n<p>  <\/p>\n<p>\u042d\u0442\u043e HTML \u043e\u0431\u043e\u0440\u043e\u0442\u0435\u043d\u044c. \u041e\u043d \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0439 XML \u0438 HTML \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e. \u042d\u0442\u043e \u043d\u0430\u043c \u043f\u0440\u0438\u0433\u043e\u0434\u0438\u0442\u0441\u044f \u0434\u0430\u043b\u044c\u0448\u0435.<\/p>\n<p>  <\/p>\n<h3 id=\"zhurnalxslt\">\u0436\u0443\u0440\u043d\u0430\u043b.xslt<\/h3>\n<p>  <\/p>\n<p>&#8216;\u0436\u0443\u0440\u043d\u0430\u043b.xml&#8217; \u043f\u0440\u0438 \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u0438 \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442 \u0448\u0430\u0431\u043b\u043e\u043d &#8216;\u0436\u0443\u0440\u043d\u0430\u043b.xslt&#8217;. \u0422\u043e\u0442 \u0432 \u0441\u0432\u043e\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u044c \u0431\u0435\u0440\u0451\u0442 \u043f\u0435\u0440\u0432\u0443\u044e \u0437\u0430\u043f\u0438\u0441\u044c \u0438\u0437 &#8216;\u0436\u0443\u0440\u043d\u0430\u043b.xml&#8217; \u0438 \u043f\u0435\u0440\u0435\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f &#8216;index.html&#8217; \u043f\u0435\u0440\u0435\u043d\u0430\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u043d\u0430 \u043f\u0435\u0440\u0432\u0443\u044e \u0437\u0430\u043f\u0438\u0441\u044c.<\/p>\n<p>  <\/p>\n<p>\u0424\u0430\u0439\u043b: &#8216;xslt\/\u0436\u0443\u0440\u043d\u0430\u043b.xslt&#8217;<\/p>\n<p>  <\/p>\n<pre><code class=\"xml\">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt; &lt;xsl:stylesheet   version=&quot;1.0&quot;   xmlns=&quot;http:\/\/www.w3.org\/1999\/xhtml&quot;   xmlns:xhtml=&quot;http:\/\/www.w3.org\/1999\/xhtml&quot;   xmlns:xsl=&quot;http:\/\/www.w3.org\/1999\/XSL\/Transform&quot;&gt;      &lt;xsl:output method=&quot;xml&quot; encoding=&quot;UTF-8&quot;\/&gt;      &lt;xsl:variable name=&quot;\u0437\u0430\u043f\u0438\u0441\u044c&quot; select=&quot;\u0436\u0443\u0440\u043d\u0430\u043b\/\u0437\u0430\u043f\u0438\u0441\u044c\/text()&quot; \/&gt;      &lt;xsl:template match=&quot;\/&quot;&gt;         &lt;!-- \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u0443\u0436\u0435 \u0433\u043e\u0442\u043e\u0432\u044b\u0439 \u043e\u0431\u0440\u0430\u0437\u0435\u0446 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u043f\u0435\u0440\u0435\u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f --&gt;         &lt;xsl:apply-templates mode=&quot;html&quot; select=&quot;document('..\/index.html')&quot; \/&gt;     &lt;\/xsl:template&gt;      &lt;!-- \u043a\u043e\u043f\u0438\u0440\u0443\u0435\u043c \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0438 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u044b --&gt;     &lt;xsl:template mode=&quot;html&quot; match=&quot;node()|@*&quot;&gt;         &lt;xsl:copy&gt;             &lt;xsl:apply-templates mode=&quot;html&quot; select=&quot;node()|@*&quot; \/&gt;         &lt;\/xsl:copy&gt;     &lt;\/xsl:template&gt;      &lt;!-- \u043c\u0435\u043d\u044f\u0435\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b --&gt;      &lt;!-- \u043c\u0435\u043d\u044f\u0435\u043c \u0430\u0434\u0440\u0435\u0441 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043f\u0435\u0440\u0435\u043d\u0430\u043f\u0440\u0432\u043b\u0435\u043d\u0438\u044f --&gt;     &lt;xsl:template mode=&quot;html&quot; match=&quot;xhtml:meta[@http-equiv='refresh']&quot;&gt;         &lt;!--              \u0425\u0430\u043a              1. \u041c\u0435\u043d\u044f\u0435\u043c \u0431\u0430\u0437\u043e\u0432\u044b\u0439 URL                 \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u043c\u044b \u0438\u0437\u0431\u0435\u0433\u0430\u0435\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f URL         --&gt;         &lt;base href=&quot;{$\u0437\u0430\u043f\u0438\u0441\u044c}.xml&quot; \/&gt;          &lt;!-- 2. \u041e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u043c \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 --&gt;         &lt;meta http-equiv=&quot;refresh&quot; content=&quot;0; url=#&quot; \/&gt;     &lt;\/xsl:template&gt;      &lt;!-- \u043c\u0435\u043d\u044f\u0435\u043c \u0438\u043c\u044f \u0438 \u0430\u0434\u0440\u0435\u0441 \u0441\u0441\u044b\u043b\u043a\u0438 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u043f\u0435\u0440\u0435\u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f --&gt;     &lt;xsl:template mode=&quot;html&quot; match=&quot;xhtml:a[@class='\u043f\u0435\u0440\u0435\u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435']&quot;&gt;         &lt;a href=&quot;&quot; class=&quot;{@class}&quot;&gt;             &lt;xsl:value-of select=&quot;$\u0437\u0430\u043f\u0438\u0441\u044c&quot; \/&gt;         &lt;\/a&gt;     &lt;\/xsl:template&gt;  &lt;\/xsl:stylesheet&gt;<\/code><\/pre>\n<p>  <\/p>\n<p>\u0428\u0430\u0431\u043b\u043e\u043d &#8216;\u0436\u0443\u0440\u043d\u0430\u043b.xslt&#8217; \u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0442\u0430\u043a \u0447\u0442\u043e \u043e\u043d \u0431\u0443\u0434\u0435\u0442 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0442\u044c \u043b\u0435\u043d\u0442\u0443 \u0437\u0430\u043f\u0438\u0441\u0435\u0439 \u0432\u043c\u0435\u0441\u0442\u043e \u043f\u0440\u043e\u0441\u0442\u043e\u0433\u043e \u043f\u0435\u0440\u0435\u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f.<\/p>\n<p>  <\/p>\n<h2 id=\"lokalnoe-testirovanie\">\u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0435 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435<\/h2>\n<p>  <\/p>\n<p>\u0414\u043b\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043f\u0440\u0435\u0434\u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430 \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 \u043f\u0435\u0440\u0435\u0434 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u043e\u0439 \u0432 IPFS \u043d\u0443\u0436\u043d\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0431\u0440\u0430\u0443\u0437\u0435\u0440.<\/p>\n<p>  <\/p>\n<h3 id=\"firefox\">Firefox<\/h3>\n<p>  <\/p>\n<ol>\n<li>\u0441\u043e\u0437\u0434\u0430\u0451\u043c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u043f\u0440\u043e\u0444\u0438\u043b\u044c<\/li>\n<li>\u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 <code>about:config<\/code> \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u0443\u043d\u043a\u0442 <code>security.fileuri.strict_origin_policy<\/code> \u0432 <code>false<\/code><\/li>\n<\/ol>\n<p>  <\/p>\n<h3 id=\"chrome\">Chrome<\/h3>\n<p>  <\/p>\n<ol>\n<li>\u0441\u043e\u0437\u0434\u0430\u0451\u043c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u043f\u0440\u043e\u0444\u0438\u043b\u044c<\/li>\n<li>\u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u0441 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u043c \u0444\u043b\u0430\u0433\u043e\u043c <code>--allow-file-access-from-files<\/code><\/li>\n<\/ol>\n<p>  <\/p>\n<h2 id=\"zagruzka-v-ipfs\">\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u0432 IPFS<\/h2>\n<p>  <\/p>\n<p>\u041f\u0435\u0440\u0435\u0434 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u043e\u0439 \u0435\u0441\u0442\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043d\u0430\u0434\u043e \u0437\u0430\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0431\u043b\u043e\u0433.<\/p>\n<p>  <\/p>\n<h3 id=\"generiruem-id-dlya-bloga\">\u0413\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u043c ID \u0434\u043b\u044f \u0431\u043b\u043e\u0433\u0430<\/h3>\n<p>  <\/p>\n<p>\u041d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u043e\u0432\u044b\u0439 \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u0439 \u043a\u043b\u044e\u0447\u044c \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u043b\u044f \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438 \u0432 \u0431\u043b\u043e\u0433.<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">ipfs key gen -t rsa blog<\/code><\/pre>\n<p>  <\/p>\n<p>\u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u0431\u0443\u0434\u0435\u0442 ID \u0431\u043b\u043e\u0433\u0430<\/p>\n<p>  <\/p>\n<h3 id=\"zagruzhaem\">\u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c<\/h3>\n<p>  <\/p>\n<ol>\n<li>\n<p>\u0417\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c \u0431\u043b\u043e\u0433 \u0432 ipfs<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">ipfs add -r -s rabin --inline --raw-leaves --fscache &lt;\u043a\u0430\u0442\u0430\u043b\u043e\u0433 \u0431\u043b\u043e\u0433\u0430&gt;<\/code><\/pre>\n<p>  <\/p>\n<p><code>-r<\/code> \u2014 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c \u043a\u0430\u0442\u0430\u043b\u043e\u0433<br \/>  <code>-s rabin<\/code> \u2014 \u043f\u043e\u043b\u0435\u0437\u043d\u043e \u0434\u043b\u044f \u0434\u0435\u0434\u0443\u043f\u043b\u0438\u043a\u0430\u0446\u0438\u0438 \u0431\u043e\u043b\u044c\u0448\u0438\u0445 jpeg, mp3 \u0438 \u0434\u0440\u0443\u0433\u0438\u0445 \u0444\u0430\u0439\u043b\u043e\u0432 \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0435\u0441\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043c\u0435\u043d\u044f\u0442\u044c \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0435.<br \/>  <code>--inline<\/code> \u2014 \u0432\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u0442 \u043c\u0438\u043a\u0440\u043e \u0431\u043b\u043e\u043a\u0438 \u0432 \u0440\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0439 \u0431\u043b\u043e\u043a.<br \/>  <code>--raw-leaves<\/code> \u2014 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u043e\u0441\u0442\u044c \u0441 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u043e\u0439 \u0432 \u0440\u0435\u0436\u0438\u043c\u0435 <code>--nocopy<\/code> \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0438\u0435 \u0444\u0430\u0439\u043b\u044b \u043d\u0435 \u043a\u043e\u043f\u0438\u0440\u0443\u044f \u0438\u0445 \u0432 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u0430\u0440\u0438\u0439.<br \/>  <code>--fscache<\/code> \u2014 \u0435\u0441\u043b\u0438 \u0431\u043b\u043e\u043a \u0443\u0436\u0435 \u0435\u0441\u0442\u044c \u0432 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u0430\u0440\u0438\u0438 \u0442\u043e \u043e\u043d \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0432 \u043d\u0435\u0433\u043e \u0437\u0430\u043d\u043e\u0432\u043e.<\/p>\n<p>  <\/li>\n<li>\n<p>\u041f\u0440\u0438\u0432\u044f\u0437\u044b\u0432\u0430\u0435\u043c \u0445\u0435\u0448 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0439 \u043d\u0430 \u043f\u0435\u0440\u0432\u043e\u043c \u044d\u0442\u0430\u043f\u0435 \u043a ID \u0431\u043b\u043e\u0433\u0430.<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">ipfs name publish -k blog &lt;\u0445\u0435\u0448&gt;<\/code><\/pre>\n<p>  <\/li>\n<\/ol>\n<p>  <\/p>\n<h3 id=\"proveryaem\">\u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c<\/h3>\n<p>  <\/p>\n<p>\u0412 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0434\u0432\u0430 \u0430\u0434\u0440\u0435\u0441\u0430:<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">http:\/\/127.0.0.1:8080\/ipfs\/&lt;\u0445\u0435\u0448&gt; http:\/\/127.0.0.1:8080\/ipns\/&lt;id \u0431\u043b\u043e\u0433\u0430&gt;<\/code><\/pre>\n<p>  <\/p>\n<p>\u0418 \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u043e:<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">http:\/\/gateway.ipfs.io\/ipfs\/&lt;\u0445\u0435\u0448&gt; http:\/\/gateway.ipfs.io\/ipns\/&lt;id \u0431\u043b\u043e\u0433\u0430&gt;<\/code><\/pre>\n<p>  <\/p>\n<p>\u0421\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043f\u043e \u0445\u0435\u0448\u0443 \u0431\u0443\u0434\u0435\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u0430 \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f \u0431\u043b\u043e\u0433\u0430. \u0410 \u043f\u043e ID \u0441\u0430\u043c\u0430\u044f \u043d\u043e\u0432\u0430\u044f \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043d\u043d\u0430\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u043c \u0432\u0435\u0440\u0441\u0438\u044f.<\/p>\n<p>  <\/p>\n<p>\u0413\u043e\u0442\u043e\u0432\u043e.<\/p>\n<p>  <\/p>\n<h2 id=\"zaklyuchenie\">\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/h2>\n<p>  <\/p>\n<p>\u0415\u0441\u0442\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0434\u0438\u0437\u0430\u0439\u043d \u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u044d\u0442\u043e\u0433\u043e \u0431\u043b\u043e\u0433\u0430 \u043c\u043e\u0436\u043d\u043e \u0438 \u043d\u0443\u0436\u043d\u043e \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0442\u044c \u043f\u043e\u0434 \u043f\u043e\u0442\u0440\u0435\u0431\u043d\u043e\u0441\u0442\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f. \u042f \u0437\u0430\u0434\u0430\u043b \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u0443\u044e \u0431\u0430\u0437\u0443 \u043e\u0442 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043c\u043e\u0436\u043d\u043e \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u0434\u0430\u043b\u044c\u0448\u0435.<\/p>\n<p>  <\/p>\n<h2 id=\"ssylki\">\u0421\u0441\u044b\u043b\u043a\u0438<\/h2>\n<p>  <\/p>\n<p><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/XSLT\" rel=\"nofollow\">\u0425\u043e\u0440\u043e\u0448\u0438\u0439 \u0441\u043f\u0440\u0430\u0432\u043e\u0447\u043d\u0438\u043a \u043f\u043e XSLT<\/a><br \/>  <a href=\"https:\/\/github.com\/ivan386\/xslt-blog\" rel=\"nofollow\">\u041a\u043e\u0434 \u043d\u0430 GitHub<\/a><\/p>\n<\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/489638\/\"> https:\/\/habr.com\/ru\/post\/489638\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/489638\/\">\n<p>\u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430: \u0423 \u0441\u0430\u0439\u0442\u0430 \u0432 IPFS \u043d\u0435\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u044b\u0435 \u0441\u043a\u0440\u0438\u043f\u0442\u044b \u0434\u043b\u044f \u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b. \u0415\u0441\u043b\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044e \u0441\u0442\u0440\u0430\u043d\u0438\u0446 \u043f\u0435\u0440\u0435\u0434 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u043e\u0439 \u0442\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0432 \u043d\u043e\u0432\u044b\u0439 \u043f\u0443\u043d\u043a\u0442 \u043c\u0435\u043d\u044e \u0432 \u043a\u0430\u0436\u0434\u0443\u044e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u043c\u044b \u0438\u0437\u043c\u0435\u043d\u0438\u043c \u0445\u0435\u0448 \u044d\u0442\u0438\u0445 \u0441\u0442\u0440\u0430\u043d\u0438\u0446. \u0422\u0430\u043a \u0447\u0442\u043e \u0432\u0441\u044e \u0441\u0431\u043e\u0440\u043a\u0443 \u0441\u0442\u0440\u0430\u043d\u0438\u0446 \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u044c \u0441\u0438\u043b\u0430\u043c\u0438 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430.<\/p>\n<p>  <\/p>\n<p>\u041e\u0431\u044b\u0447\u043d\u043e \u0444\u043e\u0440\u043c\u0438\u0440\u0443\u044e\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435 \u0441\u0442\u0440\u0430\u043d\u0438\u0446 \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 JavaScript. \u042d\u0442\u043e \u0437\u043d\u0430\u043a\u043e\u043c\u0430\u044f \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u044f \u043d\u043e \u0443 \u043d\u0435\u0451 \u0435\u0441\u0442\u044c \u0441\u0432\u043e\u0438 \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043a\u0438.<\/p>\n<p>  <\/p>\n<p>\u042f \u0431\u0443\u0434\u0443 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c XSLT. \u042d\u0442\u043e \u0434\u0440\u0435\u0432\u043d\u044f\u044f \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u044f \u0448\u0430\u0431\u043b\u043e\u043d\u043e\u0432 \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0434\u0430\u0432\u043d\u043e \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u0430 \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u044b \u043d\u043e \u043c\u0430\u043b\u043e \u043a\u0442\u043e \u0435\u0439 \u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f. \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0448\u0430\u0431\u043b\u043e\u043d\u044b \u0437\u0430\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442 \u043f\u0438\u0441\u0430\u0442\u044c \u043c\u043d\u043e\u0433\u043e \u0442\u0435\u043a\u0441\u0442\u0430 \u0438 \u0438\u0437 \u0437\u0430 \u043f\u0443\u0442\u0430\u043d\u0438\u0446\u044b \u0441 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0430\u043c\u0438 \u0438\u043c\u0451\u043d \u0438 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u0430 \u043e\u0448\u0438\u0431\u043e\u043a \u0431\u0435\u0437 \u0432\u043d\u044f\u0442\u043d\u043e\u0433\u043e \u043e\u0431\u044a\u044f\u0441\u043d\u0435\u043d\u0438\u044f. \u0422\u0430\u043a\u0436\u0435 \u043d\u0435 \u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u0442\u043e \u0447\u0442\u043e \u0435\u0441\u0442\u044c \u0443\u0436\u0435 XSLT 3.0 \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430\u0445 \u043f\u043e \u043f\u0440\u0435\u0436\u043d\u0435\u043c\u0443 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u0442\u043e\u043b\u044c\u043a\u043e XSLT 1.0.<\/p>\n<p>  <\/p>\n<p>XSLT \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0442\u0430\u043a:<\/p>\n<p>  <\/p>\n<ol>\n<li>\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u0442 \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 XML \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442.<\/li>\n<li>\u0412 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0435 XML \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 XSLT \u0448\u0430\u0431\u043b\u043e\u043d.<br \/> \n<pre><code class=\"xml\">&lt;?xml-stylesheet href=&quot;xslt\/\u0437\u0430\u043f\u0438\u0441\u044c.xslt&quot; type=&quot;text\/xsl&quot; ?&gt;<\/code><\/pre>\n<\/li>\n<li>\u0428\u0430\u0431\u043b\u043e\u043d \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 XML \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430 \u0438 \u0434\u0440\u0443\u0433\u0438\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0444\u043e\u0440\u043c\u0438\u0440\u0443\u0435\u0442 xHTML \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442.<\/li>\n<li>\u0411\u0440\u0430\u0443\u0437\u0435\u0440 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0439 xHTML \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442.<\/li>\n<\/ol>\n<p>  <\/p>\n<p>\u041f\u0440\u0438\u0432\u044f\u0437\u0430\u0432 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u0441\u0442\u0440\u0430\u043d\u0438\u0446 \u043a \u043e\u0434\u043d\u043e\u043c\u0443 \u0448\u0430\u0431\u043b\u043e\u043d\u0443 \u043c\u043e\u0436\u043d\u043e \u043c\u0435\u043d\u044f\u0442\u044c \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u043c\u044b\u0439 xHTML \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442 \u043d\u0435 \u043c\u0435\u043d\u044f\u044f XML \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u044b. \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u043f\u0440\u0438 \u0441\u043c\u0435\u043d\u0435 \u0434\u0438\u0437\u0430\u0439\u043d\u0430 \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u043c\u0435\u043d\u044f\u0442\u044c\u0441\u044f \u0445\u0435\u0448 XML \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u043e\u0432 \u0430 \u0437\u043d\u0430\u0447\u0438\u0442 \u0441\u0442\u0430\u0440\u044b\u0435 \u0438\u0445 \u043a\u043e\u043f\u0438\u0438 \u0431\u0443\u0434\u0443\u0442 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0430\u043c\u0438 \u0434\u043b\u044f \u043d\u043e\u0432\u044b\u0445 \u0432 IPFS.<\/p>\n<p>  <\/p>\n<p>\u0414\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u043e\u0432\u0438\u043a\u043e\u0432 \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043f\u043e\u0441\u043e\u0431\u0435 \u0442\u043e\u0436\u0435 \u0435\u0441\u0442\u044c \u043f\u043b\u044e\u0441\u044b. \u041e\u043d\u0438 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u043e\u0439 XML \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430 \u043f\u043e\u043b\u0443\u0447\u0430\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u0439 \u043a\u043e\u043d\u0442\u0435\u043d\u0442 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u0431\u0435\u0437 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u0438 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0445 \u0431\u043b\u043e\u043a\u043e\u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u0432\u0442\u043e\u0440\u044f\u044e\u0442\u0441\u044f \u043d\u0430 \u043a\u0430\u0436\u0434\u043e\u0439 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435.<\/p>\n<p>  <\/p>\n<p><a href=\"https:\/\/habr.com\/ru\/post\/489638\/\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/fd3\/316\/1e3\/fd33161e38ad164adb32a3e384cd2f5d.svg\" alt=\"image\"><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-299140","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/299140","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=299140"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/299140\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=299140"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=299140"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=299140"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}