indefined HTML entities
Added by Anonymous over 19 years ago
Legacy ID: #3166981 Legacy Poster: sLabriki (slabriki)
Why SAXON doesn't recognize some HTML entities like &fnof, &circ ? My big documents are many occurrences of these entities and I can't modify them (jsute with writng a programm that manipulate text or binary files). How can we force SAXON to ignore that ? Or how can we correct that ? Thank you for any answer.
Replies (2)
RE: indefined HTML entities - Added by Anonymous over 19 years ago
Legacy ID: #3167054 Legacy Poster: Michael Kay (mhkay)
In XML, the only entities that are recognized are those that are defined in your DTD. This is a question about the XML specification and XML parsers, it has nothing directly to do with Saxon. There are DTD files (somewhere, I'm afraid I don't know where) that you can include in your DTD to declare these entities. Michael Kay
RE: indefined HTML entities - Added by Anonymous over 19 years ago
Legacy ID: #3167527 Legacy Poster: Kevin Rodgers (notorious_kev)
http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent http://www.w3.org/TR/xhtml1/DTD/xhtml-special.ent http://www.w3.org/TR/xhtml1/DTD/xhtml-symbol.ent Typically referenced like this: <!ENTITY % HTMLlat1 PUBLIC "-//W3C//ENTITIES Latin 1 for XHTML//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent"> %HTMLlat1;
Please register to reply