xpath add a new instance of a node | Community
Skip to main content
Level 2
October 10, 2019
Question

xpath add a new instance of a node

  • October 10, 2019
  • 0 replies
  • 1098 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.