wibarab / featuredb

WIBARAB is a project in the field of Arabic dialectology. It consists of various regional sub-projects (four PhD projects) and a large database about bedouin-type dialects of Arabic. The Feature Database will be the main point of integrating the results of the sub-projects. In this repository we collect the primary data of the database in TEI/XML.
Other
1 stars 0 forks source link

implement script to reorder FVO content to conform to the schema #25

Closed dasch124 closed 1 year ago

dasch124 commented 1 year ago

Currently the ODD requires the order to be:

afterwards optional elements in any number or order:

dasch124 commented 1 year ago

untested draft in 082_scripts_xsl/fvo_apply_order.xsl

VeronikaEngler commented 1 year ago

hello, are there any news on the script? I'm working on the validation of the pronoun-files and I could really use the script here

dasch124 commented 1 year ago

@likeanga is on it – I should be able to update on it next Thursday

likeanga commented 1 year ago

I checked the .xsl, it additionally copied parts of the elements so that e.g. and xml:ids were included twice. This is because of missing tei namespace of the elements <personGrp> and <note>; the element was also copied twice because it is not listed under the excluded elements in line 27: Line 27 thus should be <xsl:copy-of select="*[not(self::tei:name|self::tei:bibl|self::tei:placeName|self::tei:lang|self::tei:date|self::tei:personGrp|self::tei:note|self::tei:cit)]"/>

likeanga commented 1 year ago

I updated line 27 and checked the script again with comments between - it behaves as it should.