Re: Insert current timestamp as a value to an attribute?
Radu Coravu
Hello Wito, You can see here examples of how the function is called, it needs to have a quoted literal as a parameter: https://www.oxygenxml.com/doc/versions/23.0/ug-editor/topics/oxy-allows-child-element.html About your question of needing an activation xpath, when the
content completion window is populated, if the action's xpath
condition is not fulfilled, the action is not added to the content
completion window. I know that in your case the action is a simple
element but there might be more complex actions which may require
more complex activation xpaths (for example the action may insert
an element somewhere else in the document or it may insert
multiple elements or text) so this extra added flexibility is not
bad. Regards, Radu Radu Coravu Oxygen XML Editor On 1/18/21 18:19, Wito Zoerkler wrote:
Hi Radu,
|
|