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

refsDecl wording in Lace output #140

Open
lcerrato opened this issue Apr 14, 2021 · 0 comments
Open

refsDecl wording in Lace output #140

lcerrato opened this issue Apr 14, 2021 · 0 comments

Comments

@lcerrato
Copy link

Suggestion on something that is slightly inconsistent with CTS best practices:

Note that "lines" here should always be "line" (in both instances) and the description needs to be enclosed in the tags. Per http://capitains.org/pages/guidelines#tei-xml

So

<tei:refsDecl n="CTS">
<tei:cRefPattern matchPattern="(\w+)" n="lines" replacementPattern="#xpath(/tei:TEI/tei:text/tei:body/tei:div/tei:div[@n='$1'])" />
     <tei:p>This pointer pattern extracts lines</tei:p>
 </tei:refsDecl>

is always changed to

    <tei:refsDecl n="CTS">
      <tei:cRefPattern matchPattern="(\w+)" n="line" replacementPattern="#xpath(/tei:TEI/tei:text/tei:body/tei:div/tei:div[@n='$1'])">
      <tei:p>This pointer pattern extracts line.</tei:p>
       </tei:cRefPattern>
    </tei:refsDecl>

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

1 participant