The joint processing of XML and relational data is of major importance in information and knowledge management. Many database management systems support XML data, which is the de facto standard for data representation and exchange over the web. Our method handles conjunctive queries, comprising relational predicates and external predicates, such as XML predicates. The language can be utilized as a target language for higher level constructs or as an embedded query language.