Guidelines for the XSLT Style Sheet
The XSLT style sheet contains the XSLT rules and instructions that the XSLT service applies to the provided XML. Some suggestions for creating a well-formed style sheet are:
Use the XSL style sheet element as the topmost element. For example:
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<! -- XSLT code goes here -->
</xsl:stylesheet>
This explicitly defines the XSLT namespace and version.
Use the
xsl: prefix for all standard XSLT elements as defined in the
http://www.w3.org/1999/XSL/Transform conventions. The prefix prevents conflicts between the standard XSLT elements and any locally defined elements that have the same name. For example, without the prefix to distinguish them, the
<xsl:key attribute=”value”> element, used for cross-referencing data, could be confused with a
<key> element defined for a hardware business.
Use valid XSLT code.
Integration Server validates the code at run time.