Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<num> and <orig> #3

Open
emylonas opened this issue Mar 12, 2021 · 1 comment
Open

<num> and <orig> #3

emylonas opened this issue Mar 12, 2021 · 1 comment
Assignees

Comments

@emylonas
Copy link
Collaborator

<num> elements should be copied as is. (deep copy)
<orig> when it is the child of <p> should be copied as is. (deep copy)

Note that <orig> can also appear as a child of <choice>. That is handled differently.

@emylonas
Copy link
Collaborator Author

emylonas commented Apr 1, 2021

<num> and <orig> should NOT have a <w> element around them.
When you see a <num> or <orig>, it should just be copied.
Ex: gada0001
original

<p><lb/>Vexilla<lb break="no"/>tio <expan><abbr>Leg</abbr><ex>ionis</ex></expan>
                    <lb/><num value="6">VI</num> <expan><abbr>Ferr</abbr><ex>atae</ex></expan></p>

should be

<p><lb/><w>Vexilla<lb break="no"/>tio</w> <w><expan><abbr>Leg</abbr><ex>ionis</ex></expan></w>
                    <lb/><num value="6">VI</num> <w><expan><abbr>Ferr</abbr><ex>atae</ex></expan></w></p>

where the word Vexilla is surrounded by a <w>, each <expan> elements is surrounded by a <w> element, but the <num> element is copied as is.

Ideally, the num element will also have xml:id="gada0001-xx" - in order to be able to re-create the KWIC view.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants