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

xpath add a new instance of a node

tommyk56668182
Level 2
Level 2

Hi,

We have a process that will convert a lot of documents to PDF/A and for each document we will update a xml-variable

with some data using Set Value -

<convert>

    <result>

        <filename>test.docx</filename>

        <status>-1</status>

        <errorcode>1234</errorcode>

    </result>

</convert>

is is possible to use a xpath-expression to add a new instance of a node (result) in Set Value in Workbench for the next documents?

The xml-variable is using a xsd with result-node set to maxOccurs = unbounded (<xs:element name="result" maxOccurs="unbounded">)

Any ideas?

regards

Tommy

0 Replies