xml.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Sun, 14 Nov 2010 10:51:53 +0200
changeset 701 03edb85e87a9
parent 636 2873f39135e2
child 717 1b13061fe47a
permissions -rw-r--r--
Clean up Windows system directories.

-*- mode: outline; coding: utf-8 -*-

* relaxng.

** relaxng-mode.

  http://www.pantor.com/download.html
                RNC Emacs Mode (home page)
  http://www.emacswiki.org/emacs/RELAX_NG
  http://www.relaxng.org/compact-tutorial-20030326.html
                relaxng compact syntax tutorial

* CLI utilities for processing xml.

** xmlstar.

XMLStarlet is a set of command line utilities (tools) which can be used to transform,
query, validate, and edit XML documents and files using simple set of shell commands in
similar way it is done for plain text files using UNIX grep, sed, awk, diff, patch, join,
etc.

  http://xmlstar.sourceforge.net/overview.php
                home page

** Cygwin.

  cmd# setup.exe -p libxml2,libxslt

'libxslt' provide 'xsltproc, 'libxml2' provide 'xmlcatalog' and 'xmllint'

** XPath query from CLI.

  $ xmllint --xpath $XPATH file.xml