Siebel Portal Framework Guide > Delivering Content to External Web Applications > Manipulating Siebel XML with XSL Style Sheets and XSLT >

XML-Specific Template Tag


The XML-specific template tag looks like this:

<swe:xsl-stylesheet>

Purpose

Specifies the name of the XSLT style sheet to perform the XSLT on the XML output document. The style sheet must reside in the application's webtempl directory. There is only one <swe:xsl-stylesheet> tag for each view. If more than one <swe:xslstylesheet> tag is specified in the view, then the last tag found gets used.

Attributes

Two attributes are used with the XSLT style sheet:

  • name. Specifies the name of the style sheet.
  • mode. You can set the mode to either process or embed. When set to process, SWE performs XSLT processing on the XML output and sends the transformed document as the response back to the client. When this attribute is set to embed, SWE inserts an XML processing instruction in the beginning of the XML document for external XSLT processing.
Example

The following example illustrates how to specify the attributes for a style sheet.

<swe:xsl-stylesheet name= "table.xsl" mode= "process"/>

Siebel Portal Framework Guide Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.