Skip to content

refsDecl wording in Lace output #140

@lcerrato

Description

@lcerrato

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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions