You don't handle the case yet that the character handler is called multiple times for a single node. The node <example>one two three</example> can actually be passed to the handler as "one tw" and "o three" or similar. You have to do concatenation yourself. Sebastian