The plainTextToXHTML
accessor converts plain text to formatted XHTML.
The text is supplied in an XML element which is referenced using an XPointer reference.
Whitespace linebreaks are detected and converted to <br/>
breaks.
Multiple-repeated linebreaks are ignored. URI references (http:, mailto:) within the plain text
are parsed and converted to links <a href="ref">ref</a>
.
The result is a <div>
block fragment containing the XHTML formatted text.