spewn
Programmer
- May 7, 2001
- 1,034
here's an example:
originally i was using the data pull, then i'm parsing the file using loops and arrays, but it's tidious and as the file gets more complex with information, i'm finding that this is probably the most inefficient way possible.
using CGI::Simple, or another module if my server supports it (i cannot add or change modules installed), i want to be able to import, then parse, then use the information.
any ideas? i know there is a lot of documentation online, but i'm in my second day and kind of burned out from my loops and arrays idea.
thanks!
- g
Code:
<?xml version="1.0"?>
<RaceListResponse>
<AccountType>User</AccountType>
<AccountStatus>Enabled</AccountStatus>
<RaceInfo>
<RaceItem>
<RaceLocation>98</RaceLocation>
<RaceTime>10</RaceTime>
<NumberOfRacers>24</NumberOfRacers>
<RaceStops>
<FoodItem>
<FoodName>Op</FoodName>
<FoodType>
<a:string>1</a:string>
</FoodType>
</FoodItem>
<FoodItem>
<FoodName>Rt</FoodName>
<FoodType>
<a:string>2</a:string>
</FoodType>
</FoodItem>
</RaceStops>
<IdGroup>6</IdGroup>
</RaceItem>
</RaceInfo>
<RaceStillLive>true</RaceStillLive>
</RaceListResponse>
originally i was using the data pull, then i'm parsing the file using loops and arrays, but it's tidious and as the file gets more complex with information, i'm finding that this is probably the most inefficient way possible.
using CGI::Simple, or another module if my server supports it (i cannot add or change modules installed), i want to be able to import, then parse, then use the information.
any ideas? i know there is a lot of documentation online, but i'm in my second day and kind of burned out from my loops and arrays idea.
thanks!
- g