/usr/share/doc/libnet-z3950-simple2zoom-perl/examples/simple2zoom.rnc is in libnet-z3950-simple2zoom-perl 1.04-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | # $Id: simple2zoom.rnc,v 1.10 2007-09-14 14:35:40 mike Exp $
# Simple2ZOOM configuration XML is not in any namespace.
start = element client {
element authentication { text }?,
database*,
search?
}
database = element database {
attribute name { text },
element zurl { text },
element resultsetid { "id" | "search" | "fallback" }?,
element nonamedresultsets { empty }?,
option*,
element charset { text }?,
search?,
schema*,
element sutrs-record { field* }?,
element usmarc-record { field* }?,
element grs1-record { field* }?
}
option = element option {
attribute name { text },
text
}
search = element search {
element querytype { "cql" },
map*
}
map = element map {
attribute use { text },
element index { text }?
}
schema = element schema {
attribute oid { text },
attribute sru { text },
attribute format { text },
attribute encoding { text }
}
field = element field {
attribute xpath { text },
text
}
|