#!/usr/bin/python # -*- coding: utf-8 -*- # -------------------------------------------------- # File Name: test.py # Location: # Purpose: # Creation Date: 25-05-2017 # Last Modified: Thu, May 25, 2017 10:42:51 AM # Author(s): Mike Stout # Copyright 2017 The Author(s) All Rights Reserved # Credits: # -------------------------------------------------- import sys from lxml import etree fname = sys.argv[1] parser = etree.XMLParser(dtd_validation=True) tree = etree.parse(fname, parser) print "-"*80