Junior Member
Join Date: Apr 2009
Location: Eindhoven, The Netherlands
Posts: 11
|
Hi guys,
I would like to be able to remove the font formatting from the HTML Output that is generated by Army Builder. This would allow me to just use my own style sheets if I want to display armies for viewing on my own website (rather than having to remove all the <font> tags myself). Is this possible? The other option I have read of is to just apply an xsl stylesheet to the xml in the roster file but this would end up being a bit more involved and I'd like to avoid it. Thanks for any help! |
#1 |
Senior Member
Join Date: Aug 2005
Location: Chicagoland
Posts: 397
|
Another option you could use is to write a JavaScript function to strip all the <font> tags out. You can easily do this with a for loop and walk through the html by tag type (ie font or any other tags you want to remove).
Is the HTML XHTML compatible? -Jamz RPTools.net | MapTool Discord Invite Download Latest MapTool Release | Download Latest TokenTool Release |
#2 |
Junior Member
Join Date: Apr 2009
Location: Eindhoven, The Netherlands
Posts: 11
|
Thanks for the reply! I could just script it by program or even a text editor with regular expressions. I was just curious if there was some option in Army Builder to do it automatically.
It seems well formed so should be xhtml compatible and pretty easily parsable by program. I'll keep playing with it but I appreciate the response. Cheers. |
#3 |
|
|