2011-11-04, 11:44 PM
Does anyone know how I can "wash" my XML-based through program that will remove the "leading spaces" from the XML?
I use batch file that I got from mvallevand (Thanks Martin, still works beautifully) to strip Chinese Characters, now just need to add something to remove the "leading spaces"
C:\Progra~1\GnuWin32\bin\sed -e "s/[\x00-\x1F\x7F-\xFF]//g" -e "s/()//g" C:\Utils\TVXB\XML\TVXB01XML\xmltvHKBTVTemp.xml > C:\Utils\TVXB\XML\TVXB01XML\xmltvHKBTV.xml
ta!
k.
I use batch file that I got from mvallevand (Thanks Martin, still works beautifully) to strip Chinese Characters, now just need to add something to remove the "leading spaces"
C:\Progra~1\GnuWin32\bin\sed -e "s/[\x00-\x1F\x7F-\xFF]//g" -e "s/()//g" C:\Utils\TVXB\XML\TVXB01XML\xmltvHKBTVTemp.xml > C:\Utils\TVXB\XML\TVXB01XML\xmltvHKBTV.xml
ta!
k.
ASUS STRIX X470-F AMD 2700x 4GHz | Win10Prox64 | 32GB | NVIDIA GEforce GT1030 Fanless | WinTV DMB-TH | WinTV HVR-1280 | Hauppauge Colossus | AC86U/AC68U | USB-UIRT | RPi4 Libreelec | Sony Bravia LCD X9000F Android TV |