refdbc (0.9.7-pre1) getref -t ris losing info?

Doug du Boulay <[email protected]>
Newsgroups gmane.text.refdb.general
Message-ID <[email protected]>
Hi Markus,

I've been trying to use the refdbc getref command to output
RISX reference data but it seems to lose some information - or 
more than likely, I'm misfeeding it.

Basically, if I feed the following into addref

<ris>
  <entry type="BOOK" citekey="RefDB_Man">
    <part>
      <title type="full">RefDB (0.9.5) Handbook</title>
      <author>
        <lastname>Hoenicka</lastname>
        <firstname>Markus</firstname>
      </author>
    </part>
    <publication>
      <pubinfo>
        <pubdate type="primary">
          <date><year>2005</year></date>
        </pubdate>
        <issue>0.9.5</issue>
        <address></address>
        <link type="url">http://refdb.sourceforge.net/manual/</link>
      </pubinfo>
    </publication>
  </entry>
</ris>

then what comes back out with getref, the resultant RISX, 
looks like this:

  <entry type="BOOK" id="2" citekey="RefDB_Man">
    <publication>
      <author>
        <lastname>Hoenicka</lastname>
        <firstname>Markus</firstname>
      </author>
      <pubinfo>
        <pubdate type="primary">
          <date><year>2005</year></date>
        </pubdate>
        <issue>0.9.5</issue>
        <link type="url">http://refdb.sourceforge.net/manual/</link>
      </pubinfo>
    </publication>
  </entry>

I seem to have lost the part and its title
and the author has been shifted from the part, to the publication.
My guess was that because <publication> is a container for secondary info,
this implies that a publication/author is a book editor rather
than the primary book author that I would expect. No?



Also for a particular journal citation/ bibliography formatting style 
that I use (I think it is a Harvard variant), I need to cite myself 
as "du Boulay", but then bibliography entries should be sorted and 
formatted according to
   Boulay, D., du (2001) ...
another example
Jacob Horatio Van Der Marel would be cited as "Van Der Marel", 
but bib formatted and ordered according to 
   Marel, J. H., Van Der (2001)...

So I'm thinking that author lastname|firstname|middlename|suffix may not
be expressive enough to capture this information properly. 
Or does/can RefDB do some fancy footwork internally with lastname?



Thanks
Doug


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.