xpath add a new instance of a node

tommyk56668182 10-10-2019

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

Accepted Solutions (0)

Answers (0)