Mailinglist Archive: opensuse-factory (723 mails)
| < Previous | Next > |
Re: [opensuse-factory] XML File for repositories
- From: "Ulrich Windl" <ulrich.windl@xxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 01 Mar 2006 09:19:33 +0100
- Message-id: <44056728.19272.AA21D7C@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
On 1 Mar 2006 at 8:33, Azerion wrote:
[...]
> Sounds like we finally have found an expert :D. Show us the way!
As someone (you?) already pointed out: It's very much like database design (or
"knowledge engineering", whatever you like more). You have entities (in the
database sense) and relations between entities. In XML you would map database
entities to "elements", and you'd map database relations in to references (like
HTML's "<a href=id>" and "<a name=id>"). Database "tables" would be sequences of
elements in XML. That's basically it.
The DTD (Document Type Definition) defines what elements are known, what their
attributes are, and how they may be nested. The DTD has its own syntax.
Finally: I'm no XML expert, because I think SGML is powerful enough ;-)
Recommended reading: http://www.w3.org/TR/REC-xml
Regards,
Ulrich
[...]
> Sounds like we finally have found an expert :D. Show us the way!
As someone (you?) already pointed out: It's very much like database design (or
"knowledge engineering", whatever you like more). You have entities (in the
database sense) and relations between entities. In XML you would map database
entities to "elements", and you'd map database relations in to references (like
HTML's "<a href=id>" and "<a name=id>"). Database "tables" would be sequences of
elements in XML. That's basically it.
The DTD (Document Type Definition) defines what elements are known, what their
attributes are, and how they may be nested. The DTD has its own syntax.
Finally: I'm no XML expert, because I think SGML is powerful enough ;-)
Recommended reading: http://www.w3.org/TR/REC-xml
Regards,
Ulrich
| < Previous | Next > |