get block content by layout xml block name magento code example
Example 1: print text from xml layout magento 2
<arguments>
<argument translate="true" name="text" xsi:type="string">About Us</argument>
</arguments>
Example 2: print text from xml layout magento 2
<argument translate="true" name="text" xsi:type="string"><![CDATA[<div class="label">About Us</div>]]></argument>