Class Stylesheet

All Implemented Interfaces:
Serializable, SourceLocator, XSLTVisitable, PrefixResolver, ExpressionNode, WhitespaceStrippingElementMatcher, Document, Element, Node, NodeList
Direct Known Subclasses:
StylesheetComposed

public class Stylesheet extends ElemTemplateElement implements Serializable
Represents a stylesheet element.

All properties in this class have a fixed form of bean-style property accessors for all properties that represent XSL attributes or elements. These properties have setter method names accessed generically by the processor, and so these names must be fixed according to the system defined in the getSetterMethodName function.

 <!ENTITY % top-level "
  (xsl:import*,
   (xsl:include
   | xsl:strip-space
   | xsl:preserve-space
   | xsl:output
   | xsl:key
   | xsl:decimal-format
   | xsl:attribute-set
   | xsl:variable
   | xsl:param
   | xsl:template
   | xsl:namespace-alias
   %non-xsl-top-level;)*)
 ">

 <!ENTITY % top-level-atts '
   extension-element-prefixes CDATA #IMPLIED
   exclude-result-prefixes CDATA #IMPLIED
   id ID #IMPLIED
   version NMTOKEN #REQUIRED
   xmlns:xsl CDATA #FIXED "http://www.w3.org/1999/XSL/Transform"
   %space-att;
 '>

 <!ELEMENT xsl:stylesheet %top-level;>
 <!ATTLIST xsl:stylesheet %top-level-atts;>

 <!ELEMENT xsl:transform %top-level;>
 <!ATTLIST xsl:transform %top-level-atts;>

 

See Also: