2015-04-27 15:00 GMT+02:00 Philip Taylor <p.tay...@rhul.ac.uk>: > > > Zdenek Wagner wrote: > > > If you want to describe the page layout in a structured way, the <page> > > ... </page> markup might cause other mark up not well formed. Of course, > > if the XML is for your own purpose, you can do anything. Even if it is > > not suggested by XML experts, it may be helpful. And if you like to use > > XML regularly, I would strongly suggest to learn one of the schema > > languages (Relax NG or W3C Schema) and write the document using a > > validating XML editor. You have to invest some time but then it saves > > you a lot of work. > > The data are entered as Excel, imported from Excel into oXygen, > validated against a custom schema auto-derived from the master sources > and then exported from oXygen as well-formed XML. >
OK, oXygen is a good editor, I use it too. It supports also NVDL, you can plug in any schema. It can even switch the spellcheck according to lang and xml:lang attributes. It was my feature request several years ago and they implemented it. > > > Yes, I agree, I do the same. For instance, I do not use the geometry > > package but I have my own zwpagelayout. And if you develop something, > > you certainly learn a lot. It might be useful for you to see how SAX > > processors work. It is not necessary to study a code of any of them, > > just to see a brief description which SAX events are generated. It can > > be a good inspiration for your work. > > Thank you, Zdeněk, I shall investigate as you recommend. > ** Phil. > Zdeněk Wagner http://hroch486.icpf.cas.cz/wagner/ http://icebearsoft.euweb.cz
-------------------------------------------------- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex