From e142d835c31c33036991181152de9634e9cb9ec4 Mon Sep 17 00:00:00 2001 From: Alexander Dyuzhev Date: Wed, 28 Feb 2024 14:23:37 +0300 Subject: [PATCH 1/2] mn2xml.xsl updated for initials, #405, metanorma/iso-iec-jseg-15#1 --- README.adoc | 22 +++++++++++----------- pom.xml | 2 +- src/main/resources/mn2xml.xsl | 2 +- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/README.adoc b/README.adoc index 8e06bd02..8b786e8f 100644 --- a/README.adoc +++ b/README.adoc @@ -14,7 +14,7 @@ You will need the `maven` build tool and `make`. [source,sh] ---- -java -jar mnconvert-1.58.0.jar xml_file --check-type xsd-niso +java -jar mnconvert-1.59.0.jar xml_file --check-type xsd-niso ---- - `--check-type`, `-ct` - Check against XSD NISO (value xsd-niso), DTD ISO (dtd-iso), DTD NISO (dtd-niso) @@ -37,7 +37,7 @@ java -jar mnconvert-1.44.0.jar xml_file --validation-against [source,sh] ---- -java -jar mnconvert-1.58.0.jar xml_file [options] +java -jar mnconvert-1.59.0.jar xml_file [options] ---- - `--xsl-file`, `-s` - path to XSL file, optional @@ -52,7 +52,7 @@ java -jar mnconvert-1.58.0.jar xml_file [options] [source,sh] ---- -java -jar mnconvert-1.58.0.jar xml_file [options] +java -jar mnconvert-1.59.0.jar xml_file [options] ---- - `--xsl-file`, `-s` - path to XSL file, optional @@ -67,7 +67,7 @@ java -jar mnconvert-1.58.0.jar xml_file [options] [source,sh] ---- -java -jar mnconvert-1.58.0.jar xml_file [options] +java -jar mnconvert-1.59.0.jar xml_file [options] ---- - `--xsl-file`, `-s` - path to XSL file, optional @@ -78,7 +78,7 @@ java -jar mnconvert-1.58.0.jar xml_file [options] [source,sh] ---- -java -jar mnconvert-1.58.0.jar docx_file [options] +java -jar mnconvert-1.59.0.jar docx_file [options] ---- - `--xsl-file`, `-s` - path to XSL file, optional @@ -88,7 +88,7 @@ java -jar mnconvert-1.58.0.jar docx_file [options] === 6. Convert from IEEE STL XML to Metanorma AsciiDoc. ---- -java -jar mnconvert-1.58.0.jar xml_file [options] +java -jar mnconvert-1.59.0.jar xml_file [options] ---- - `--xsl-file`, `-s` - path to XSL file, optional @@ -100,7 +100,7 @@ java -jar mnconvert-1.58.0.jar xml_file [options] [source,sh] ---- -java -jar mnconvert-1.58.0.jar xml_file --output-format ieee --validation-against +java -jar mnconvert-1.59.0.jar xml_file --output-format ieee --validation-against ---- - `--xsl-file`, `-s` - path to XSL file, optional @@ -118,7 +118,7 @@ e.g. [source,sh] ---- -java -jar target/mnconvert-1.58.0.jar tests/iso-tc154-8601-1-en.xml --output tests/iso-tc154-8601-1-en.out.xml +java -jar target/mnconvert-1.59.0.jar tests/iso-tc154-8601-1-en.xml --output tests/iso-tc154-8601-1-en.out.xml ---- NOTE: Input XML format (Metanorma, STS ISO/NISO, IEEE or XML2RFC) determines programmatically by root element of input file: + @@ -151,7 +151,7 @@ Update version in `pom.xml`, e.g.: ---- org.metanorma mnconvert -1.58.0 +1.59.0 Metanorma XML to NISO STS XML two-directional converter ---- @@ -162,8 +162,8 @@ Tag the same version in Git: [source,xml] ---- -git tag v1.58.0 -git push origin v1.58.0 +git tag v1.59.0 +git push origin v1.59.0 ---- Then the corresponding GitHub release will be automatically created at: diff --git a/pom.xml b/pom.xml index c55664db..8301aa8f 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ 4.0.0 org.metanorma mnconvert - 1.58.0 + 1.59.0 Metanorma XML to NISO STS XML two-directional, IEEE to Metanorma ADOC, Metanorma XML to IEEE XML, and XML2RFC to Metanorma Asciidoc IETF converter jar https://www.metanorma.org diff --git a/src/main/resources/mn2xml.xsl b/src/main/resources/mn2xml.xsl index 974ed8d6..1e25b66c 100644 --- a/src/main/resources/mn2xml.xsl +++ b/src/main/resources/mn2xml.xsl @@ -2953,7 +2953,7 @@ - + From 19fe5cca11e15c1f527b2326e19d7478d824f13b Mon Sep 17 00:00:00 2001 From: Alexander Dyuzhev Date: Wed, 28 Feb 2024 15:27:39 +0300 Subject: [PATCH 2/2] mn2xml.xsl updated for author name, #405, metanorma/iso-iec-jseg-15#1 --- src/main/resources/mn2xml.xsl | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/src/main/resources/mn2xml.xsl b/src/main/resources/mn2xml.xsl index 1e25b66c..fc27bb0a 100644 --- a/src/main/resources/mn2xml.xsl +++ b/src/main/resources/mn2xml.xsl @@ -2949,6 +2949,16 @@ + + + + + + + + + + @@ -3019,7 +3029,14 @@ , - <xsl:apply-templates/> + + + + + + <xsl:apply-templates/> + +