PerseusDL / canonical

This will be the base repo for all text and annotation data published in the PDL
16 stars 17 forks source link

cRefPattern/@n #152

Open PonteIneptique opened 9 years ago

PonteIneptique commented 9 years ago

Add the label of the citation, such as :

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

That's what we decided right @balmas ?

balmas commented 9 years ago

yes