LibXml2-LibXslt
LibXml2-LibXslt
Libxml2 [1] is the XML C parser and toolkit developed for the Gnome project (but usable outside of the Gnome platform), it is free software available under the MIT License. XML itself is a metalanguage to design markup languages, i.e. text language where semantic and structure are added to the content using extra "markup" information enclosed between angle brackets.
Libxslt [2] is the XSLT C library developed for the GNOME project. XSLT itself is a an XML language to define transformation for XML. Libxslt is based on libxml2 the XML C library developed for the GNOME project.
Compiling in HPC
Request a compute node. The following provides default resource values (1 node, 1 task, 10 hours -- the job may not start right away)
srun --pty bash
Copy the source files (tutorial [3]) from /usr/local/doc/LIBXML2-LIBXSLT to your working directory
cp /usr/local/doc/LIBXML2-LIBXSLT/* .
Load the modules:
module load libxml2
module load libxslt
Compile
gcc -o keyword keyword.c -lxml2 -lxslt
Run
./keyword sample.xml