You can use $node.data_map.your_xml_block.content.output.output_text|strip_tags() to recieve a plain text version.
But you'll have to create a custom template operator named strip_tags first: http://ez.no/products/ez_publish_cms/documentation/development/extensions/template_operator
The function could look like this (including all the required stuff described in the above documentation page):
...
case 'strip_tags': {
$operatorValue = $this->strip_tags($operatorValue, $namedParameters['allowable_tags']);
} break;
...
function strip_tags($str, $allowable_tags) {
return strip_tags($str, $allowable_tags);
}
The strip_tags function is already defined i php. All you need to do follow the instructions from the above-mentioned link, and just add the line:
PHPOperatorList[reverse]=strip_tags to template.ini. Remember to clear to cache.
I thought that this method works only for PHP functions with one parameter as stated in the docs:
http://ez.no/products/ez_publish_cms/documentation/development/kernel/custom_template_operators (Notes/Limitations)
Does this work for PHP functions with more than one parameters yet or does it work because the second paramter of strip_tags is optional?
Anyway, if it does, Mads way is surely the easier one.
The method only works with functions that take one parameter, but as you mention the second parameter of strip_tags is optional. This must be the reason, why it works in this case. I have succesfully used the simple method.