Execute commands from an XML part (W/P)

Modified on Mon, 5 Oct at 1:52 PM

This feature enables users to read, write and execute Alloy commands from an XML part in both Word and PowerPoint. To do so, we have developed three commands that 1) edit an XML part, 2) execute the XML part, and 3) delete the XML part.

Modules are located here:

...\ModuleLibrary\BaseExtensions\04_nocontext_MISC


Edit an XML part

This command opens a dialog where content can be added or edited for a specific XML part. Input the Alloy commands into the field that changed the value of the XML part.

CMD

<Cmd case="BaseExtensions:EditXmlPart" title="x"/>

Parameter

title

Define the title or key of the XML part concerned. No characters but a-Z should be used.


Execute an XML part

This command executes the command(s) that are stored in the specified XML part.

CMD

<Cmd case="BaseExtensions:ExecuteXmlPart" title="x"/>

Parameter

title

Define the title or key of the XML part concerned. No characters but a-Z should be used.


Delete an XML part

This command simply deletes the specified XML part.

CMD

<Cmd case="BaseExtensions:DeleteXmlPart" title="x"/>

Parameter

title

Define the title or key of the XML part concerned. No characters but a-Z should be used.


XML viewer

You can view XML parts in a GUI, read more here.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article