Kevin Flynn wrote: > Is it possible to control the name of a processing instruction inserted > with XXE?s insertNode function? When I insert a PI in this way, it has > the name ?target?. I don?t know whether this is a program default or > something I have inadvertently specified. Either way, I?d like to be > able to determine the name myself if possible.
All PIs created in XXE systematically have string 'target' as their target. This string is intended to be a placeholder. Immediately after using insertNode, you need to use command editPITarget (http://www.xmlmind.com/xmleditor/_distrib/docs/commands/ch06s18.html) to replace placeholder 'target' by the actual target of the newly created PI. Of course, I agree that insertNode (http://www.xmlmind.com/xmleditor/_distrib/docs/commands/ch06s28.html) could be enhanced to allow to directly specify the target of the newly created PI.

