1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
.. _text_section:
Character Data
====================
Character data content of elements, that supports it according to SVG Specification
(**text**, **desc**, **title**, **style** etc), is passed to the user code by the
*Text Events Policy*.
::
struct text_events_policy_concept
{
template<class Range>
static void set_text(Context & context, Range const & text);
};
It is not guaranteed that sequential blocks of text will be joined together.
``set_text`` is called for each TEXT or CDATA node returned by XML parser.
|