Am Montag, 21. Oktober 2002 14:00 schrieb Jens-Uwe Morawski:
> > I would take SQL or something other, too.
> hmm, i'm thinking about an XML-file:

I've nearly no experience with XML, but I'm just starting to play with Perl's 
XML modules.
If you provide your FAQs as XML I will be able to process it somehow and then 
use the same input format myself.

> <contextfaq>
>       <author>...</author>

needs only a number or a login name as link to an user database that contains 
also email and homepage. (Or are XML databases supposed to be non-relational 
and redundand?)

>       <keyword>...</keyword>

What about several keywords in one tag?
Or, perhaps better, bundle several <keyword>s in one <keywords>?

>       <section>...</section>
>       <subsection>...</subsection>

Hm, somewhat unflexible (fixed at two levels).
What do you think of "1.2.3" format with 1, 2, 3 being IDs in a structure 
list/database? (We had to define this first, of course.)

>       <answer>
>               ....
>       </answer>

If we are on it, we should divide the <answer> in sections like <text>, 
<texcode> and <shellcode> to enable a simple style switching.

> </contextfaq>

And a set of <contextfaq> must be surrounded by a container.
And if I understand XML right, we should use some namespace-prefix, shouldn't 
we?

> > > - the KEYWORD field should be replaced by a drop-down menu,
> > >   since the user cannot know what key-words are available
> Uups, i mean the keyword-field in the user/reader interface. The authors
> of course should be able the define new keywords.

Ok, must become some multi select box.

Gr��lis vom Hraban!
-- 
http://www.fiee.net/texnique/
http://www.ramm.ch/context/
---
_______________________________________________
ntg-context mailing list
[EMAIL PROTECTED]
http://ref.ntg.nl/mailman/listinfo/ntg-context

Reply via email to