-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TemplateMetadata: add PARENT special value and allow some special val…
…ues to be used on the right side of if
- Loading branch information
Showing
6 changed files
with
88 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<http://127.0.0.1/api/123> <https://id> <http://127.0.0.1/api/123> , | ||
<https://foo> ; | ||
<https://next> <http://127.0.0.1/api/124> , | ||
<http://127.0.0.1/api/234> ; | ||
<https://label> "foo" . | ||
<http://127.0.0.1/api/124> <https://label> "bar" . | ||
<http://127.0.0.1/api/234> <https://label> "baz" ; | ||
<https://parent> <http://127.0.0.1/api/123> . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<root> | ||
<a if="any(base:id == OAIID)" val="/base:label"></a> | ||
<b if="any(base:next == OAIID)" val="/base:label"></b> | ||
<c foreach="/base:next" remove="remove"> | ||
<cc1 if="any(base:parent == PARENT)" val="/base:label"/> | ||
<cc2 if="any(base:parent == URI)" val="/base:label"/> | ||
<cc3 if="any(base:parent == OAIID)" val="/base:label"/> | ||
</c> | ||
</root> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
metadataPrefix: templateMetadata | ||
metadataNamespace: http://unknown/namespace | ||
schema: http://unknown/schema | ||
class: \acdhOeaw\arche\oaipmh\metadata\TemplateMetadata | ||
templatePath: "" | ||
keepComments: false | ||
xmlErrors: true | ||
rdfNamespaces: | ||
base: https:// | ||
local: http://127.0.0.1/api/ |