mirror of
				https://github.com/Theodor-Springmann-Stiftung/hamann-ausgabe-core.git
				synced 2025-10-31 02:05:33 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
		
			665 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			665 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| namespace HaWeb.Settings.NodeRules;
 | |
| 
 | |
| using System.Collections.Generic;
 | |
| using HaWeb.XMLTests;
 | |
| 
 | |
| public class EditNode : INodeRule
 | |
| {
 | |
|     public string Name => "edit";
 | |
|     public HamannXPath XPath => new HamannXPath() {
 | |
|         Documents = new[] { "brieftext", "texteingriffe", "ueberlieferung" },
 | |
|         XPath = "//edit"
 | |
|     };
 | |
|     public string[]? Attributes { get; } = { "ref" };
 | |
|     public string? uniquenessAttribute => null;
 | |
|     public List<(string, HamannXPath, string)>? References { get; } = new List<(string, HamannXPath, string)>()
 | |
|     {
 | |
|         ("ref", new HamannXPath() { Documents = new[] { "texteingriffe" }, XPath =  "//editreason" }, "index")
 | |
|     };
 | |
| } | 
