How do we get the Longest Booking in XPATH 1.0?
问题 How can I get the name of the person who has the longest Booking using the attribute StartDate and EndDate belwo i menioned the xml dummy data i have like 12 diffrent datas and more people , the version i am using for xpath is 1.0 <rent number="101111"> <car> <startDate>2018-02-08</startDate> <endDate>2018-03-05</endDate> <Location>Toranto</Location> <carType>BMW</carType> <transmissionType>Automatic</transmissionType> </car> <person> <licenseNumber> 02389749372 </licenseNumber> <name>Alexa