Let $X$ be an integral scheme. Show that the local ring $\mathcal{O}_{\xi}$ of the generic point $\xi$ of $X$ is a field.
Proof Idea:
Let $U \subset X$ be an affine open so that $U= Spec \hspace{0.5mm} A$ where $A$ is necessarily an integral domain since $X$ is an integral scheme. Since $\overline{\xi}=X$, we must have that every open subset of $X$ contains the generic point $\xi$.
In particular, $ \xi \in U$. Furthermore, since $A$ is an integral domain $(0)$ is a prime ideal whose closure is $A$. Since irreducible schemes have unique generic points we must have that $(0)$ corresponds to our generic point $\xi$.
Thus,
$$ \mathcal{O}_{Spec \hspace{0.5mm} A, (0)} = A_{(0)} = Q(A) $$
where $Q(A)$ denotes the quotient field of $A$. Thus the stalk at $\xi$ for every open affine of $X$ is necessarily a field.
My Question:
I have show that the stalk at $\xi$ for every open affine is a field. How do I use this to show that $\mathcal{O}_{X, \xi}$ is a field? I am thinking some sort of gluing argument but I am pretty stuck.