Jump to content
Sign in to follow this  
GR7

Squad XML Server Problem?

Recommended Posts

Been trying to set up a squad xml system for the guys I play with, we have one xml for each rank. The problem I am having is that it is only working for the first person in each rank. I can't for the life of me figure out what is causing this. Could it be the server we have the xml hosted on? Here is an example xml.

<?xml version="1.0"?>

<?DOCTYPE squad SYSTEM "squad.dtd"?>

<?xml-stylesheet href="squad.xsl?" type="text/xsl"?>

<squad nick="rdvVDV">

<name>VDV Airborne</name>

<email>vdvairborne at gmail.com</email>

<web>vdvairborne.com/forum</web>

<picture>logo.paa</picture>

<title></title>

<member id="#######" nick="####">

<name>#####</name>

<email>#####</email>

<icq>######</icq>

<remark>#########</remark>

</member>

<member id="#########" nick="#######">

<name>####</name>

<email>####</email>

<icq>######</icq>

<remark>######</remark>

</member>

</squad>

So in that above example it is only loading the first member, anything after that does not show. Everyone after that gets the info from the first member but they do not get the rank.

Really appreciate any help, thanks.

Share this post


Link to post
Share on other sites

This is how Ive got mine setup,

<?xml version="1.0"?>
<!DOCTYPE squad SYSTEM "squad.dtd">
<?xml-stylesheet href="squad.xsl?" type="text/xsl"?>
<squad nick="WTF">
<name>Whiskey-Tango-Foxtrot</name>
<email>whiskey-tango-foxtrot-uk@hotmail.co.uk</email>
<web>www.whiskey-tango-foxtrot.co.uk</web>
<picture>logo.paa</picture>
<title></title>




  <member id="##" nick="##">
	<name>##</name>
	<email>N/A</email>
	<icq>N/A</icq>
	<remark>N/A</remark>
</member>


  <member id="##" nick="##">
	<name>##</name>
	<email>N/A</email>
	<icq>N/A</icq>
	<remark>N/A</remark>
</member>


  <member id="##" nick="##">


	<name>##</name>
	<email>N/A</email>
	<icq>N/A</icq>
	<remark>N/A</remark>
</member>


  <member id="##" nick="##">
	<name>##</name>
	<email>N/A</email>
	<icq>N/A</icq>
	<remark>N/A</remark>
</member>


  <member id="##" nick="##">


	<name>##</name>
	<email>N/A</email>
	<icq>N/A</icq>
	<remark>N/A</remark>
</member>
</squad>


Share this post


Link to post
Share on other sites

The only thing I saw different was this line...

<?DOCTYPE squad SYSTEM "squad.dtd"?>

Changed it to match the

<!DOCTYPE squad SYSTEM "squad.dtd">

Still nothing though. Could you maybe post your squad.dtd?

Share this post


Link to post
Share on other sites
The only thing I saw different was this line...

<?DOCTYPE squad SYSTEM "squad.dtd"?>

Changed it to match the

<!DOCTYPE squad SYSTEM "squad.dtd">

Still nothing though. Could you maybe post your squad.dtd?


<!ELEMENT squad (name, email, web?, picture?, title?, member+)>
<!ATTLIST squad nick CDATA #REQUIRED>


<!ELEMENT member (name, email, icq?, remark?)>
<!ATTLIST member id CDATA #REQUIRED nick CDATA #REQUIRED>


<!ELEMENT name (#PCDATA)>
<!ELEMENT email (#PCDATA)>
<!ELEMENT icq (#PCDATA)>
<!ELEMENT web (#PCDATA)>
<!ELEMENT picture (#PCDATA)>
<!ELEMENT title (#PCDATA)>
<!ELEMENT remark (#PCDATA)>


---------- Post added at 23:01 ---------- Previous post was at 22:50 ----------

Ive uploaded my complete files.

All you need to do, is replace the logo.paa & sqd_logo.png.

Then fill in the details in squad.xml

https://rapidshare.com/files/3963335704/WTF squad logo.zip

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×