I am just switching to the Mac world and to Hazel as well. So first of all: Hello

Based on my Newbie status it might happen that I need to ask several times to understand everything correctly, so sorry in advance.
On my Windows machine, I had a DMS called ecoDMS which was working well. Unfortunately, I cannot get it running under Mac OS, so I was looking for an alternative. Seemingly DEVONthink is what I am looking for.
After having identified where to go to, I am now looking for a way how. The export of ecoDMS gives me an export of my roughly 5.000 documents (plus partially the tiff-data from the scanning process) along with an XML file, which is structured like this:
- Code: Select all
<document docid='4'>
<files id='4' origname='20120204201433174.pdf' filePath='ecodms_docid_0000004.pdf'>
<fileVersion id='4' version='1' origname='20120204201433174.tif' filePath='ecodms_docid_0000004_revision_0001.tif'>
<pdfFile origName='20120204201433174.pdf' filePath='ecodms_docid_0000004_revision_0001.pdf'/>
<user></user>
<fixed>true</fixed>
<date>MjAxMi0wMi0wNCAyMToxMDozMC4w</date>
<fixuser></fixuser>
<fixdate>2012-02-04 21:10:30.0</fixdate>
</fileVersion>
</files>
<classifyInfos>
<classifyInfo cla_docs_id='4' revision_count='2' trashed='false'>
<Version>
<ordner>GKV</ordner>
<hauptordner>Finanzen</hauptordner>
<bemerkung>Übersendung elektronische Gesundheitskarte</bemerkung>
<status>Erledigt</status>
<revision>1.1</revision>
<dokumentenart>Anschreiben und Informationen</dokumentenart>
<letzte-änderung>2012-02-04 21:25:07.815</letzte-änderung>
<datum>2011-12-30</datum>
<bearbeitet-von>Philip Deubner</bearbeitet-von>
<zurückgestellt-bis></zurückgestellt-bis>
<zu-bearbeiten></zu-bearbeiten>
<zur-ansicht></zur-ansicht>
<belegnummer>null</belegnummer>
<kunden--kontonummer></kunden--kontonummer>
<steuerrelevant></steuerrelevant>
<ordner-extkey></ordner-extkey>
</Version>
<Version>
<ordner>GKV</ordner>
<hauptordner>Finanzen</hauptordner>
<bemerkung>Übersendung elektronische Gesundheitskarte</bemerkung>
<status>Zu Bearbeiten</status>
<revision>1.0</revision>
<dokumentenart>Anschreiben und Informationen</dokumentenart>
<letzte-änderung>2012-02-04 21:10:31.799</letzte-änderung>
<datum>2011-12-30</datum>
<bearbeitet-von>Philip Deubner</bearbeitet-von>
<zurückgestellt-bis>null</zurückgestellt-bis>
<zu-bearbeiten></zu-bearbeiten>
<zur-ansicht></zur-ansicht>
<belegnummer>null</belegnummer>
<kunden--kontonummer></kunden--kontonummer>
<steuerrelevant></steuerrelevant>
<ordner-extkey></ordner-extkey>
</Version>
</classifyInfo>
</classifyInfos>
</document>
for EACH ONE of the files.
What I want to achieve is to have the files in DT with
- <bemerkung> as file name
- <datum> as creation date
- <ordner>, <dokumentenart>, <belegnummer> and <kunden--kontonummer> as tags
My idea is to import this into DT afterwards.
Open question: How is this possible?
Thank you for sharing your thoughts and for pointing me into the right direction
Best regards,
Connor