I think because no one finds this useful, and it would be too difficult. If someone wants to define an XML language, such as XML Schema, they are likely to use XML primitives such as elements or attributes (using XML Schema, Relax NG, DTD, etc.), rather than characters. One of the reasons XML was invented is the presence of metalanguages ββfor creating other languages.
source share