The forum replaces ": p" with a smiley icon, so in the below code, replace the icon with : p (no space between : and p).
Replace
<a href='<daxath/>'>View Files</a>
and
<a href='<daxath/>\Notes.pdf'><dax:condition/></a>
with
<a href="<daxath/>">View Files</a>
and
<a href="<daxath/>\Notes.pdf"><dax:condition/></a>
and it will work with paths that include an apostrophe. Not sure why.