Re: more on xnotes
"Markus Hoenicka" <[email protected]>
| Newsgroups | gmane.text.refdb.devel |
|---|---|
| Message-ID | <[email protected]> |
Bruce D'Arcus writes: > OK, explain the logic of xnoteset, xnote, and note then. > [...] > At the same time, this seems awkward too: > > <extension> > <xnote xmlns="http://www.abc.com" user="whatever"> > <note/> > </xnote> > </extension> > But this is the intended use of extended notes (except the fact that you leave out the interesting part that makes the note "extended"). Keep in mind that xnote was not designed to be used solely in MODS records. You can do that too, but xnote is a freestanding document type for extended notes. Therefore you need a grouping element to keep several notes in a file, just like you have modsCollection to hold several mods elements. This explains xnoteset. xnote is the extended note that contains all the housekeeping information: who owns the note, what it is linked to, which keywords are attached to it, when it was added, and so forth. And of course the note proper. note is the contents proper. From the viewpoint of the database this is an unparsed string that comes out like it went in. regards, Markus -- Markus Hoenicka [email protected] (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click