Oracle Solution for Error ora-19160

Solution for Oracle Error ORA-19160

ORA-19160: XPST0003 - syntax error: invalid variable name string

What triggered the Error:

The given XQuery variable does not begin with the '$' sign

What should we do to fix it:

x the variable name to start with the "$" sign.