Hello Shelagy,
The baptismal records for Dublin City and County Dublin are between two sites. www.rootsireland.ie and www.irishgenealogy.ie
I went onto rootsireland and found a David mc carthy born 1894-1896 . I then put in the fathers name denis and the same record showed up. I'd safely say this is your man.
If you go to this site, it costs nothing to search through the records but you must pay to view the one you think maybe yours. about €5 .
So it's great when you have a parents name to narrow down your search, I think it might be worth viewing this one.
When you scroll down the left side of the page , click on county genealogy centres. This will take you to a map of Ireland and Dublin has two centres in green. you want the swords heritage centre. The centre in red can be found at the irishgenealogy site.
I put in the info and went down the page to parish/district drop down menu. I searched each parish for this record.
I found it in the parish of St. Pauls RC, ArranQuay
Hope it yields loads of info for you,
regards,
Anne