skip to main
|
skip to sidebar
Tech Notes
Friday, January 7, 2011
Pretty Print XML in Python
From the command line:
python -c "import xml.dom.minidom; xml = xml.dom.minidom.parse('myxmldoc.xml'); print xml.toprettyxml()"
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Labels
ubuntu
python
encryption
linux
vim
fstab
lvm
macbook
osx
postfix
postgres
ssd
truecrypt
Blog Archive
▼
2011
(11)
►
July
(1)
►
March
(2)
►
February
(2)
▼
January
(6)
Delete blank lines in vim
Put the results of a command in the current vim bu...
Update Ubuntu Release from the command line
Reset Moinmoin password
Postgres Recovery
Pretty Print XML in Python
►
2010
(4)
►
October
(1)
►
July
(1)
►
June
(1)
►
February
(1)
►
2009
(6)
►
October
(1)
►
September
(1)
►
June
(1)
►
May
(3)
No comments:
Post a Comment