Input Form copy xml node

emilr19993875

18-09-2018

Hi,

I have a schema that contains an XML element with XML nodes. I try to duplicate one of the nodes, and that works fine until I want to save then it compliance that it can't find the key values for the element box. If I create a new node then it's no problems to save.

Does anyone know how to fix this?

<input label="Duplicate block" type="button">

                    <enter>

                      <reset xpath="@id"/>

                      <copyElement exprDst="'../box['+(NodeCount([../box])+1)+']'"

                                   xpathSrc="."/>

                    </enter>

</input>

//Emil

Accepted Solutions (0)

Answers (0)