Commit 5e5cc6fa authored by Pietro Abate's avatar Pietro Abate
Browse files

[r2004-01-08 12:26:37 by cmiachon] fichiers de la partie XMP des uses-cases

Original author: cmiachon
Date: 2004-01-08 12:26:37+00:00
parent a30446e7
......@@ -14,10 +14,10 @@ PXP_WLEX = false
EXPAT = false
# use curl library to load remote xml files and schemas
CURL = false
CURL = true
# use netclient library to load remote xml files and schemas
NETCLIENT = true
NETCLIENT = false
# Installation directory
# cduce and dtd2cduce => $(PREFIX)/bin
......
type Chapter = <chapter>[Title Section*]
type Section = <section>[Title Section*]
type Title = <title>[PCDATA];;
let books : Chapter = <chapter>[
<title>['Data Model']
<section>[
<title>['Syntax For Data Model']
]
<section>[
<title>['XML']
<section>[
<title>['Basic Syntax']
]
<section>[
<title>['XML and Semistructured Data']
]
]
];;
type Reviews =<reviews>[Entry*];;
type Entry = <entry> [ Title Price Review];;
(*type Title = <title>[PCDATA];;*)
(*type Price= <price>[PCDATA];;*)
type Review =<review>[PCDATA];;
let amazon=
<reviews>[
<entry>[
<title>['Data on the Web']
<price>['34.95']
<review>
['A very good discussion of semi-structured database
systems and XML.']
]
<entry>[
<title>['Advanced Programming in the Unix environment']
<price>['65.95']
<review>
['A clear and detailed discussion of UNIX programming.']
]
<entry>[
<title>['TCP/IP Illustrated']
<price>['65.95']
<review>
['One of the best books on TCP/IP.']
]
];;
type Bib = <bib>[Book*]
type Book = <book year=String>[Title (Author+ | Editor+ ) Publisher Price ]
type Author = <author>[Last First ]
type Editor = <editor>[Last First Affiliation ]
type Title = <title>[PCDATA ]
type Last = <last>[PCDATA]
type First = <first>[PCDATA]
type Affiliation = <affiliation>[PCDATA]
type Publisher = <publisher>[PCDATA]
type Price = <price>[PCDATA];;
let doc : Bib = <bib>[
<book year="1994">[
<title>['TCP/IP Illustrated']
<author>[<last>['Stevens']
<first>['W.']]
<publisher>['Addison-Wesley']
<price>['65.95']
]
<book year="1992">[
<title>['Advanced Programming in the Unix environment']
<author>[<last>['Stevens'] <first>['W.']]
<publisher>['Addison-Wesley']
<price>['65.95']
]
<book year="2000">[
<title>['Data on the Web']
<author>[<last>['Abiteboul'] <first>['Serge']]
<author>[<last>['Buneman'] <first>['Peter']]
<author>[<last>['Suciu'] <first>['Dan']]
<publisher>['Morgan Kaufmann Publishers']
<price>['39.95']
]
<book year="1999">[
<title>['The Economics of Technology and Content for Digital TV']
<editor>[
<last>['Gerbarg'] <first>['Darcy']
<affiliation>['CITI']
]
<publisher>['Kluwer Academic Publishers']
<price>['129.95']
]];;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment