From: Pierre Choffet Date: Tue, 11 Jan 2022 20:56:33 +0000 (-0500) Subject: Add replace_id.xslt X-Git-Url: https://git.choffet.net/?a=commitdiff_plain;h=464c140210fed14006c80219215731aac5dd4ffc;p=wdef_tools.git Add replace_id.xslt This stylesheet can be used to replace a wdef:id value by another. It will replace references to the element at the same time. --- diff --git a/README b/README index 0368030..9006401 100644 --- a/README +++ b/README @@ -24,3 +24,6 @@ Description of the provided tools: - xslts/canonicalize.xslt Return a wdef under its normal form. + + - xslts/replace_id.xslt + Change the wdef:id of an element and its references. diff --git a/xslts/replace_id.xslt b/xslts/replace_id.xslt new file mode 100644 index 0000000..774422a --- /dev/null +++ b/xslts/replace_id.xslt @@ -0,0 +1,59 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +