The XML file you want to assign an XSLT stylesheet to should be open in the
active document window.
Place the cursor on the line where you want to insert the
xml-stylesheet
element (this should be between the XML declaration and the root element).
On the Style menu, click Assign XSLT to
XML File.
The
Assign XSLT Stylesheet dialogue box is displayed.
Select the XSLT file you want to assign and click Open.
The xml-stylesheet declaration is placed in the XML file.
An Example of an XSLT stylesheet named "new.xsl" being assigned to an XML
file named "new.xml"