The Tcl package xmlgen allows to write Tcl code which translates itself into XML.
Every tag is made into a markup command which takes attributes and the element's content as parameters and then prints the XML tagged content. Of course, the content again can contain markup commands.
Every tag is made into a markup command which takes attributes and the element's content as parameters and then prints the XML tagged content. Of course, the content again can contain markup commands.
To install xmlgen, run the following command in macOS terminal (Applications->Utilities->Terminal)
sudo port install xmlgen
To see what files were installed by xmlgen, run:
port contents xmlgen
To later upgrade xmlgen, run:
sudo port selfupdate && sudo port upgrade xmlgen
Reporting an issue on MacPorts Trac
The MacPorts Project uses a system called Trac to file tickets to report bugs and enhancement requests.
Though anyone may search Trac for tickets, you must have a GitHub account in order to login to Trac to create tickets.