From: Lady <redacted>
Date: Mon, 1 Jan 2024 16:19:37 +0000 (-0500)
Subject: Allow creation of metadata without matching result
X-Git-Tag: 0.2.0~8
X-Git-Url: https://git.ladys.computer/Shushe/commitdiff_plain/af8b42c720c6aaa54199b556a656d40e8b8951a6?ds=inline;hp=af8b42c720c6aaa54199b556a656d40e8b8951a6

Allow creation of metadata without matching result

Each node in the result can only be matched once in any given mode, and
transforms need a mechanism for inserting elements without requiring a
match. This commit gives them a means of doing so by also matching
every `<xslt:include>` in the main transform. If a transform has a
`书社:id` top‐level element which is an i·r·i, then its include will
have a corresponding attribute, and transforms can (by convention)
match this include without fear of conflicts.

This commit also makes the expansion and result available as top‐level
variables in the `书社:` namespace, so that transforms can easily match
within them.
---