XXE not only supports generated content but also supports replaced content. This means that content may be used for any element and not only for :before and :after pseudo-elements. When used for an actual element, it replaces what is normally displayed for this element.
Therefore, in what follows, generated content generally means generated or replaced content.