PDA

View Full Version : Edit XML question



Booker Grimm
September 9th, 2022, 18:30
When exporting a character from Classic FG the xml used to load into a site I use to produce a PDF character sheet.
There was a thread that I can no longer find that showed you how to edit the first two lines of the XML with the UNITY export so that it would work with the site.

Here is the current export XML lines from UNITY, but it needs to be edited to work with the site below.
Can anyone help? I know it's possible but haven't had to do it in ages and have forgotten what needs changing.

<?xml version="1.0" encoding="utf-8"?>
<root version="4.2" dataversion="20220411" release="8.1

Here is the site I used to be able to load the XML into to produce the PDF.
https://fantasygrounds2pdf.vercel.app/

Thanks for any help.

Griogre
September 9th, 2022, 20:16
Try


<?xml version="1.0" encoding="iso-8859-1"?>
<root version="3.3" release="8|CoreRPG:4">


I'm not sure of the release attribute. Note the encoding is basically old ASCII so if the character sheets use stuff other than basic alpha numerics you are likely to have some bad characters.