While reading articles about statistical inference and SMC algorithms I have come by the following notation (never seen in school) to represent the expectation w.r.t. a measure $\mu$
$$ \mathbb{E}[\phi(X)] = \int\phi(x) \mu(\text{d}x), $$
which I have come to understand means
$$ \int\phi(x) \text{d}\mu(x), \text{ or } \int\phi(x) \mu'(x)\text{d}x. $$
However, when defining the empirical measure $\mu_N(\text{d}x)$
$$ \mu_N(\text{d}x) := \frac{1}{N}\sum^N_{i=1}\delta_{X^i}(\text{d}x), $$
does the notation
$$ \text{d}\delta_{X^i}(x) $$
make any sense? Or can we just use notation
$$ \delta_{X^i}(x)\text{d}x $$ in this case?