{"action":"created","issue":{"url":"https://api.github.com/repos/Chartes-TNAH/olivar-asselin/issues/54","repository_url":"https://api.github.com/repos/Chartes-TNAH/olivar-asselin","labels_url":"https://api.github.com/repos/Chartes-TNAH/olivar-asselin/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/Chartes-TNAH/olivar-asselin/issues/54/comments","events_url":"https://api.github.com/repos/Chartes-TNAH/olivar-asselin/issues/54/events","html_url":"https://github.com/Chartes-TNAH/olivar-asselin/issues/54","id":294829816,"number":54,"title":"Ajout du refsDecl dans le TEI header","user":{"login":"Keyuteotter","id":29238793,"avatar_url":"https://avatars1.githubusercontent.com/u/29238793?v=4","gravatar_id":"","url":"https://api.github.com/users/Keyuteotter","html_url":"https://github.com/Keyuteotter","followers_url":"https://api.github.com/users/Keyuteotter/followers","following_url":"https://api.github.com/users/Keyuteotter/following{/other_user}","gists_url":"https://api.github.com/users/Keyuteotter/gists{/gist_id}","starred_url":"https://api.github.com/users/Keyuteotter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Keyuteotter/subscriptions","organizations_url":"https://api.github.com/users/Keyuteotter/orgs","repos_url":"https://api.github.com/users/Keyuteotter/repos","events_url":"https://api.github.com/users/Keyuteotter/events{/privacy}","received_events_url":"https://api.github.com/users/Keyuteotter/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"Keyuteotter","id":29238793,"avatar_url":"https://avatars1.githubusercontent.com/u/29238793?v=4","gravatar_id":"","url":"https://api.github.com/users/Keyuteotter","html_url":"https://github.com/Keyuteotter","followers_url":"https://api.github.com/users/Keyuteotter/followers","following_url":"https://api.github.com/users/Keyuteotter/following{/other_user}","gists_url":"https://api.github.com/users/Keyuteotter/gists{/gist_id}","starred_url":"https://api.github.com/users/Keyuteotter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Keyuteotter/subscriptions","organizations_url":"https://api.github.com/users/Keyuteotter/orgs","repos_url":"https://api.github.com/users/Keyuteotter/repos","events_url":"https://api.github.com/users/Keyuteotter/events{/privacy}","received_events_url":"https://api.github.com/users/Keyuteotter/received_events","type":"User","site_admin":false},"assignees":[{"login":"Keyuteotter","id":29238793,"avatar_url":"https://avatars1.githubusercontent.com/u/29238793?v=4","gravatar_id":"","url":"https://api.github.com/users/Keyuteotter","html_url":"https://github.com/Keyuteotter","followers_url":"https://api.github.com/users/Keyuteotter/followers","following_url":"https://api.github.com/users/Keyuteotter/following{/other_user}","gists_url":"https://api.github.com/users/Keyuteotter/gists{/gist_id}","starred_url":"https://api.github.com/users/Keyuteotter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Keyuteotter/subscriptions","organizations_url":"https://api.github.com/users/Keyuteotter/orgs","repos_url":"https://api.github.com/users/Keyuteotter/repos","events_url":"https://api.github.com/users/Keyuteotter/events{/privacy}","received_events_url":"https://api.github.com/users/Keyuteotter/received_events","type":"User","site_admin":false},{"login":"HeathcoteA","id":33458861,"avatar_url":"https://avatars3.githubusercontent.com/u/33458861?v=4","gravatar_id":"","url":"https://api.github.com/users/HeathcoteA","html_url":"https://github.com/HeathcoteA","followers_url":"https://api.github.com/users/HeathcoteA/followers","following_url":"https://api.github.com/users/HeathcoteA/following{/other_user}","gists_url":"https://api.github.com/users/HeathcoteA/gists{/gist_id}","starred_url":"https://api.github.com/users/HeathcoteA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HeathcoteA/subscriptions","organizations_url":"https://api.github.com/users/HeathcoteA/orgs","repos_url":"https://api.github.com/users/HeathcoteA/repos","events_url":"https://api.github.com/users/HeathcoteA/events{/privacy}","received_events_url":"https://api.github.com/users/HeathcoteA/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2018-02-06T16:43:12Z","updated_at":"2018-02-13T21:36:24Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Il va falloir déclarer le schéma de citation dans le TEI header dans un `refsDecl`.\r\n\r\nVoici l'exemple des guidelines pour nous aider : \r\n\r\n```xml\r\n<refsDecl n=\"CTS\">\r\n  <cRefPattern \r\n      n=\"level3\"\r\n      matchPattern=\"(\\w+).(\\w+).(\\w+)\"\r\n      replacementPattern=\"#xpath(/tei:TEI/tei:text/tei:body/tei:div/tei:div[@n='$1']/tei:div[@n='$2']/tei:div[@n='$3'])\">\r\n      <p>This pointer pattern extracts level1 and level2 and level3</p>\r\n  </cRefPattern>\r\n  <cRefPattern \r\n      n=\"level2\"\r\n      matchPattern=\"(\\w+).(\\w+)\"\r\n      replacementPattern=\"#xpath(/tei:TEI/tei:text/tei:body/tei:div/tei:div[@n='$1']/tei:div[@n='$2'])\">\r\n      <p>This pointer pattern extracts level1 and level2</p>\r\n  </cRefPattern>\r\n  <cRefPattern \r\n      n=\"level1\"\r\n      matchPattern=\"(\\w+)\"\r\n      replacementPattern=\"#xpath(/tei:TEI/tei:text/tei:body/tei:div/tei:div[@n='$1'])\">\r\n      <p>This pointer pattern extracts level1</p>\r\n  </cRefPattern>\r\n</refsDecl>\r\n```"},"comment":{"url":"https://api.github.com/repos/Chartes-TNAH/olivar-asselin/issues/comments/365412408","html_url":"https://github.com/Chartes-TNAH/olivar-asselin/issues/54#issuecomment-365412408","issue_url":"https://api.github.com/repos/Chartes-TNAH/olivar-asselin/issues/54","id":365412408,"user":{"login":"Keyuteotter","id":29238793,"avatar_url":"https://avatars1.githubusercontent.com/u/29238793?v=4","gravatar_id":"","url":"https://api.github.com/users/Keyuteotter","html_url":"https://github.com/Keyuteotter","followers_url":"https://api.github.com/users/Keyuteotter/followers","following_url":"https://api.github.com/users/Keyuteotter/following{/other_user}","gists_url":"https://api.github.com/users/Keyuteotter/gists{/gist_id}","starred_url":"https://api.github.com/users/Keyuteotter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Keyuteotter/subscriptions","organizations_url":"https://api.github.com/users/Keyuteotter/orgs","repos_url":"https://api.github.com/users/Keyuteotter/repos","events_url":"https://api.github.com/users/Keyuteotter/events{/privacy}","received_events_url":"https://api.github.com/users/Keyuteotter/received_events","type":"User","site_admin":false},"created_at":"2018-02-13T21:36:24Z","updated_at":"2018-02-13T21:36:24Z","author_association":"CONTRIBUTOR","body":"Du coup, avec les deux niveaux de citation pour les lettres, cela donnerait si j'ai bien compris : \r\n\r\n```xml \r\n  <encodingDesc>\r\n         <refsDecl n=\"CTS\">\r\n            <!-- obligatoire -->\r\n            <cRefPattern n=\"paragraphe\" matchPattern=\"(\\w+).(\\w+)\"\r\n               replacementPattern=\"#xpath(/TEI/text/textgroup/text[@n='$1']/body/div/p[@n='$2'])\">\r\n               <p>This pointer pattern extracts the paragraphs and the letters</p>\r\n            </cRefPattern>\r\n            <cRefPattern n=\"lettre\" matchPattern=\"(\\w+)\"\r\n               replacementPattern=\"#xpath(/TEI/text/textgroup/text[@n='$1'])\">\r\n               <p>This pointer pattern extracts the letters</p>\r\n            </cRefPattern>\r\n         </refsDecl>\r\n</encodingDesc>\r\n```\r\n(pour le discours, cela ne change rien)"}}
{"actor":{"display_login":"Keyuteotter"}}