Guest Rose Posted September 21, 2006 Share Posted September 21, 2006 I have a quest about variable.<inouts total="40.6"> <inout dayT="Mon 28" total="0"> <inoutpair in="" out=""/> </inout> <inout dayT="Tue 29" total="9.6"> <inoutpair in="08:10a" out="05:45p"/> <inoutpair in="06:10p" out=""/> </inout> <inout dayT="Wed 30" total="9.6"> <inoutpair in="08:11a" out="05:45p"/> <inoutpair in="06:10p" out=""/> </inout> <inout dayT="Thur 31" total="9.6"> <inoutpair in="08:12a" out="05:45p"/> <inoutpair in="06:10p" out=""/> </inout> <inout dayT="Fri 01" total="9.6"> <inoutpair in="08:13a" out="05:45p"/> <inoutpair in="06:10p" out=""/> <inoutpair in="06:30p" out="10:45p"/> </inout> <inout dayT="Sat 02" total="9.6"> <inoutpair in="08:14a" out="05:45p"/> <inoutpair in="06:10p" out=""/> </inout> <inout dayT="Sun 03" total="9.6"> <inoutpair in="08:15a" out="05:45p"/> <inoutpair in="06:10p" out=""/> </inout> </inouts>this is inouts.xml file. from this file I want to print out in/out data for the day that has the most inout pairs. From this XML data above, it should be on Friday(3 pairs) .thout put should be:IN 08:13aOUT 05:45pIN 06:10pOUTIN 06:30pOUT 10:45pthanksssss for any help! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now