How to make the TEI P5 to DOCX scenario handle <transpose> elements?
Posted: Thu Apr 14, 2022 1:54 am
Can the TEI P5 DOCX scenario native to the Oxygen Editor handle the <listTranspose> element? Mine is completely ignoring what I've put into it when transforming to DOCX...
Later in the <text> element at the top of which this sits, I have <lg> elements with these @xml:id's that the <ptr> are pointing to. I need to have the transformation process these specific <lg>'s in this order for the @source specified in the <transpose> element. These I am specifying as a global variable in the XSLT and manually changing them (there aren't that many). If the native transformation in Oxygen does not handle this, what are my options?
https://stackoverflow.com/questions/374 ... ment-order
This here for example has a list of all element names stored in a variable in the desired order. I do not know how the order I desire, which is not global, can be applied like this.
Code: Select all
<listTranspose>
<transpose source="#Q2">
<ptr target="#Q2_2"/>
<ptr target="#Q2_1"/>
</transpose>
<transpose source="#Q2 #Q3">
<ptr target="#Q2and3_1_begin"/>
<ptr target="#Q2and3_1_1"/>
<ptr target="#Q2and3_1_2"/>
<ptr target="#Q2and3_1_3"/>
<ptr target="#Q2and3_1_4"/>
<ptr target="#Q2and3_1_end"/>
</transpose>
...
</listTranspose>
https://stackoverflow.com/questions/374 ... ment-order
This here for example has a list of all element names stored in a variable in the desired order. I do not know how the order I desire, which is not global, can be applied like this.