I am trying to import XML data into pre-fixed PDF form. The PDF forms are elaborate and have many named fields. An example of two named fields are "Consequence" and "Cause". So, for this example i will have an XML as following :
<multiple>
<Causes> leak </Causes>
<Consequences> fire and explosion </Consequences>
</multiple>
How do I do import this XML into specific PDF form fields programatically? I would prefer Python however I am okay if it is JavaScript