View Single Post
Old 06-04-2017, 06:08 AM   #18
skreutzer
Software Developer
skreutzer considers 'yay' to be a thoroughly cromulent word.skreutzer considers 'yay' to be a thoroughly cromulent word.skreutzer considers 'yay' to be a thoroughly cromulent word.skreutzer considers 'yay' to be a thoroughly cromulent word.skreutzer considers 'yay' to be a thoroughly cromulent word.skreutzer considers 'yay' to be a thoroughly cromulent word.skreutzer considers 'yay' to be a thoroughly cromulent word.skreutzer considers 'yay' to be a thoroughly cromulent word.skreutzer considers 'yay' to be a thoroughly cromulent word.skreutzer considers 'yay' to be a thoroughly cromulent word.skreutzer considers 'yay' to be a thoroughly cromulent word.
 
skreutzer's Avatar
 
Posts: 190
Karma: 89000
Join Date: Jan 2014
Location: Germany
Device: PocketBook Touch Lux 3
Quote:
Originally Posted by JSWolf View Post
Try making ePub with just XML and it won't work.
Quote:
Originally Posted by Toxaris View Post
You mean XML with another (or no) scheme.
Certainly one cannot make an ePub or anything else just with XML, since XML is a universal formatting technique for text-oriented data and therefore doesn’t define any semantics of the data, it’s very generalized, abstract.

XML is very simple: we encapsulate text within markers called “tags” that mark the beginning and the end of a semantic meaning, therefore we always have pairs of markers, beginning and end. Those tags provide a name for the semantic meaning which is written in between < and >. An end tag, to distinguish it from the start tag, begins not only with <, but with </. Start tags can provide attributes in the form key="value". Tags can contain text or other tags, therefore can be nested, but are forbidden to overlap. There is only one “root” tag.

And basically, that’s it. No mention of specific tag names or specific semantic meanings, to express, for example, the structure of a web document, a scalable vector graphic, phone book data or whatever. Without those names, one can’t use raw, pure XML, since it would transport no semantic meaning at all. While XHTML is quite popular, there are many, many, many other XML-based formats for a lot of different uses, you can even make your own! And if you do so or if you use the XML-based formats by other people, you can benefit from powerful tools which are available to do all kinds of things with XML-based formats. Those tools and techniques, however, usually aren’t that easy to use, it’s more in the domain of software developers, but on the other hand, the whole plan is that a user never has to deal with the XML-based formats directly.

As the OP mentions XML publishing, we all assume that he is looking into generating formats with XML (from or to or in between) using XML technology, most likely with the intend to automate reoccurring or big tasks.

Quote:
Originally Posted by fiume View Post
xml epubs
is indeed a little bit confusing.

Last edited by skreutzer; 06-04-2017 at 06:20 AM.
skreutzer is offline   Reply With Quote