...my form-fillable PDF character sheet allows the user to save their form data as an XFDF file. It's basically descriptions of page form elements and their values, such as the names and values for text fields, stored in an XML format. I currently use it as an option for transferring character data from one sheet to another after I squash a bug or two and need to release an update for the form. I'll attach an example, saved from my current character sheet.
Is it possible to examine the XML data, and extract relevant information for use in maptool?
(I'm looking at lmarkus' framework potentially, as it's a Pathfinder sheet)
Some of the fields utilize arrays to keep track of various bonuses, which honestly are a bit open to user error for the translation into token properties.
Example
Code: Select all
<field name="weap_dmgbonus_1_breakdown"
><value
>Strength Modifier-:-0-:-Enhancement-:-1-:--:-0-:--:-0-:--:-0-:--:-0</value
></field
>
Example
Code: Select all
<field name="weap_dmgbonus_1"
><value
>1</value
></field
>