$field->xml()

Converts the field content to valid XML

Example

<?php echo $page->title()->xml() ?>