mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
add an xml pretty-printer
This makes it a lot easier to see what's going on in a TCX file.
This commit is contained in:
4
src/ppxml.rb
Executable file
4
src/ppxml.rb
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env ruby
|
||||
require 'rexml/document'
|
||||
xml = REXML::Document.new(STDIN)
|
||||
xml.write(STDOUT, 2)
|
||||
Reference in New Issue
Block a user