wernazuma
I have 5 large XML files with div tags that relate to individual pages in my Dokuwiki, and I'm wondering how I could achieve to display the corresponding div tag on the pages.
For the meanwhile, I have converted the xml files into thousands of small textfiles, fitting the data plugin syntax, but that has two downsides, beside the fact of creating 30000 files:
1. The texts can't have line breaks because that is understood as a new field.
2. I'd have to repeat the laborious task regularly because the xml files are updated frequently (an OCRed text that is being cleaned up bit by bit).
Jus a short example for the xml:
<xml>
<div key="France">France is a country.</div>
<div key="Paris">Paris is a city.</div>
</xml>
And I'd like to display "Paris is a city." on the page "Paris", etc.
Last problem is that there are some tags within the div which would have to be ignored or transformed into internal links, but it is probably impossible to have a (not prohibitively complicated programming) solution that on top needs a xslt ...
Grateful for every idea!