#!/usr/bin/env python """ Sample code to convert YAML to XML and XML to YAML using a canonical form. The canonical YAML representation of an XML element is a 4-tuple (a sequence) containing the following: (1) element name (2) attributes -- a mapping (3) text -- a string (4) children -- a sequence of elements For usage information, type: python convertyaml_seq.py Usage: python convertyaml_seq.py