
Hi Don, You err very badly, and to not understand XML. XML is not a language of containers. It can be done. I do not have the time to teach what XML really is and how it can be used. On the other hand HTML is not less capable of what you are describing! So has you define structures neither HTML nor XHTML or XML are viable candidates for a master format. RST I believe is out to. So basically, you want TEI or languages along the line of TeX, where the pages are not marked up, but the text itself and an engine turns out the pages. But you forget you can to that with XML. regards Keith. Am 04.02.2012 um 03:08 schrieb don kretz:
Hi keith,
Of couse xml can handle a book if you constrain your definition of your book to only include things that can be described by xml. What if I choose to include footnotes that extend across multiple pages, including both where they are referenced in the text flow, and on what physical pages they are found? You can't just declare the possibility to be invalid because it can't be described in a strict hierarchy.
On Fri, Feb 3, 2012 at 4:22 PM, Keith J. Schultz <schultzk@uni-trier.de> wrote: Hi Don,
I very sorry , but are completely wrong. XML is perfectly well of handling the structures of book. The problem is how you handle and define the structure which is not predefined by the XML standard.
As far as the output is concerned that that is a matter of parsing the tree and reacting to the semantics for the entities defined therein.
Please do not forget that a paragraph is an entity of a text, where as a page is an entity of a book!
On another side. HTML actually has no concept of a page, except maybe the rendering of the file itself. Meaning that i would have to have a file per page. Then you have the same problem. Naturally, that is not how it is done. You can simulate the same semantics for page breaks in XML as in HTML, because the page break is just simulated.
regards Keith.
_______________________________________________ gutvol-d mailing list gutvol-d@lists.pglaf.org http://lists.pglaf.org/mailman/listinfo/gutvol-d