Citing a short story within a collection within another collection Its collections all the way down today.
I am usually pretty sure about my works cited pages, but I just ran into something that has me stumped.
I am citing &quot;Araby&quot; from James Joyce's Dubliners. However, the only copy I have access to right now is the Barns &amp; Nobel Classics edition, which contains both Dubliners and A Portrait of the Artist as a Young Man.
So far, this is what I've come up with:

Joyce, James. A Portrait of the Artist as a Young Man and Dubliners.
Barnes &amp; Nobel Classics, 2004.

and

Joyce, James. &quot;Araby.&quot; A Portrait of the Artist as a Young Man and
Dubliners. Barnes &amp; Nobel Classics, 2004. pp. 249-254.

Ignoring my lack of hanging indent, are either of these correct?
How formal your citation must be depends on your audience. Course paper? Thesis? Article for a literary journal?
That citation will allow your reader to find and verify what you have to say.
If what you're writing is scholarly, you might want to find the original publication date, and put (reprinted) in the citation. If it's really scholarly you might have to look at the original somehow.
By the way, the text is available at Project Gutenberg. Adding that url will help your readers even if it's not an official source:
https://www.gutenberg.org/files/2814/2814-h/2814-h.htm