Hide Table of Contents

Customizing an XSL Style Sheet

You can edit the XSL style sheets provided with SolidWorks 3D Instant Website. You use an XSL style sheet to merge XML content with HTML formatting to determine the appearance of your web page. A knowledge of XML and HTML is desired, but not required, to edit the XSL style sheets.

TIP: Read the comments in the default XSL style sheets. They provide assistance when editing the style sheets.

To customize an XSL style sheet:

  1. Locate the XSL style sheets (*.sldiws) provided with SolidWorks 3D Instant Website.

    The default location for the XSL style sheets is in the \<installation_directory>\lang\<your_lang>\Instant Website Template folder.

  2. Open the XSL style sheet in a text editor such as Notepad.

  3. Modify the content in the style sheet. Some common tasks include the following:

NOTE: If you use non-ASCII characters in a SolidWorks .xsl style sheet, you must save the file in Unicode format. You cannot use double-byte characters.


Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

Subject:   Feedback on Help Topics
Page:   Customizing an XSL Style Sheet
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:


We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again

Web Help Content Version: SOLIDWORKS 2011 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.