


hello, you know how to delete an XML node example with a button????
there is a way to delete a node??
Views
Replies
Sign in to like this content
Total Likes
Having an empty node is not sufficient? Note that when you delete something from the DOM that a remerge of the data and template will happen automatically ...this has caused me grief in the past (if you are getting additional data from an external source).
The command is:
xfa.datasets.data.form1.page1.nodes.remove(xfaObject to remove);
so typically the exppression is like this:
xfa.datasets.data.form1.page1.nodes.remove(xfa.resolveNode("xfa.datasets.data.form1.page1.billingMailAddr"));
Assuming you wanted to remove the billingMailAddr nodes.
Paul
Views
Replies
Sign in to like this content
Total Likes
Yes but it is very dangerous to do that .....why and what are you trying to delete?
Paul
Views
Replies
Sign in to like this content
Total Likes
hello thanks for the reply, I have a set of checkboxes
were selected if I create an XML node with loadXML
Views
Replies
Sign in to like this content
Total Likes
Having an empty node is not sufficient? Note that when you delete something from the DOM that a remerge of the data and template will happen automatically ...this has caused me grief in the past (if you are getting additional data from an external source).
The command is:
xfa.datasets.data.form1.page1.nodes.remove(xfaObject to remove);
so typically the exppression is like this:
xfa.datasets.data.form1.page1.nodes.remove(xfa.resolveNode("xfa.datasets.data.form1.page1.billingMailAddr"));
Assuming you wanted to remove the billingMailAddr nodes.
Paul
Views
Replies
Sign in to like this content
Total Likes