I would like with the txtadd (??,text,text); functions to add texts directly in < date name ="dataname"> text,text </ date >".
Is this possible?
best regards
I would like with the txtadd (??,text,text); functions to add texts directly in < date name ="dataname"> text,text </ date >".
Is this possible?
best regards
Hi,
the 'contents' of the <action>, <data> and <scene> tags can be accessed with 'content' attribute
e.g.
so:
should do it
edit: sorry my example was wrong - get(data[dataname].content) is required!
this is correct:
best regards,
Klaus
Thank for your answer.
best regards
I do not know how to make this.
I have:
plugin/hotspot
action...
<action name="txtadd">
txtadd(?????, 'text 001', '<br />');
txtadd(?????, 'text 002', '<br />');
txtadd(?????, 'text 003', '<br />');
txtadd(?????, 'text 004', '<br />');
txtadd(?????, 'text 005', '<br />');
txtadd(?????, 'text 006', '<br />');
</action>
I have to get something like this:
<data name="empty">
<html>
text 001
text 002
text 003
text 004
text 005
text 006
</html>
</data>
help ...
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.
<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>
Display More
best regards,
Klaus
Thank you Klaus.
best regards
Don’t have an account yet? Register yourself now and be a part of our community!