Lace2 icon indicating copy to clipboard operation
Lace2 copied to clipboard

refsDecl wording in Lace output

Open lcerrato opened this issue 4 years ago • 0 comments

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>

lcerrato avatar Apr 14 '21 17:04 lcerrato