Template:Baum2

From railML 3 Wiki
Revision as of 14:35, 15 July 2022 by RailML Coord Documentation (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This template is supposed to support the display of the XML tree.

Substitution:

{ (
} )
# +
| !
\n

This template defines the table "Baum2". This table has not been created yet.


Abruf der Tabelle als CSV:

Error: Table Baum2 not found.

Prepare this table with a script like

sed -i.bak -e 's/(/{/g' Baum.csv
sed -i -e 's/)/}/g' Baum.csv
sed -i -e 's/+/#/g' Baum.csv
sed -i -e 's/!/|/g' Baum.csv
sed -i '1d' Baum.csv
sed -i -e ':a;N;$!ba;s/\n//g' Baum.csv
sed -i -e 's/↵/\n/g' Baum.csv
echo