{"name":"squad.xml","title":"squad.xml","type":"topic","url":"https://community.bistudio.com/wiki/squad.xml","revid":373447,"updated":"2025-05-08T11:27:13Z","aliases":[],"markdown":"|  |  |\n|---|---|\n|  | To support the multiplayer community in their effort to play as teams, like many Arma clans and squads are trying to, it is possible to create a common information file - the \"squad.xml\" -, which is stored on a personal webspace or on an FTP server and loaded by the Arma game server, if a member of this team is playing on it.<br>Beside detailed information about the single player and its team which can be gained by pressing \"P\" ingame, the feature supports also a common logo, which will be displayed on vehicles, if such team has boarded it. |\n\n### Preliminaries\n\nIf you feel unfamiliar with the XML file format itself and/or have questions about basic XML markup, you are advised to consult literature, documentation (http://www.w3.org/XML) or tutorials (http://www.w3schools.com/xml/default.asp) as fundamental questions about the XML technology itself will not be covered here. There are multiple resources on in the World Wide Web that can help you learning XML.\n\n### Squad.xml File Content\n\nThe file consist of three main parts:\n\n#### Head\n\nThis part defines the doctype. Just leave it as it is!\n\n```xml\n<?xml version=\"1.0\"?>\n<!DOCTYPE squad SYSTEM \"squad.dtd\">\n<?xml-stylesheet href=\"squad.xsl\" type=\"text/xsl\"?>\n```\n\n#### Squad properties\n\n```xml\n<squad nick=\"ESN\">\n    <name>Example Squad Name</name>\n    <email>email@example.com</email>\n    <web>www.example.com</web>\n    <picture>logo.paa</picture>\n    <title>Use this e.g. for your squads name or your squads URL</title>\n```\n\n| Property | Max-Length | Description |\n|---|---|---|\n| **nick** | 64 | The clan-tag, is displayed together with players nickname. Attention: Don't use reserved XML tags -> Link |\n| **name** | 64 | Squad name |\n| **email** | 64 | Your contact email |\n| **web** | 64 | Your Website Address |\n| **picture** | 64 | Your logo (optional), it has to in the same folder as the \"squad.xml\" file |\n| **title** | 64 | Squad name, displayed on vehicles manned by squad members |\n\n> [!IMPORTANT]\n> Do **not** use any characters beside A-Z, a-z, 0-9 and space in the **nick** attribute inside the **squad** element of your squad.xml.\n>\n> This may lead to strange behaviour e.g. the information from your **member** block is displayed but the information from the **squad** block is not.\n>\n> So, if your Tag is like \"=[TAG]=\", put the value like \"TAG\" into the **nick** attribute of the **squad** element.\n\n#### Member list\n\n```xml\n    <member id=\"123456\" nick=\"=[TAG]= John\">\n        <name>John Doe</name>\n        <email>john.doe@example.com</email>\n        <icq>N/A</icq>\n        <remark>Mostly harmless</remark>\n    </member>\n</squad><!-- closing squad -->\n```\n\n| Property | Max-Length | Description |\n|---|---|---|\n| **id** | N/A | your Player-UID, always the same and irrespective of your selected character |\n| **nick** | 64 | your nick, the same as used with your selected character |\n| **name** | 64 | your \"real\" name... |\n| **email** | 64 | your personal email |\n| **icq** | 64 | your personal ICQ number |\n| **remark** | 128 | as the name says it... |\n\n> [!IMPORTANT]\n> - The value in the **nick** attribute of the **member** element must represent the exact name of your player's profile name.\n> - Note that personal details are completely **optional** and do **not**\n\n> [!NOTE]\n> - You can leave any field blank, but it is recommended to fill it with a \"N/A\" instead.\n> - Extend the members list by adding another XML-\"Member\" block.\n\n### How to get your Player-UID\n\n### Logo Creation\n\nTo create a logo for the use with \"squad.xml\" you'll need:\n\n- a bitmap manipulating software (aka \"Paintprogram\") which is able to handle bitmaps in TGA or JPG format.\n- TexView 2 or the [PAA plugin](http://www.kegetys.fi/arma-tools/) for the use with Adobe Photoshop\n\nFor a logo without transparency you can use an ordinary JPG without further treatment. To get transparency you'll have to convert a TGA to PAA format. It is recommended to alwayd use PAA and to avoid alpha blending.\n\n#### Create the TGA\n\nIn this tutorial we'll use [GIMP](http://www.gimp.org) - a open source tool - to create our sample-logo.\n\n> [!IMPORTANT]\n> All logos must a have resolution of 2^x / 2^y (e.g. 16 / 16, 32 / 32, 64 / 64, 256 /256)\n\nAs this description only covers 'Gimp', [here](http://block2000.horror-fans.com/tutorials/tut_logo.php) is an old tutorial made for Flashpoint, using Photoshop 6 and explaining how to get an alphachannel working within the TGA-Picture (Note: If you're using Photoshop 7, you'll need to [download patch from adobe](http://www.adobe.com/support/downloads/detail.jsp?ftpID=1544), since it does not save alphachannel in targa files). You can stick with 'Texview I' as long as those new tools need time to get published. The whole thing is working the same way like it did in Flashpoint, till now. The linked tutorial was part of newsreports by ofp.info.\n\n#### Convert TGA to PAA\n\n1. Start TexView\n1. Open your \"logo.tga\"\n1. Save it as \"logo.paa\" (replace *.tga with *.paa in the \"save as\"-dialog)\n\n> [!NOTE]\n> Your are absolutely free to name your logo as you like. The filename \"logo.tga\" etc. is just an example.\n\n### Publish your Squad data\n\nTo use the \"squad.xml\" you'll have to upload the following files to a webspace:\n\n- **squad.xml** (mandatory)\n- **squad.dtd** (mandatory)\n- **squad.xsl** (optional), needed to show the \"squad.xml\" in a webbrowser, but isn't needed by the Arma gameserver\n- **logo.paa** (optional)\n\nAll files will have to be in the same directory!\n\n> [!IMPORTANT]\n> .PAA files will not load on IIS 6.0+ without manually adding a custom paa MIME type in the IIS Manager: 'application/octet-stream'\n> See Microsoft Support: [IIS 6.0 does not serve unknown MIME types](http://support.microsoft.com/kb/326965).\n\n### How to use it as a team-member\n\n- You have to have your own member-block in the \"squad.xml\" file\n- Additionally you have to put the **full** URL of the \"squad.xml\" of your team into the \"Clanpage\" field in the player edit-menu (e.g `https://www.example.com/squad.xml`). As reference see the picture \"Arma UID 2\" in section **How to get your Player-UID**.\n\n### Files\n\n#### Download\n\n- [arma_xml_squad_reviewed_for_arma2.zip](http://www.airpressuretendency.net/gfx/arma_xml_squad_reviewed_for_arma2.zip)\n\n#### Source code\n\n##### squad.xml\n\n```xml\n<?xml version=\"1.0\"?>\n<!DOCTYPE squad SYSTEM \"squad.dtd\">\n<?xml-stylesheet href=\"squad.xsl\" type=\"text/xsl\"?>\n<squad nick=\"\">\n    <name></name>\n    <email></email>\n    <web></web>\n    <picture></picture>\n    <title></title>\n    <member id=\"\" nick=\"\">\n        <name></name>\n        <email></email>\n        <icq></icq>\n        <remark></remark>\n    </member>\n</squad>\n```\n\n##### squad.dtd\n\n```xml\n<!ELEMENT squad (name, email, web?, picture?, title?, member+)>\n<!ATTLIST squad nick CDATA #REQUIRED>\n<!ELEMENT member (name, email, icq?, remark?)>\n<!ATTLIST member id CDATA #REQUIRED nick CDATA #REQUIRED>\n<!ELEMENT name (#PCDATA)>\n<!ELEMENT email (#PCDATA)>\n<!ELEMENT icq (#PCDATA)>\n<!ELEMENT web (#PCDATA)>\n<!ELEMENT picture (#PCDATA)>\n<!ELEMENT title (#PCDATA)>\n<!ELEMENT remark (#PCDATA)>\n```\n\n##### squad.xsl\n\n```xml\n<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\n<xsl:stylesheet\n    version=\"1.0\" xmlns:xsl=\"http://www.w3.org/1999/XSL/Transform\">\n<xsl:template match=\"text()\">\n    <xsl:value-of select=\".\"/>\n</xsl:template>\n<xsl:template match=\"*\">\n    <xsl:apply-templates/>\n</xsl:template>\n<xsl:template match=\"/\">\n    <HTML>\n    <HEAD>\n        <TITLE><xsl:value-of select=\"/squad/name\"/></TITLE>\n        <LINK REL=\"stylesheet\" TYPE=\"text/css\" HREF=\"squad.css\"></LINK>\n    </HEAD>\n    <!--\n    XSL template for \"squad.xml\", used in \"Armed Assault\" (Ref: \"http://www.armedassault.com\")\n        and \"{{arma2}}\" (Ref: \"http://www.arma2.com\")\n    See also the Arma-Wiki page: \"http://community.bistudio.com/wiki/squad.xml\"\n    Created by TomNedry, 26.Jan07\n        Reviewed by TomNedry, 15.Jul09\n    License: Creative Common (http://creativecommons.org/licenses/by-nc-sa/2.5/deed.de)\n    To have a squad logo in the HTML output, just put a \"sqd_logo.png\" in the same folder...\n    -->\n    <BODY>\n    <!--Main TABLE -->\n    <TABLE class=\"main\">\n        <TR>\n            <TD class=\"left_row\" valign=\"top\">\n        <!-- Squad Info Table -->\n                <TABLE class=\"sqd_info\">\n                    <TR height=\"30\">\n                        <TD class=\"one\">\n                            <DIV class=\"sqd_name\">\n                                <xsl:value-of select=\"/squad/name\"/>\n                            </DIV>\n                        </TD>\n                    </TR>\n                    <TR height=\"30\">\n                        <TD class=\"two\">\n                            <DIV class=\"sqd_title\">\n                                <xsl:value-of select=\"/squad/title\"/>\n                            </DIV>\n                        </TD>\n                    </TR>\n                    <TR height=\"100%\">\n                        <TD width=\"100%\" height=\"100%\" valign=\"top\">\n                            <DIV class=\"sqd_logo\">\n                                <TR height=\"100%\">\n                                    <TD width=\"100%\" height=\"100%\" valign=\"top\">\n                                        <DIV class=\"sqd_logo\">\n                                            <img alt=\"Picture: Squad Logo\">\n                                                <xsl:attribute name=\"src\">\n                                                    <xsl:value-of select=\"concat(substring-before(/squad/picture,'.paa'),'.png')\"/>\n                                                </xsl:attribute>\n                                            </img>\n                                        </DIV>\n                                    </TD>\n                                </TR>\n                            </DIV>\n                        </TD>\n                    </TR>\n                    <TR height=\"10\">\n                        <TD class=\"sqd_website\">\n                            Web site:\n                            <A>\n                                <xsl:attribute name=\"href\">\n                                http://<xsl:value-of select=\"/squad/web\"/>\n                                </xsl:attribute>\n                                <xsl:value-of select=\"/squad/web\"/>\n                            </A>\n                        </TD>\n                    </TR>\n                    <TR>\n                        <TD class=\"sqd_email\">\n                            e-mail:\n                            <A>\n                                <xsl:attribute name=\"href\">\n                                mailto:<xsl:value-of select=\"/squad/email\"/>\n                                </xsl:attribute>\n                                <xsl:value-of select=\"/squad/email\"/>\n                            </A>\n                        </TD>\n                    </TR>\n                </TABLE>\n        <!-- Squad Info Table -->\n            </TD>\n            <TD class=\"right_row\" valign=\"top\">\n        <!-- Member-Info Table -->\n                <TABLE class=\"member_info\">\n                    <Tr>\n                        <Th>Members</Th>\n                        <Th>e-mail</Th>\n                        <Th>ICQ</Th>\n                    </Tr>\n                    <xsl:for-each select=\"/squad/member\">\n                    <TR>\n                        <xsl:attribute name=\"class\">\n                            <xsl:choose>\n                                <xsl:when test=\"position() mod 2 = 0\">one</xsl:when>\n                                <xsl:otherwise>two</xsl:otherwise>\n                            </xsl:choose>\n                        </xsl:attribute>\n                        <TD class=\"member_name\" rowspan=\"2\">\n                            <xsl:value-of select=\"name\"/>\n                        </TD>\n                        <TD class=\"member_email\">\n                            <A>\n                                <xsl:attribute name=\"href\">\n                                    mailto:<xsl:value-of select=\"email\"/>\n                                </xsl:attribute>\n                                <xsl:value-of select=\"email\"/>\n                            </A>\n                        </TD>\n                        <TD class=\"member_icq\">\n                            <xsl:value-of select=\"icq\"/>\n                        </TD>\n                    </TR>\n                    <TR>\n                        <xsl:attribute name=\"class\">\n                            <xsl:choose>\n                                <xsl:when test=\"position() mod 2 = 0\">one</xsl:when>\n                                <xsl:otherwise>two</xsl:otherwise>\n                            </xsl:choose>\n                        </xsl:attribute>\n                        <TD class=\"member_remark\" colspan=\"2\" valign=\"top\">\n                            <xsl:value-of select=\"remark\"/>\n                        </TD>\n                    </TR>\n                    </xsl:for-each>\n                </TABLE>\n        <!-- Member Info Table -->\n        <!--Main TABLE -->\n            </TD>\n        </TR>\n    </TABLE>\n    <p style=\"font-family:verdana;font-size:7pt;color:darkgrey;text-align: center;padding: 10px;\">\n    \"squad.xsl\" by <strong>TomNedry</strong>, last change: 15.Jul09\n    </p>\n    </BODY>\n    </HTML>\n</xsl:template>\n</xsl:stylesheet>\n```\n\n##### squad.css\n\n```css\n/*\n    CSS template for \"squad.xml\", used in \"Armed Assault\" (Ref: \"http://www.armedassault.com\")\n    and \"Arma 2\" (Ref: \"http://www.arma2.com\")\n    See also the Arma-Wiki page: \"http://community.bistudio.com/wiki/squad.xml\"\n    Created by TomNedry, 26.Jan07\n    Reviewed by TomNedry, 15.Jul09\n    License: Creative Common (http://creativecommons.org/licenses/by-nc-sa/2.5/deed.de)\n*/\n\nbody\n{\n    font-family: Arial, sans-serif;\n    background-color: #EAECE5;\n    margin: 0;\n}\n\na:link\n{\n    text-decoration: none;\n    color: #800000;\n}\na:visited\n{\n    text-decoration: none;\n    color: #800000;\n}\na:hover\n{\n    text-decoration: none;\n    color: #FFF;\n}\na:active\n{\n    text-decoration: none;\n}\na:focus\n{\n    text-decoration: none;\n}\n\nth\n{\n    background-color: #AEB399;\n    font-family: Arial, sans-serif;\n    font-size: 10pt;\n    font-weight: bold;\n    padding: 4px;\n}\n\ntr.one\n{\n    background-color: #DDE4C3;\n    width: 100%;\n    padding: 4px;\n}\ntr.two\n{\n    background-color: #D2D9B8;\n    width: 100%;\n    padding: 4px;\n}\ntd.one\n{\n    background-color: #AEB399;\n    width: 100%;\n}\ntd.two\n{\n    background-color: #E2E9C7;\n    width: 100%;\n}\n.main\n{\n    text-align: center;\n    width: 100%;\n    border: none;\n}\ndiv.sqd_name\n{\n    text-align: center;\n    font-family: Arial, sans-serif;\n    font-size: 12pt;\n    font-weight: bold;\n}\ndiv.sqd_title\n{\n    text-align: center;\n    font-family: Arial, sans-serif;\n    font-size: 10pt;\n}\ndiv.sqd_logo\n{\n    text-align: center;\n    font-size: 8pt;\n    padding: 5px;\n}\n.sqd_info\n{\n    border: 1px dotted darkgrey;\n    width: 100%;\n    padding: 0;\n    border-spacing: 0;\n}\n.sqd_website\n{\n    font-family: Arial, sans-serif;\n    font-size: 10pt;\n    text-align: center;\n    background-color: #AEB399;\n    width: 100%;\n    padding: 4px;\n    border-spacing: 0;\n}\n.sqd_email\n{\n    font-family: Arial, sans-serif;\n    font-size: 10pt;\n    text-align: center;\n    background-color: #AEB399;\n    width: 100%;\n    padding: 4px;\n    border-spacing: 0;\n}\n.left-row\n{\n    vertical-align: top;\n    height: 100%;\n}\n.right-row\n{\n    vertical-align: top;\n    height: 100%;\n}\n.member_info\n{\n    border: 1px dotted darkgrey;\n    width: 100%;\n    padding: 0;\n    border-spacing: 0;\n}\n.member_name\n{\n    font-family: Arial, sans-serif;\n    color: #000;\n    font-size: 10pt;\n    padding: 4px;\n}\n.member_email\n{\n    font-family: Arial, sans-serif;\n    color: #000;\n    font-size: 8pt;\n    padding: 4px;\n}\n.member_icq\n{\n    font-family: Arial, sans-serif;\n    color: #000;\n    font-size: 8pt;\n    padding: 4px;\n}\n.member_remark\n{\n    font-family: Arial, sans-serif;\n    color: #000;\n    font-size: 8pt;\n    text-align: center;\n}\n```\n\n### See Also\n\n- TexView (Operation Flashpoint)\n- TexView 2 (Armed Assault, Arma 2, Arma 3)\n\n### Tools/Programs\n\n- [Squad XML manager](http://forums.bistudio.com/showthread.php?144710-Squad-XML-manager) for use on the Desktop by laxentis [application/exe]\n- [Squad.xml Editor - Open source webtool](http://forums.bistudio.com/showthread.php?117080-Squad-xml-Editor-Open-source-webtool) by TomNedry [source/php]\n- [Squad.xml Editor 2 - Manage multiple squads via a browser](http://forums.bistudio.com/showthread.php?145852-Squad-xml-Editor-2-Manage-multiple-squads-via-a-browser) by TomNedry [source/php]\n- [MyBB Squad.XML managment plugin](http://forums.bistudio.com/showthread.php?145650-MyBB-Squad-XML-managment-plugin) by Jsmuk [source/php]\n\n### Online Arma XML Hoster/Editors\n\nThese hosters allow you to create and edit Arma 3 squad.xml files directly online and you will be provided with a unique link to your squad.xml to put into your game profile.\n\n- [Arma Squads XML Hoster/Editor](http://armasquads.com/) Support all image formats and online image to PAA conversion for transparent squad logos","sections":[{"heading":null,"level":1,"markdown":"|  |  |\n|---|---|\n|  | To support the multiplayer community in their effort to play as teams, like many Arma clans and squads are trying to, it is possible to create a common information file - the \"squad.xml\" -, which is stored on a personal webspace or on an FTP server and loaded by the Arma game server, if a member of this team is playing on it.<br>Beside detailed information about the single player and its team which can be gained by pressing \"P\" ingame, the feature supports also a common logo, which will be displayed on vehicles, if such team has boarded it. |"},{"heading":"Preliminaries","level":3,"markdown":"If you feel unfamiliar with the XML file format itself and/or have questions about basic XML markup, you are advised to consult literature, documentation (http://www.w3.org/XML) or tutorials (http://www.w3schools.com/xml/default.asp) as fundamental questions about the XML technology itself will not be covered here. There are multiple resources on in the World Wide Web that can help you learning XML."},{"heading":"Squad.xml File Content","level":3,"markdown":"The file consist of three main parts:"},{"heading":"Head","level":4,"markdown":"This part defines the doctype. Just leave it as it is!\n\n```xml\n<?xml version=\"1.0\"?>\n<!DOCTYPE squad SYSTEM \"squad.dtd\">\n<?xml-stylesheet href=\"squad.xsl\" type=\"text/xsl\"?>\n```"},{"heading":"Squad properties","level":4,"markdown":"```xml\n<squad nick=\"ESN\">\n    <name>Example Squad Name</name>\n    <email>email@example.com</email>\n    <web>www.example.com</web>\n    <picture>logo.paa</picture>\n    <title>Use this e.g. for your squads name or your squads URL</title>\n```\n\n| Property | Max-Length | Description |\n|---|---|---|\n| **nick** | 64 | The clan-tag, is displayed together with players nickname. Attention: Don't use reserved XML tags -> Link |\n| **name** | 64 | Squad name |\n| **email** | 64 | Your contact email |\n| **web** | 64 | Your Website Address |\n| **picture** | 64 | Your logo (optional), it has to in the same folder as the \"squad.xml\" file |\n| **title** | 64 | Squad name, displayed on vehicles manned by squad members |\n\n> [!IMPORTANT]\n> Do **not** use any characters beside A-Z, a-z, 0-9 and space in the **nick** attribute inside the **squad** element of your squad.xml.\n>\n> This may lead to strange behaviour e.g. the information from your **member** block is displayed but the information from the **squad** block is not.\n>\n> So, if your Tag is like \"=[TAG]=\", put the value like \"TAG\" into the **nick** attribute of the **squad** element."},{"heading":"Member list","level":4,"markdown":"```xml\n    <member id=\"123456\" nick=\"=[TAG]= John\">\n        <name>John Doe</name>\n        <email>john.doe@example.com</email>\n        <icq>N/A</icq>\n        <remark>Mostly harmless</remark>\n    </member>\n</squad><!-- closing squad -->\n```\n\n| Property | Max-Length | Description |\n|---|---|---|\n| **id** | N/A | your Player-UID, always the same and irrespective of your selected character |\n| **nick** | 64 | your nick, the same as used with your selected character |\n| **name** | 64 | your \"real\" name... |\n| **email** | 64 | your personal email |\n| **icq** | 64 | your personal ICQ number |\n| **remark** | 128 | as the name says it... |\n\n> [!IMPORTANT]\n> - The value in the **nick** attribute of the **member** element must represent the exact name of your player's profile name.\n> - Note that personal details are completely **optional** and do **not**\n\n> [!NOTE]\n> - You can leave any field blank, but it is recommended to fill it with a \"N/A\" instead.\n> - Extend the members list by adding another XML-\"Member\" block."},{"heading":"How to get your Player-UID","level":3,"markdown":""},{"heading":"Logo Creation","level":3,"markdown":"To create a logo for the use with \"squad.xml\" you'll need:\n\n- a bitmap manipulating software (aka \"Paintprogram\") which is able to handle bitmaps in TGA or JPG format.\n- TexView 2 or the [PAA plugin](http://www.kegetys.fi/arma-tools/) for the use with Adobe Photoshop\n\nFor a logo without transparency you can use an ordinary JPG without further treatment. To get transparency you'll have to convert a TGA to PAA format. It is recommended to alwayd use PAA and to avoid alpha blending."},{"heading":"Create the TGA","level":4,"markdown":"In this tutorial we'll use [GIMP](http://www.gimp.org) - a open source tool - to create our sample-logo.\n\n> [!IMPORTANT]\n> All logos must a have resolution of 2^x / 2^y (e.g. 16 / 16, 32 / 32, 64 / 64, 256 /256)\n\nAs this description only covers 'Gimp', [here](http://block2000.horror-fans.com/tutorials/tut_logo.php) is an old tutorial made for Flashpoint, using Photoshop 6 and explaining how to get an alphachannel working within the TGA-Picture (Note: If you're using Photoshop 7, you'll need to [download patch from adobe](http://www.adobe.com/support/downloads/detail.jsp?ftpID=1544), since it does not save alphachannel in targa files). You can stick with 'Texview I' as long as those new tools need time to get published. The whole thing is working the same way like it did in Flashpoint, till now. The linked tutorial was part of newsreports by ofp.info."},{"heading":"Convert TGA to PAA","level":4,"markdown":"1. Start TexView\n1. Open your \"logo.tga\"\n1. Save it as \"logo.paa\" (replace *.tga with *.paa in the \"save as\"-dialog)\n\n> [!NOTE]\n> Your are absolutely free to name your logo as you like. The filename \"logo.tga\" etc. is just an example."},{"heading":"Publish your Squad data","level":3,"markdown":"To use the \"squad.xml\" you'll have to upload the following files to a webspace:\n\n- **squad.xml** (mandatory)\n- **squad.dtd** (mandatory)\n- **squad.xsl** (optional), needed to show the \"squad.xml\" in a webbrowser, but isn't needed by the Arma gameserver\n- **logo.paa** (optional)\n\nAll files will have to be in the same directory!\n\n> [!IMPORTANT]\n> .PAA files will not load on IIS 6.0+ without manually adding a custom paa MIME type in the IIS Manager: 'application/octet-stream'\n> See Microsoft Support: [IIS 6.0 does not serve unknown MIME types](http://support.microsoft.com/kb/326965)."},{"heading":"How to use it as a team-member","level":3,"markdown":"- You have to have your own member-block in the \"squad.xml\" file\n- Additionally you have to put the **full** URL of the \"squad.xml\" of your team into the \"Clanpage\" field in the player edit-menu (e.g `https://www.example.com/squad.xml`). As reference see the picture \"Arma UID 2\" in section **How to get your Player-UID**."},{"heading":"Files","level":3,"markdown":""},{"heading":"Download","level":4,"markdown":"- [arma_xml_squad_reviewed_for_arma2.zip](http://www.airpressuretendency.net/gfx/arma_xml_squad_reviewed_for_arma2.zip)"},{"heading":"Source code","level":4,"markdown":""},{"heading":"squad.xml","level":5,"markdown":"```xml\n<?xml version=\"1.0\"?>\n<!DOCTYPE squad SYSTEM \"squad.dtd\">\n<?xml-stylesheet href=\"squad.xsl\" type=\"text/xsl\"?>\n<squad nick=\"\">\n    <name></name>\n    <email></email>\n    <web></web>\n    <picture></picture>\n    <title></title>\n    <member id=\"\" nick=\"\">\n        <name></name>\n        <email></email>\n        <icq></icq>\n        <remark></remark>\n    </member>\n</squad>\n```"},{"heading":"squad.dtd","level":5,"markdown":"```xml\n<!ELEMENT squad (name, email, web?, picture?, title?, member+)>\n<!ATTLIST squad nick CDATA #REQUIRED>\n<!ELEMENT member (name, email, icq?, remark?)>\n<!ATTLIST member id CDATA #REQUIRED nick CDATA #REQUIRED>\n<!ELEMENT name (#PCDATA)>\n<!ELEMENT email (#PCDATA)>\n<!ELEMENT icq (#PCDATA)>\n<!ELEMENT web (#PCDATA)>\n<!ELEMENT picture (#PCDATA)>\n<!ELEMENT title (#PCDATA)>\n<!ELEMENT remark (#PCDATA)>\n```"},{"heading":"squad.xsl","level":5,"markdown":"```xml\n<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\n<xsl:stylesheet\n    version=\"1.0\" xmlns:xsl=\"http://www.w3.org/1999/XSL/Transform\">\n<xsl:template match=\"text()\">\n    <xsl:value-of select=\".\"/>\n</xsl:template>\n<xsl:template match=\"*\">\n    <xsl:apply-templates/>\n</xsl:template>\n<xsl:template match=\"/\">\n    <HTML>\n    <HEAD>\n        <TITLE><xsl:value-of select=\"/squad/name\"/></TITLE>\n        <LINK REL=\"stylesheet\" TYPE=\"text/css\" HREF=\"squad.css\"></LINK>\n    </HEAD>\n    <!--\n    XSL template for \"squad.xml\", used in \"Armed Assault\" (Ref: \"http://www.armedassault.com\")\n        and \"{{arma2}}\" (Ref: \"http://www.arma2.com\")\n    See also the Arma-Wiki page: \"http://community.bistudio.com/wiki/squad.xml\"\n    Created by TomNedry, 26.Jan07\n        Reviewed by TomNedry, 15.Jul09\n    License: Creative Common (http://creativecommons.org/licenses/by-nc-sa/2.5/deed.de)\n    To have a squad logo in the HTML output, just put a \"sqd_logo.png\" in the same folder...\n    -->\n    <BODY>\n    <!--Main TABLE -->\n    <TABLE class=\"main\">\n        <TR>\n            <TD class=\"left_row\" valign=\"top\">\n        <!-- Squad Info Table -->\n                <TABLE class=\"sqd_info\">\n                    <TR height=\"30\">\n                        <TD class=\"one\">\n                            <DIV class=\"sqd_name\">\n                                <xsl:value-of select=\"/squad/name\"/>\n                            </DIV>\n                        </TD>\n                    </TR>\n                    <TR height=\"30\">\n                        <TD class=\"two\">\n                            <DIV class=\"sqd_title\">\n                                <xsl:value-of select=\"/squad/title\"/>\n                            </DIV>\n                        </TD>\n                    </TR>\n                    <TR height=\"100%\">\n                        <TD width=\"100%\" height=\"100%\" valign=\"top\">\n                            <DIV class=\"sqd_logo\">\n                                <TR height=\"100%\">\n                                    <TD width=\"100%\" height=\"100%\" valign=\"top\">\n                                        <DIV class=\"sqd_logo\">\n                                            <img alt=\"Picture: Squad Logo\">\n                                                <xsl:attribute name=\"src\">\n                                                    <xsl:value-of select=\"concat(substring-before(/squad/picture,'.paa'),'.png')\"/>\n                                                </xsl:attribute>\n                                            </img>\n                                        </DIV>\n                                    </TD>\n                                </TR>\n                            </DIV>\n                        </TD>\n                    </TR>\n                    <TR height=\"10\">\n                        <TD class=\"sqd_website\">\n                            Web site:\n                            <A>\n                                <xsl:attribute name=\"href\">\n                                http://<xsl:value-of select=\"/squad/web\"/>\n                                </xsl:attribute>\n                                <xsl:value-of select=\"/squad/web\"/>\n                            </A>\n                        </TD>\n                    </TR>\n                    <TR>\n                        <TD class=\"sqd_email\">\n                            e-mail:\n                            <A>\n                                <xsl:attribute name=\"href\">\n                                mailto:<xsl:value-of select=\"/squad/email\"/>\n                                </xsl:attribute>\n                                <xsl:value-of select=\"/squad/email\"/>\n                            </A>\n                        </TD>\n                    </TR>\n                </TABLE>\n        <!-- Squad Info Table -->\n            </TD>\n            <TD class=\"right_row\" valign=\"top\">\n        <!-- Member-Info Table -->\n                <TABLE class=\"member_info\">\n                    <Tr>\n                        <Th>Members</Th>\n                        <Th>e-mail</Th>\n                        <Th>ICQ</Th>\n                    </Tr>\n                    <xsl:for-each select=\"/squad/member\">\n                    <TR>\n                        <xsl:attribute name=\"class\">\n                            <xsl:choose>\n                                <xsl:when test=\"position() mod 2 = 0\">one</xsl:when>\n                                <xsl:otherwise>two</xsl:otherwise>\n                            </xsl:choose>\n                        </xsl:attribute>\n                        <TD class=\"member_name\" rowspan=\"2\">\n                            <xsl:value-of select=\"name\"/>\n                        </TD>\n                        <TD class=\"member_email\">\n                            <A>\n                                <xsl:attribute name=\"href\">\n                                    mailto:<xsl:value-of select=\"email\"/>\n                                </xsl:attribute>\n                                <xsl:value-of select=\"email\"/>\n                            </A>\n                        </TD>\n                        <TD class=\"member_icq\">\n                            <xsl:value-of select=\"icq\"/>\n                        </TD>\n                    </TR>\n                    <TR>\n                        <xsl:attribute name=\"class\">\n                            <xsl:choose>\n                                <xsl:when test=\"position() mod 2 = 0\">one</xsl:when>\n                                <xsl:otherwise>two</xsl:otherwise>\n                            </xsl:choose>\n                        </xsl:attribute>\n                        <TD class=\"member_remark\" colspan=\"2\" valign=\"top\">\n                            <xsl:value-of select=\"remark\"/>\n                        </TD>\n                    </TR>\n                    </xsl:for-each>\n                </TABLE>\n        <!-- Member Info Table -->\n        <!--Main TABLE -->\n            </TD>\n        </TR>\n    </TABLE>\n    <p style=\"font-family:verdana;font-size:7pt;color:darkgrey;text-align: center;padding: 10px;\">\n    \"squad.xsl\" by <strong>TomNedry</strong>, last change: 15.Jul09\n    </p>\n    </BODY>\n    </HTML>\n</xsl:template>\n</xsl:stylesheet>\n```"},{"heading":"squad.css","level":5,"markdown":"```css\n/*\n    CSS template for \"squad.xml\", used in \"Armed Assault\" (Ref: \"http://www.armedassault.com\")\n    and \"Arma 2\" (Ref: \"http://www.arma2.com\")\n    See also the Arma-Wiki page: \"http://community.bistudio.com/wiki/squad.xml\"\n    Created by TomNedry, 26.Jan07\n    Reviewed by TomNedry, 15.Jul09\n    License: Creative Common (http://creativecommons.org/licenses/by-nc-sa/2.5/deed.de)\n*/\n\nbody\n{\n    font-family: Arial, sans-serif;\n    background-color: #EAECE5;\n    margin: 0;\n}\n\na:link\n{\n    text-decoration: none;\n    color: #800000;\n}\na:visited\n{\n    text-decoration: none;\n    color: #800000;\n}\na:hover\n{\n    text-decoration: none;\n    color: #FFF;\n}\na:active\n{\n    text-decoration: none;\n}\na:focus\n{\n    text-decoration: none;\n}\n\nth\n{\n    background-color: #AEB399;\n    font-family: Arial, sans-serif;\n    font-size: 10pt;\n    font-weight: bold;\n    padding: 4px;\n}\n\ntr.one\n{\n    background-color: #DDE4C3;\n    width: 100%;\n    padding: 4px;\n}\ntr.two\n{\n    background-color: #D2D9B8;\n    width: 100%;\n    padding: 4px;\n}\ntd.one\n{\n    background-color: #AEB399;\n    width: 100%;\n}\ntd.two\n{\n    background-color: #E2E9C7;\n    width: 100%;\n}\n.main\n{\n    text-align: center;\n    width: 100%;\n    border: none;\n}\ndiv.sqd_name\n{\n    text-align: center;\n    font-family: Arial, sans-serif;\n    font-size: 12pt;\n    font-weight: bold;\n}\ndiv.sqd_title\n{\n    text-align: center;\n    font-family: Arial, sans-serif;\n    font-size: 10pt;\n}\ndiv.sqd_logo\n{\n    text-align: center;\n    font-size: 8pt;\n    padding: 5px;\n}\n.sqd_info\n{\n    border: 1px dotted darkgrey;\n    width: 100%;\n    padding: 0;\n    border-spacing: 0;\n}\n.sqd_website\n{\n    font-family: Arial, sans-serif;\n    font-size: 10pt;\n    text-align: center;\n    background-color: #AEB399;\n    width: 100%;\n    padding: 4px;\n    border-spacing: 0;\n}\n.sqd_email\n{\n    font-family: Arial, sans-serif;\n    font-size: 10pt;\n    text-align: center;\n    background-color: #AEB399;\n    width: 100%;\n    padding: 4px;\n    border-spacing: 0;\n}\n.left-row\n{\n    vertical-align: top;\n    height: 100%;\n}\n.right-row\n{\n    vertical-align: top;\n    height: 100%;\n}\n.member_info\n{\n    border: 1px dotted darkgrey;\n    width: 100%;\n    padding: 0;\n    border-spacing: 0;\n}\n.member_name\n{\n    font-family: Arial, sans-serif;\n    color: #000;\n    font-size: 10pt;\n    padding: 4px;\n}\n.member_email\n{\n    font-family: Arial, sans-serif;\n    color: #000;\n    font-size: 8pt;\n    padding: 4px;\n}\n.member_icq\n{\n    font-family: Arial, sans-serif;\n    color: #000;\n    font-size: 8pt;\n    padding: 4px;\n}\n.member_remark\n{\n    font-family: Arial, sans-serif;\n    color: #000;\n    font-size: 8pt;\n    text-align: center;\n}\n```"},{"heading":"See Also","level":3,"markdown":"- TexView (Operation Flashpoint)\n- TexView 2 (Armed Assault, Arma 2, Arma 3)"},{"heading":"Tools/Programs","level":3,"markdown":"- [Squad XML manager](http://forums.bistudio.com/showthread.php?144710-Squad-XML-manager) for use on the Desktop by laxentis [application/exe]\n- [Squad.xml Editor - Open source webtool](http://forums.bistudio.com/showthread.php?117080-Squad-xml-Editor-Open-source-webtool) by TomNedry [source/php]\n- [Squad.xml Editor 2 - Manage multiple squads via a browser](http://forums.bistudio.com/showthread.php?145852-Squad-xml-Editor-2-Manage-multiple-squads-via-a-browser) by TomNedry [source/php]\n- [MyBB Squad.XML managment plugin](http://forums.bistudio.com/showthread.php?145650-MyBB-Squad-XML-managment-plugin) by Jsmuk [source/php]"},{"heading":"Online Arma XML Hoster/Editors","level":3,"markdown":"These hosters allow you to create and edit Arma 3 squad.xml files directly online and you will be provided with a unique link to your squad.xml to put into your game profile.\n\n- [Arma Squads XML Hoster/Editor](http://armasquads.com/) Support all image formats and online image to PAA conversion for transparent squad logos"}],"categories":["ArmA: Armed Assault: Community","ArmA: Armed Assault: File Formats","ArmA: Armed Assault: Multiplayer","Arma 2: Multiplayer","Arma 3: Multiplayer","Real Virtuality File Formats"],"groups":["Multiplayer and Server"]}