The XSL/XQuery | Assign XSL... command assigns an XSLT stylesheet to an XML document. Clicking the command opens a dialog to let you specify the XSLT file you want to assign. You can also select a file via a global resource or a URL (click the Browse button) or a file in one of the open windows in XMLSpy (click the Window button).
An xml-stylesheet processing instruction is inserted in the XML document:
<?xml-stylesheet type="text/xsl" href="C:\workarea\recursion\recursion.xslt"?>
Please note: You can make the path of the assigned file relative by clicking the Make Path Relative To... check box.