XQuery and XSLT are clearly very similar languages
They share a large core of common syntax (XPath), a data model (XDM) and were developed by W3C Working groups in close collaboration
and some overlap in membership.
Most differences are purely syntactic, where XSLT uses an XML syntax for node construction and control flow, XQuery uses essentially
an extended XPath syntax.