Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

Input Form copy xml node

emil_rowland
Level 2
Level 2

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

0 Replies