The error message is correct: you haven't defined the "cfg:" prefix. If you need information on the use of namespaces (including prefixes and default namespaces), see http://www.w3.org/TR/REC-xml-names/ and/or http://www.w3.org/TR/xml-names11/.