Go to Post The bleachers at a FIRST competition should be full of people blasting energy out of every pore of their bodies. - dlavery [more]
Home
Go Back   Chief Delphi > Competition > Rules/Strategy > Scouting
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #16   Spotlight this post!  
Unread 31-12-2002, 10:45
Jack's Avatar
Jack Jack is offline
FIRST Scouting Network
AKA: Andrew Schenk
FRC #0201 (The FEDS)
Team Role: Alumni
 
Join Date: Feb 2002
Rookie Year: 2002
Location: Rochester Hills
Posts: 643
Jack is a jewel in the roughJack is a jewel in the roughJack is a jewel in the rough
Send a message via AIM to Jack
Quote:
Originally posted by jonathan lall
Here's what I mean. This is an example of how a simple XML-based scouting sheet could look:

Code:
<?xml version="1.0" encoding="utf-8"?>
<scoutinfo>
	<team number="188" name="Woburn Robotics"></team>
	<robot name="Blizzard 3" type="goalbot"></robot>
	<goals number="2">excellent</goals>
	<balls number="0">N/A</balls>
	<traction>excellent</traction>
	<speed>good</speed>
	<motorpower number="6">excellent</motorpower>
	<gearbox type="one-speed"></gearbox>
	<gohome boolean="true">poor</gohome>
	<comments rating="8">
That's one nice robot. Fairly fast, really powerful, won't let go of goals involuntarily.
	</comments>
</scoutinfo>
All elements here are concrete values, whereas the attributes are more subjective. Since it's extensible, missing info shouldn't be a problem. There are a few ways we could do its DTD. All the attribute names are type, name, boolean, and number.
Yep. That's what i'll do. And thanks guys; I thought xml was much more involved that what it is. Very easy to do stuff in php.

PS: When outputting the data, should i just do some while( ) {} loops with echos, or are there any special xml output functions in php?

PPS: When people want to dump data from their palm and upload it to the site, should that be in CSV? or can palms (or whoever writes the program) do the dump in xml?
__________________
Team 201 - 2003 Great Lakes Semifinalists & 2003 Archimedes Division Finalists :|: Webmaster of www.feds201.com -> FBI Scouting
Winner of The 2003 ChiefDelphi Web Award for: User That Started The Most Non Chit Chat Threads
Winner of: 2003 FIRST Ventures with 5451.68 End Points

All about me: http://knehcsa.vze.com
**Check out the New FIRST Scouting Network**
 


Thread Tools
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 Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
White Paper Discuss: Standard Drive Photos CD47-Bot Extra Discussion 5 20-11-2003 20:00
Standard Operating Procedure K. Skontrianos General Forum 7 01-03-2003 14:02
We have to organize to win archiver 2001 18 24-06-2002 00:00
Seeding Calculations archiver 2000 50 23-06-2002 21:57
Need pinout for tether adaptor archiver 1999 4 23-06-2002 21:55


All times are GMT -5. The time now is 19:28.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi