[I am not a native English speaker, so my sentences may sound strange. ]
I'm studying about complex analytic spaces. For meromorphic functions, I don't know how to define their principal divisors because I don't know the definition of the discrete valuation on analytic space.
Let $X$ be a normal complex analytic space. It seems that a prime divisor $D$ is defined as an irreducible codim 1 closed subspace of $X$. If it were an algebraic variety, we could define the valuation of meromorphic function $f$ on $D$ because its structure ring $\mathcal{O}_D =\mathcal{O}_X/\mathcal{I}$ is 1-dimensional regular Noetherian local ring.
On complex analytic space, $\mathcal{O}_D $ :Noetherian local ring is true, but maybe not even UFD. So HOW define these?