|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
xml filtering
sorry i am new to all this xml.
I ave this xml file containing information about different football teams, and i only want to show the first five teams in the xml file on my website. How do i do this? Thanks |
|
#2
|
|||
|
|||
|
can you show us a sample of the xml file, else we can't really help you. also, here is a site for u to take a look at, it'll show u some basics:
URL |
|
#3
|
|||
|
|||
|
this is the xml file i am using, and it carries on like this for 20 other teams, but i only want to show the first 5 on my webpage. Cheers.
<?xml version="1.0"?> <dataroot> <qryEnglishLeague> <Points>0</Points> <GoalsFor>0</GoalsFor> <GoalsAgainst>0</GoalsAgainst> <Team>Arsenal</Team> <Played>0</Played> <Won>0</Won> <Lost>0</Lost> <Draw>0</Draw> </qryEnglishLeague> <qryEnglishLeague> <Points>0</Points> <GoalsFor>0</GoalsFor> <GoalsAgainst>0</GoalsAgainst> <Team>Aston Villa</Team> <Played>0</Played> <Won>0</Won> <Lost>0</Lost> <Draw>0</Draw> </qryEnglishLeague> ... etc etc, and so on for 20 teams </dataroot> |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > XML Programming > xml filtering |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|