At 09:34 PM 10/22/2002 +0200, Henning Hraban Ramm wrote:
Am Dienstag, 22. Oktober 2002 10:59 schrieb Hans Hagen:
<authors> <entry><fname>...</fname><sname>.../sname></entry> </authors>
No, that doesn't fit. Perhaps <faq author="user"> is better. I'd use your verbose tags only in a user database.
but you want to typeset the names correctly, and also be able to sort them in several ways ...
<keywords> <entry key="xyz">exeizet</entry> </keywords> is better since we can then pick up and store the whole lot
The bundling is ok, but why should the entry use an option? I understand the keywords only as a help for finding und see no sense in describing them further.
unless you also want to sort 'm, typeset them, etc xml is about reusing information !
<section>...</section> <subsection>...</subsection>
aren't sections at a higher level here?
As I wrote in the other mail, I'd suggest a generic format like "2.1.3" that links to an other database with the titles for 2, 1, and 3.
It seems that I must first get some experience with XML before defining a style
hm, just remove backslashes, add < / > characacters and you're nearly done; in most cases: think of what you ever would like to do with the data (15 years from now) and then start coding, it's not so much about redudancy, but about adding enough structure (i.e. from the perspective of typesetting: hooks)
I'm thinking always in matters of relational databases, but XML files can't link to others, can they? I hate redundancy.
of course they can link, just define your element/attribute as such; it's up to you to define that something links: <whatever file="..." location="..."/> it's up to the postprocessor to act upon this (go to the file/location, include the file, etc) Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------