Replaced encódigong by encoding in the XML samples
Reviewed SQL query to avoid problems with case-sensitive databases (patch reported by Educamos)