xml_file

Bash

# pacman -S xalan-c

PHP

# apt install php7.0-xml

Python

# pacman -S python-xmltodict

$ yay python-dicttoxml

Perl

libxml-dom-perl

libxml-simple-perl

# pacman -S perl-xml-libxml

# pacman -S perl-xml-simple

Lua

LuaXML

LuaXML_101012.zip

gcc -shared LuaXML_lib.c -I/usr/include/lua5.1
-o LuaXML_lib.so -fPIC

Tcl

tclxml

vala

libxml2-dev
node

npm install xml2js
Rhino

    Bug in Ubuntu 10.04

    Can be fixed by replacing /usr/share/java/js.jar

    rhino1_7R2.zip

    This bug was fixed in the package rhino - 1.7R2-4ubuntu2
    
    ---------------
    rhino (1.7R2-4ubuntu2) natty; urgency=low
    
      * Re-enable E4X support (LP: #304702):
        - debian/control: Added Build-Depends on libxmlbeans-java
        - debian/ant.properties: Remove no-e4x flag
     -- James Page 
Java

整形

xmllint --format aaa.xml

May/05/2020
result_aa

outarea_aa
outarea_bb
outarea_cc
outarea_dd
outarea_ee
outarea_ff
outarea_gg
outarea_hh

Return

May/09/2023 AM 08:15