Hi,
warning - your <action> 'txtadd' and the internal action 'txtadd()' have both the same name!
that means the your action will never be called! (internal actions come first)
the other thing - you want to "insert" text (between <html> and </html>), this is not possible!
but you could just add them too, or split them to header and trailer tags and add them,
e.g.
|
Quellcode
|
1
2
3
4
5
6
7
8
9
10
11
|
<data name="empty">
</data>
...
<action name="buildtext">
txtadd(data[empty].content, get(data[empty].content), '<html>');
txtadd(data[empty].content, get(data[empty].content), 'text1', '<br/>');
...
txtadd(data[empty].content, get(data[empty].content), '</html>');
</action>
|
best regards,
Klaus