Quote:
Originally Posted by carlosbcg
Quote:
Originally Posted by dgatwood
HTML5 is a specific version of HTML. Like all HTMLs, it is an SGML, but HTML5 files are not (necessarily) proper XML.
|
Hmm...but...but...don't EPUB3 internal files holding the actual content of an ebook as HTML5 files (albeit with an extension of HTML) have to be what is termed "serialized XHTML" (not altogether sure what that means but I think it means pretty much XHTML)?
In other words don't EPUB3 content internals HAVE to be the XHTML variant of the HTML5?
|
Yes, AFAIK. But not all HTML5 content is in an EPUB. You can use HTML5 on the web, you know.
Quote:
Originally Posted by carlosbcg
Hmm...interesting. I take it then that XSLT is completely uneccessary to creation of an EPUB?
|
Yes. It does make a convenient way to transform DocBook (or other XML dialects) into (X)HTML, but it is certainly not the only way (or even necessarily the best way).
Quote:
Originally Posted by carlosbcg
But just out of curiosity...how exactly is an XSLT file with XML commands in it get executed to do it's conversion work? Does a browser execute the XSLT commands or something?
|
You use an XSLT processor. That's a tool that takes an XSLT file and applies it to an XML source file.
Quote:
Originally Posted by carlosbcg
What is a polyglot document? Do you mean a document which has both XML and HTML5?
|
A polyglot is a file that is simultaneously interpretable according to the rules of two different formats or languages. In this case, I mean a file that is HTML5, but is fully compliant with XML. In other words an XML serialization of HTML.
Quote:
Originally Posted by carlosbcg
So are XHTML5 and HTML5 the same thing? I mean if XHTML5 is defined as part of the HTML5 standard I mean and not separately like in the past?
|
No, and yes. If you are talking about something that
must be XML-compatible, then it is a good idea to call it XHTML5, because HTML5 is not necessarily valid XML.