mirror of
https://github.com/Theodor-Springmann-Stiftung/hamann-ausgabe-core.git
synced 2025-10-28 16:55:32 +00:00
18 lines
533 B
C#
18 lines
533 B
C#
namespace HaWeb.Settings.NodeRules;
|
|
|
|
using System.Collections.Generic;
|
|
using HaWeb.XMLTests;
|
|
|
|
public class KommentarNode : INodeRule
|
|
{
|
|
public string Name => "kommentar";
|
|
public HamannXPath XPath => new HamannXPath() {
|
|
Documents = new[] { "register" },
|
|
XPath = "//kommentar"
|
|
};
|
|
public string[]? Attributes { get; } = { "id" };
|
|
public string? uniquenessAttribute => "id" ;
|
|
public List<(string, HamannXPath, string)>? References { get; } = new List<(string, HamannXPath, string)>()
|
|
{
|
|
};
|
|
} |