Quote:
Originally Posted by DNSB
Just to toss in my 5 cents worth, in an ePub3 files, you must use &, <, >, ' and " and not &, <, >, ' and ".
|
' and " are only required when used inside the tags, otherwise the parser will treat them as tag content and will not apply any special meaning to them.
The XML (XHTML) parser will go through the document char by char, it will recoginze a < as an opening sign of either an opening- or closing tag and will then change its mode to treat the following chars as part of the tag, until it hits the > char and will then know that the tag itself has ended. Within an openening and a closing tag, everything will be treated as tag-value or tag-content. The parser will then only seek for the next < char to find the next tag. XML (XHTML) is all about tags, there is no further special programming language involved in the meaning of Turing. The only other special sign which will be treated by the parser as functional is the &, since as mentioned before, it is the hook for the beginning of unicode codes (respectively HTML entities).