wanted to followup on this one..... as i am working on the check-in process now.......
1.) in the instructions, it mentions using the same formula from the check-out button. I did -
concat(substring-before(substring-after(/processing-instruction()[local-name(.) = "mso-infoPathSolution"], 'href="'), ...