An XML element with a list of characters enclosed in ![CDATA[]]
so they're treated as characters, not as XML markup.
<list><![CDATA[some-chars-here]]></list>
The characters list is very long. I want to have subsets of the list, each defined in a variable (formally, in an entity reference)
<!DOCTYPE engineMetadata [
<!ENTITY set1 "set1-chars">
<!ENTITY set2 "set2-chars">
]>
that can be used as <list><![CDATA[&set1;&set2]]></list>
. This doesn't work, if for the only reason that entity references are now treated as characters, not as XML markup.
Is there a proper way or a workaround to do that?