XMLStarlet doesnt prints full line



i have a problem with my batch. Xmlstarlet not show me the complete line . However, I get in the batch only "3DS " than spending the rest of the line will not be shown . It should also only the version (first "title" line in xml) only eg " 4.5.10-1" and without this "3DS " Im very glad of any answers.



@echo off
cls
echo.
echo.
echo ----------- Nintendo 3DS Firmware Checker --------------------------------------
echo --------------------- A CMD based Tool -----------------------------------------
echo.
echo.
echo.
httpget http://ift.tt/1wzcO1S nintendo3dsupdate.xml
for /f %%i in ('XML.EXE sel -t -v "//channel/item/title" "nintendo3dsupdate.xml"') do set "var111=%%i" >nul
echo.
echo.
echo "%var111%" is the currently 3ds firmware.
echo.
echo.
pause
exit

No comments:

Post a Comment