Hello Everybody,
The pages are linked using html anchors, like this:
-- from grafo.html
<a
href="agapao.html"><i>Type</i></a>
'αγαπάω' is the next verb on the list of linked
pages.
'Type' is the name of the list, a singularly-linked,
circular list. There are three types, 'λύνω', 'αγαπάω' 'θεωρώ', and therefore
three pages in this list.
I was wondering how such a list would appear in an xml version of
the dictionary.
Do I do the lists in XPath?
HTML hyperlinks rely on the appearance/layout of the page. They're
simply grouped together. A student knows which links to follow by looking
at them.. but a processing program must know the name of the list.
Within each Type there are Models:
[<i>Model</i> <a
href="ginomai.html">Prev</a> <a
href="diablepo.html">Next</a>]
[<i>Model</i> <a
href="bafo.html">Prev</a> <a
href="anagrafo.html">Next</a>]
The list is hierarchical. Types are broken down into Models which can
be broken down into sub-models.
The Models are nested from top to bottom. The definition is
recursive...
This verb, γράφω, is part of the λύνω Type, and falls between
other Models γίνομαι and διαβλέπω, in alphabetical order...
γράφω has two sub-models (verbs which are conjugated like γράφω): βάφω,
and αναγράφω, the compounds of 'γράφω'...
Of course, 'γράφω' is also an instance of itself. It is a real verb, in
addition to being a model for others.
I'm thinking something like this:
-- This file is 'grafo.xml' which is
on the 'luno.xml' list
<type>
<model>
<model>
</model>
</model>
</type>
But I don't want to invent my own language. I'm hoping XPath will do the
trick. I've been reading the documentation, which is very large, and I haven't
really found any good examples.
Thanks. I'm sure you can save me a load of time.
Signed,
xml-newbie