trevorgall
November 3rd, 2014, 13:02
Hey
I wanted to use my FG XML character files, and display on my google site. Also have seen some people asking about printing a char sheet from FG XML file.
Spent a few hours on Sunday creating this XSLT file.
Maybe someone has done aready, but enjoy if you haven't.
THIS IS FOR A PATHFINDER SHEET. HAVE NOT TRIED FOR OTHER PLATFORMS.
Just take the XML file from the characters folder (copy it) and add after first line..
<?xml-stylesheet href="char.xslt" type="text/xsl" ?>
Download the attached zip file and extract char.xslt , put in same folder as your chars.
Then open the copied/editted XML file in browser and VOILA!
If you want the html output on your web site, I could not work out how to do with the XML and XSLT on the site. So just view source in your browser, copy and paste to your web page source.
eg see example from my Google site below.
This is a first draft of the xslt. Will clean up. Colours are a bit wonky.
if you print the web page of course, you then have a printed char sheet.
See attached...and web link below..
https://sites.google.com/site/thegolemslair/the-par/player-5
If you find useful, let me know.
Regards
Trevor.
I wanted to use my FG XML character files, and display on my google site. Also have seen some people asking about printing a char sheet from FG XML file.
Spent a few hours on Sunday creating this XSLT file.
Maybe someone has done aready, but enjoy if you haven't.
THIS IS FOR A PATHFINDER SHEET. HAVE NOT TRIED FOR OTHER PLATFORMS.
Just take the XML file from the characters folder (copy it) and add after first line..
<?xml-stylesheet href="char.xslt" type="text/xsl" ?>
Download the attached zip file and extract char.xslt , put in same folder as your chars.
Then open the copied/editted XML file in browser and VOILA!
If you want the html output on your web site, I could not work out how to do with the XML and XSLT on the site. So just view source in your browser, copy and paste to your web page source.
eg see example from my Google site below.
This is a first draft of the xslt. Will clean up. Colours are a bit wonky.
if you print the web page of course, you then have a printed char sheet.
See attached...and web link below..
https://sites.google.com/site/thegolemslair/the-par/player-5
If you find useful, let me know.
Regards
Trevor.