I need to use the value of the grandchild provided. I tried but was unable to fetch the value of the grandchild.
This is the xml provided to me
You're pretty close, but there's a couple things here:
xsl-foreach - apply-templates is the better approach./b and in your xsl quotes class="entity'Products element which wraps ProductHere's one way to do this:
Working fiddle here