Bash Script To Parse Text In Xslt