I am trying to read a 40MB large XML with PHP’s XMLReader but I cannot get the contents of fields such as:
<pos>&n;</pos>
<misc>&abbr;</misc>
they have definitions in the file such as:
<!ENTITY abbr "abbreviation">
<!ENTITY n "noun (common) (futsuumeishi)">
but how to I get them to be displayed?
thanks!
Try the
XMLReader::SUBST_ENTITIESoption as documented on this page.