This may be a dumb question, but I have to learn xpath for work in a matter of week, which isn't a problem, but I'm having an issue with one string of logic. This is for some docs where I need the date to populate only when the borrowers first name = true:


Substring-after(concat(Boolean(//LUXML/Application/Applicants/Applicant[BorrowerTypeDesc/BorrowerTypeID=1]/Name/FirstName), fn!{current-dateTime()}), ‘true’)

does this logic make any sense, or am I looking in the wrong place?

Please help!