why twig code {% set code = code(_self) %} doesn't work in xml template.
<!-- src/Acme/DemoBundle/Resources/views/Demo/hello.xml.twig -->
<hello>
<name>{{ name }}</name>
</hello>
{% set code = code(_self) %}
like it works in html template.
{% extends "AcmeDemoBundle::layout.html.twig" %}
{% block title "Hello " ~ name %}
{% block content %}
<h1>Hello {{ name }}!</h1>
{% endblock %}
{% set code = code(_self) %}
code?{% set code = code(_self) %}is usefull in displaying Controller Code and Template Code used for the same routecodeTwig function ?