>For example, if I have the following node :
>          <toto class="titi">
>                    <titi>bla bla</titi>
>          </toto>
>I want to get the following string : "<toto class="titi">\n<titi>bla
>bla</titi>\n</toto>"

Possible, yes. Trivial, no.

What I'd try would be create a set of templates that understand how to
render XML structure as XML text, put those in a mode (so they only run
when that mode is selected), and then set up a template for <toto/> which
sets that mode and then re-processes itself.

Reply via email to