Re: [Refdb-users] RisX import
Status: Beta
Brought to you by:
mhoenicka
|
From: Bruce D'A. <bd...@fa...> - 2003-08-22 20:24:11
|
On Thursday, August 21, 2003, at 01:47 AM, Couwberghs Tom wrote:
> If you plan to develop a different DTD for each type of reference, what
> are you going to do with query's that return multiple types of
> references in risx?
I was wondering this myself. I have a hunch it might be better to have
a modular design that is built for extension. I sent this to Markus
already, but what I was thinking was top-level elements like titles,
names, date, in (with type attributes that distinguish between
monographs and serials), etc.
They'd then be plugged together something like (this using RNG because
it's easier for me than DTD syntax):
Article = element article {
Name*, Titles, Date, In.Periodical
}
Chapter = element chapter {
Name*, Titles, Date, In.Monograph
}
Book = element book {
Name*, Title, Date, Publisher?
)
Note: the above isn't quite right because I think stuff like book and
article should be defined in an attribute within an entry element, but
I'm not sure how to do this :-)
Finally, you'd explicitly build in the extension, which would be
defined in an external file with specifications defined however you
want.
So, in other words, build this both for the immediate task -- to make
entering risx data simpler -- but also for the longer term one: MODS.
The translation logic is just built into the xslt.
Sample record, BTW, could be:
<entry type="article" id="Doe1999a">
<name role="author">
<givenName>John</givenName>
<familyName>Doe</familyName>
</name>
<titles>
<title>A Title</title>
<subtitle>A Subtitle</subtitle>
</titles>
<date year="1999" month="6"/>
<in type="periodical" genre="journal">
<titles>
<title>A journal</title>
</titles>
<part>
<volume>3</volume>
<issue>4</issue>
<pages>
<start>23</start>
<end>54</end>
</pages>
</part>
</in>
</entry>
Bruce
|