darwincore

Robby Stephenson robby at periapsis.org
Fri Aug 27 02:22:03 BST 2021


On Sun, Aug 22, 2021 at 8:30 PM Robby Stephenson <robby at periapsis.org>
wrote:

> On Sat, Aug 21, 2021 at 2:50 PM Fernando Vaz-de-Mello <
> vazdemello at gmail.com> wrote:
>
>> did anyone try to import a database in darwincore format (a biological
>> collection) into tellico? is there a template available in order not to
>> need to create all darwincore fields again?
>>
>
> No, to my knowledge, there's no existing translation code for darwincore.
> If you have your files in XML, then using an XSLT transform would be the
> easiest way to get them into Tellico. If you want to send me one of your
> sample files privately, I can take a stab at writing a translation template.
>

Here's a basic XSL template for importing simple Darwin Core records, like
the on section 2.6.1 at https://dwc.tdwg.org/xml/, the darwin2tellico.xsl
file attached.

Within Tellico, you can do
1. File->Import->Import XSL Transform
2. Select your XML data file (I've also attached darwin.xml which is the
example)
3. Select Replace current collection
4. Click the folder icon to select the darwin2tellico.xsl file whereever
you saved it
5. Click Import

Hopefully, that can give you a starting place. Looks like the Darwin Core
can be very complex. I don't think Tellico is able to handle all the
defined relationships in such a model, you'd need a full relational
database (like MariaSQL or Sqlite) for that

Robby.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/tellico-users/attachments/20210826/6b1f4463/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: darwin2tellico.xsl
Type: application/xslt+xml
Size: 5227 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/tellico-users/attachments/20210826/6b1f4463/attachment.xsl>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: darwin.xml
Type: text/xml
Size: 1893 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/tellico-users/attachments/20210826/6b1f4463/attachment.xml>


More information about the tellico-users mailing list