mirror of
https://github.com/Theodor-Springmann-Stiftung/hamann-ausgabe-core.git
synced 2025-10-29 17:25:32 +00:00
Setup Git Repository Parsing
This commit is contained in:
@@ -6,11 +6,14 @@ using HaWeb.XMLTests;
|
||||
public class HandNode : INodeRule
|
||||
{
|
||||
public string Name => "hand";
|
||||
public string XPath => "//hand";
|
||||
public HamannXPath XPath => new HamannXPath() {
|
||||
Documents = new[] { "ueberlieferung", "brieftext", "texteingriffe" },
|
||||
XPath = "//hand"
|
||||
};
|
||||
public string[]? Attributes { get; } = { "ref" };
|
||||
public string? uniquenessAttribute => null;
|
||||
public List<(string, string, string)>? References { get; } = new List<(string, string, string)>()
|
||||
public List<(string, HamannXPath, string)>? References { get; } = new List<(string, HamannXPath, string)>()
|
||||
{
|
||||
("ref", "//handDef", "index")
|
||||
("ref", new HamannXPath() { Documents = new[] { "personenorte" }, XPath = "//handDef" }, "index")
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user