Preprocess XML before filtering in single generation mode

This commit is contained in:
Erwan Rouchet 2021-09-28 08:38:10 +02:00
parent 3b0b466ba4
commit ed5e3d1806
No known key found for this signature in database
GPG Key ID: FF629EE969FFE294
1 changed files with 2 additions and 1 deletions

View File

@ -4,7 +4,8 @@
id="$1"
shift
"$DIR/bin/xml2json" "$DIR/itsb.xml" \
xsltproc "$DIR/xslt/itsb.xsl" "$DIR/itsb.xml" \
| "$DIR/bin/xml2json" \
| jq '
.itsb.section[].source |= [
arrays[]