Need Suggesstion -Unable to extract the child node by Interior loop

Hi Guys,

I got stock in one xslt code, Where I have my first loop is to print say(10jan2016 to 16jan2016) and then I need to print the details of <time_Blocks> where Comp Time Earned present for the respective Date. For example When my first loop will encounter the date as 10th jan2016(01102016), it will come to <Time_Blocks> and will look for this 10jan2016(i.e 01102016) <time_block>to search if any Comp Time Earned present if so it will print “yes”. Else it will go come out of the internal look and outer loop will increment and again for the next day it will do the same. My sample xml code is below. Thanks in Advance!!:slight_smile:

                  <Time_Blocks>
		<Date>01112016</Date>
		<Day_of_the_Week>Monday<Day_of_the_Week>
		<TimeIn>07:48 AM</TimeIn>
		<OutTime>05:36 PM</OutTime>
		
	       </Time_Blocks>
	      <Time_Blocks>
		<Date>01122016</Date>
		<Day_of_the_Week>Monday<Day_of_the_Week>
		<TimeIn>07:48 AM</TimeIn>
		<OutTime>05:36 PM</OutTime>
		
	    </Time_Blocks>
	    <Time_Blocks>
		<Date>01142016</Date>
		<Day_of_the_Week>Monday<Day_of_the_Week>
		<TimeIn>07:48 AM</TimeIn>
		<OutTime>05:36 PM</OutTime>
		
	</Time_Blocks>
	<Time_Blocks>
		<Date>01152016</Date>
		<Day_of_the_Week>Monday<Day_of_the_Week>
		<TimeIn>07:48 AM</TimeIn>
		<OutTime>05:36 PM</OutTime>
		
	</Time_Blocks>
	<Time_Blocks>
		<Date>01162016</Date>
		<Day_of_the_Week>Monday<Day_of_the_Week>
		<TimeIn>07:48 AM</TimeIn>
		<OutTime>05:36 PM</OutTime>
		
	
	</Time_Blocks>
	<Time_Blocks>
		<Date>01162016</Date>
		<Earned>Comp Time Earned </Earned>
		<wd:Day_of_the_Week>Saturday</wd:Day_of_the_Week>
		
	</Time_Blocks>

This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/75577-need-suggesstion-unable-to-extract-the-child-node-by-interior-loop