View Single Post
Old 02-20-2013, 10:24 PM   #15
carlosbcg
Member
carlosbcg began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Feb 2013
Device: Linux laptop and iPhone
Quote:
Originally Posted by dgatwood View Post
Clear as mud?
Ahhh...well...mostly LOL.

You did an excellent job of explaining things.

There were however a couple of spots where things are still a whee bit confusing if you or someone else could expand and explain a bit more.

Specifically...

Quote:
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?

I am creating my ebook in EPUB3 by the way following the lead of Oreilly. I figure if it's good enough for them it's good enough for me.

Quote:
XSLT is another XML dialect. An XSLT stylesheet provides a set of rules for transforming from one XML dialect to another (typically, though in practice, it can be used to translate a specified XML dialect into pretty much anything, up to and including LaTeX commands).
Hmm...interesting. I take it then that XSLT is completely uneccessary to creation of an EPUB?

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?

Quote:
EPUB2 and EPUB3 are versions of EPUB. EPUB2 uses XHTML under the hood. EPUB3 uses HTML5, but it must be parseable as XML. So it must be a polyglot XML/HTML5 document. This polyglot is called XHTML5, but is defined as part of the HTML5 standard rather than in a separate standard as previous XHTML versions were.
That's quite the deep sentence there.

What is a polyglot document? Do you mean a document which has both XML and HTML5?

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?

So can I refer to the 5 thing as either XHTML5 OR HTML5?

Any further clarification from you or anyone else would be appreciated.

I think I am finally beginning to make heads or tails of this.

Carlos
carlosbcg is offline   Reply With Quote