Feat: Projektweite XSLT-Parameter mit Vererbungshierarchie (v1.4.0)

Ermöglicht die Definition von XSLT-Parametern auf Projektebene, die als
Basis für alle Transformationen dienen und von TreeNode- bzw. XslFile-
Parametern überschrieben werden können (Projekt < TreeNode < XslFile).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-04 10:57:05 +02:00
parent d1def05607
commit a0626a78a3
16 changed files with 579 additions and 195 deletions
+1
View File
@@ -162,6 +162,7 @@ class Project(BaseModel):
xsl_dir_id: int = Field(..., description="ID des XSL-Verzeichnisses", gt=0)
postgre_sql_db_id: int = Field(..., description="ID der PostgreSQL Datenbank", gt=0)
fop_config_dir: Path | None = Field(None, description="Optionaler Pfad zum Apache FOP Config-Verzeichnis")
xslt_params: dict[str, str] = Field(default_factory=dict, description="Projektweite XSLT-Parameter")
@staticmethod
def _lookup(collection, item_id: int, attr: str) -> str: