[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

XML and XPATH: How do they work?

  • To: xml-dev@l...
  • Subject: XML and XPATH: How do they work?
  • From: Joe Schaffner <schaffner.joe@g...>
  • Date: Tue, 28 Jun 2005 13:35:27 +0300
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type; b=eZG6Wrld+B1f75WJ/SBH8obLxIi8eYozeZVA/oxGBntAVyEFemxOJMDsjKmvIhBU7RvgsC80YMR8qdzs7a/3XHh+3FHfB7Zxao0wGJEJEPHVdQXTQyLOcRfWQ6aQlS6OGwqonAI0pBmNi0xbAM/lY6LvyzVTeV4uChBaa5BQ8JA=
  • Reply-to: Joe Schaffner <schaffner.joe@g...>

Hello Everybody,
I'm writing a dictionary of modern Greek verbs at http://modern-greek-verbs.tripod.com
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
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.
(What is XLink?)


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.

Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.