From: Lady Date: Mon, 27 May 2024 21:16:23 +0000 (-0400) Subject: Provide template identifiers as <书社:id>s X-Git-Tag: 0.11.0~3 X-Git-Url: https://git.ladys.computer/Shushe/commitdiff_plain/5031f269c8440435da01151f6a08ada632ae4b5f?ds=sidebyside;hp=587bd5a36e079e0509296ced479488a923663a8e Provide template identifiers as <书社:id>s This is definitely going to break existing websites, but it’s much more sensible and straightforward to deal with, in my opinion. Alternatives included instead providing them as comments or processing instructions, which would be much harder to process. --- diff --git a/README.markdown b/README.markdown index 013e3ed..4ce9994 100644 --- a/README.markdown +++ b/README.markdown @@ -651,9 +651,8 @@ As a part of this process, after performing the initial transform `` of the output. The document being matched will contain the full transform result - prior to wrapping as well as an `` element (with an - `@书社:id` attribute) for each transform which has a valid - `<书社:id>`. + prior to wrapping as well as an `<书社:id>` element for each + transform. The latter elements can be matched to enable transforms to provide content _without_ matching any elements in the result; for example, the following transform adds a link to a stylesheet to the @@ -670,7 +669,7 @@ The latter elements can be matched to enable transforms to provide version="1.0" > <书社:id>example:add-stylesheet-links.xslt -