just had another strange error message XSL Error: pattern = '/root/language/*[localname(.)=$titleelem]' Could not find function: localname Remaining tokens: ( '(' '.' ')' '=' '$' 'titleelem' ']'), style tree node: org.apache.xalan.xslt.ElemValueOf@26c2b81 greetings Christoph