Ciao gente, ho un file XML costruito come qui sotto, mi date una dritta veloce veloce per impaginare i dati in una tabellina?
Mi serve solo uno schema da seguire... XSL? PHP? E' indifferente... (meglio PHP... )
Devo appunto creare una pagina con titolo il nome della squadra e una tabellina con i giocatori in ordine di numero di maglia...
codice:<?xml version="1.0"?> <Data> <FileName>players.asp</FileName> <Version>1.2.5</Version> <UserID>1111</UserID> <FetchedDate>2004-10-06 12:05:43</FetchedDate> <ActionType>view</ActionType> <Team> <TeamID>2222</TeamID> <TeamName>name</TeamName> <PlayerList Count="2"> <Player Index="0"> <PlayerID>3333</PlayerID> <PlayerName>nome</PlayerName> <PlayerNumber>1</PlayerNumber> <Age>22</Age> <MarketValue>1240000</MarketValue> <TSI>1240</TSI> <PlayerForm>6</PlayerForm> <Statement></Statement> <Experience>1</Experience> <Leadership>4</Leadership> <Salary>11948</Salary> <IsAbroad>0</IsAbroad> <Agreeability>0</Agreeability> <Aggressiveness>2</Aggressiveness> <Honesty>2</Honesty> <LeagueGoals>0</LeagueGoals> <CupGoals>0</CupGoals> <FriendliesGoals>0</FriendliesGoals> <CareerGoals>0</CareerGoals> <CareerHattricks>0</CareerHattricks> <Specialty>0</Specialty> <TransferListed>0</TransferListed> <NationalTeamID>0</NationalTeamID> <CountryID>4</CountryID> <Caps>0</Caps> <CapsU20>0</CapsU20> <Cards>0</Cards> <InjuryLevel>-1</InjuryLevel> <StaminaSkill>2</StaminaSkill> <KeeperSkill>5</KeeperSkill> <PlaymakerSkill>1</PlaymakerSkill> <ScorerSkill>1</ScorerSkill> <PassingSkill>1</PassingSkill> <WingerSkill>1</WingerSkill> <DefenderSkill>1</DefenderSkill> <SetPiecesSkill>5</SetPiecesSkill> </Player> <Player Index="1"> <PlayerID>4444</PlayerID> <PlayerName>nome2</PlayerName> <PlayerNumber>2</PlayerNumber> <Age>22</Age> <MarketValue>520000</MarketValue> <TSI>520</TSI> <PlayerForm>6</PlayerForm> <Statement></Statement> <Experience>2</Experience> <Leadership>3</Leadership> <Salary>5479</Salary> <IsAbroad>0</IsAbroad> <Agreeability>3</Agreeability> <Aggressiveness>2</Aggressiveness> <Honesty>2</Honesty> <LeagueGoals>0</LeagueGoals> <CupGoals>0</CupGoals> <FriendliesGoals>0</FriendliesGoals> <CareerGoals>1</CareerGoals> <CareerHattricks>0</CareerHattricks> <Specialty>0</Specialty> <TransferListed>0</TransferListed> <NationalTeamID>0</NationalTeamID> <CountryID>4</CountryID> <Caps>0</Caps> <CapsU20>0</CapsU20> <Cards>0</Cards> <InjuryLevel>-1</InjuryLevel> <StaminaSkill>5</StaminaSkill> <KeeperSkill>1</KeeperSkill> <PlaymakerSkill>4</PlaymakerSkill> <ScorerSkill>3</ScorerSkill> <PassingSkill>4</PassingSkill> <WingerSkill>5</WingerSkill> <DefenderSkill>6</DefenderSkill> <SetPiecesSkill>5</SetPiecesSkill> </Player> </PlayerList> </Team> </Data>