XML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreXML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
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  
Old July 7th, 2003, 01:56 PM
boomboom boomboom is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 3 boomboom User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
  #2  
Old July 7th, 2003, 04:13 PM
areved areved is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: Phoenix, Arizona
Posts: 3 areved User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
  #3  
Old July 8th, 2003, 09:36 AM
boomboom boomboom is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 3 boomboom User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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>

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreXML Programming > xml filtering


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway