Warning: this is an htmlized version!
The original is here, and the conversion rules are here. |
####### # # E-scripts on XML. # # Note 1: use the eev command (defined in eev.el) and the # ee alias (in my .zshrc) to execute parts of this file. # Executing this file as a whole makes no sense. # An introduction to eev can be found here: # # (find-eev-quick-intro) # http://angg.twu.net/eev-intros/find-eev-quick-intro.html # # Note 2: be VERY careful and make sure you understand what # you're doing. # # Note 3: If you use a shell other than zsh things like |& # and the for loops may not work. # # Note 4: I always run as root. # # Note 5: some parts are too old and don't work anymore. Some # never worked. # # Note 6: the definitions for the find-xxxfile commands are on my # .emacs. # # Note 7: if you see a strange command check my .zshrc -- it may # be defined there as a function or an alias. # # Note 8: the sections without dates are always older than the # sections with dates. # # This file is at <http://angg.twu.net/e/xml.e> # or at <http://angg.twu.net/e/xml.e.html>. # See also <http://angg.twu.net/emacs.html>, # <http://angg.twu.net/.emacs[.html]>, # <http://angg.twu.net/.zshrc[.html]>, # <http://angg.twu.net/escripts.html>, # and <http://angg.twu.net/>. # ####### # «.libxml» (to "libxml") # «.xmlto» (to "xmlto") # https://en.wikipedia.org/wiki/XML # https://unix.stackexchange.com/questions/147905/how-do-i-actually-read-an-xml-file-in-human-form-that-makes-sense # http://harmful.cat-v.org/software/xml/ # (find-esgrep "grep --color -niH --null -e xml *.e") ##### # # libxml # 2020oct17 # ##### # «libxml» (to ".libxml") # (find-zsh "installeddebs | sort | grep libxml") # (find-status "libxml2-utils") # (find-vldifile "libxml2-utils.list") # (find-udfile "libxml2-utils/") # (find-man "xmllint") * (eepitch-shell) * (eepitch-kill) * (eepitch-shell) cd /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/ xmllint xfce4-keyboard-shortcuts.xml # (find-status "libxml2-doc") # (find-vldifile "libxml2-doc.list") # (find-udfile "libxml2-doc/") ##### # # xmlto # 2020oct17 # ##### # «xmlto» (to ".xmlto") # (find-status "xmlto") # (find-vldifile "xmlto.list") # (find-udfile "xmlto/") # (find-man "1 xmlto") # (find-sh "xmlto --help") * (eepitch-shell) * (eepitch-kill) * (eepitch-shell) cd /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/ xmlto txt xfce4-keyboard-shortcuts.xml # No way to convert HTML to text found. # Try either installing text web browser(lynx/w3m/links) or use option --with-fop https://www.unix.com/shell-programming-and-scripting/147483-how-convert-xml-file-text-file.html # Local Variables: # coding: utf-8-unix # End: