This class represents the base stylesheet or an "import" stylesheet. More...
#include <Stylesheet.hpp>
Inheritance diagram for Stylesheet
Collaboration diagram for Stylesheet:
NodeList
that contains all children of this node. More...NamedNodeMap
containing the attributes of this node (if it is an Element
) or null
otherwise.Document
object associated with this node. More...newChild
before the existing child node refChild
. More...oldChild
with newChild
in the list of children, and returns the oldChild
node. More...oldChild
from the list of children, and returns it. More...newChild
to the end of the list of children of this node. More...Text
nodes in the full depth of the sub-tree underneath this Node
, including attribute nodes, into a "normal" form where only markup (e.g., tags, comments, processing instructions, CDATA sections, and entity references) separates Text
nodes, i.e., there are no adjacent Text
nodes. More...null
if it is unspecified. More...null
if it is unspecified.DocumentType
) associated with this document. More...DOMImplementation
object that handles this document.NodeList
of all the elements with a given tag name. More...NodeList
of all the Element
s with a given local name and namespace URI in the order in which they would be encountered in a preorder traversal of the Document
tree. More...Element
whose ID is given by elementId
. More...This class represents the base stylesheet or an "import" stylesheet.
"include" stylesheets are combined with the including stylesheet.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Constructor for a Stylesheet needs a Document.
|
|
|
|
Add an attribute set to the list.
|
|
Add an extension namespace handler. This provides methods for calling an element extension as well as for function calls (which is passed on to XPath).
|
|
Add an imported stylesheet.
|
|
Add object to array of match patterns if not already there. theArraySize size will be incremented if the pattern was added.
|
|
Add object to vector of match patterns if not already there.
|
|
Add a template to the list of names templates.
|
|
Adds the node
If the
Reimplemented from XalanDocument. |
|
Apply the set of named attributes to a node in a given context with a given mode.
|
|
Returns a duplicate of this node. This function serves as a generic copy constructor for nodes.
The duplicate node has no parent (
Reimplemented from XalanDocument. |
|
Creates an Attr of the given name.
Note that the
Reimplemented from XalanDocument. |
|
Creates an attribute of the given qualified name and namespace URI.
"Experimental - subject to change"
Reimplemented from XalanDocument. |
|
Creates a CDATASection node whose value is the specified string.
Reimplemented from XalanDocument. |
|
Creates a Comment node given the specified string.
Reimplemented from XalanDocument. |
|
Creates an empty DocumentFragment object.
Reimplemented from XalanDocument. |
|
Creates an element of the type specified. Note that the instance returned implements the Element interface, so attributes can be specified directly on the returned object.
Reimplemented from XalanDocument. |
|
Creates an element of the given qualified name and namespace URI.
"Experimental - subject to change"
Reimplemented from XalanDocument. |
|
Creates an EntityReference object.
Reimplemented from XalanDocument. |
|
Creates a ProcessingInstruction node given the specified name and data strings.
Reimplemented from XalanDocument. |
|
Creates a Text node given the specified string.
Reimplemented from XalanDocument. |
|
Locate a template via the "name" attribute.
|
|
Given a target element, find the template that best matches in the given XSL document, according to the rules specified in the xsl draft.
|
|
Given a target element, find the template that best matches in the given XSL document, according to the rules specified in the xsl draft.
|
|
See if there is a namespace alias.
|
|
See if there is a namespace alias.
|
|
Gets a
Reimplemented from XalanDocument. |
|
Retrieve the base identifier with which this stylesheet is associated.
|
|
Gets a
If there are no children, this is a Reimplemented from XalanDocument. |
|
Retrieve the base identifier for the most recently included stylesheet. This will return the same value as getBaseIdentifier(), if no include is being processed.
|
|
|
|
Retrieve the XalanDecimalFormatSymbols instance associated with the name.
|
|
Get Document Type Declaration (see
For documents without a document type declaration this returns Reimplemented from XalanDocument. |
|
Return a reference to the root element of the document.
Reimplemented from XalanDocument. |
|
Returns the
If no such element exists, returns
Note: The DOM implementation must have information that says which attributes are of type ID. Attributes with the name "ID" are not of type ID unless so defined. Implementations that do not know whether attributes are of type ID or not are expected to return
"Experimental - subject to change"
Reimplemented from XalanDocument. |
|
Returns a The returned node list is "live", in that changes to the document tree made after a nodelist was initially returned will be immediately reflected in the node list.
The elements in the node list are ordered in the same order in which they would be encountered in a preorder traversal of the
Reimplemented from XalanDocument. |
|
Returns a
"Experimental - subject to change"
Reimplemented from XalanDocument. |
|
Gets the first child of this node.
If there is no such node, this returns Reimplemented from XalanDocument. |
|
Return the
Reimplemented from XalanDocument. |
|
Retrieve the stack of who's including who.
|
|
Get the node's index. Valid only if isIndexed() reports that the document is node-order indexed.
Reimplemented from XalanDocument. |
|
Gets the last child of this node.
If there is no such node, this returns Reimplemented from XalanDocument. |
|
Returns the local part of the qualified name of this node.
For nodes created with a DOM Level 1 method, such as Reimplemented from XalanDocument. |
|
Retrieve the list of namespace declarations currently in effect.
|
|
Retrieve the list of namespace declarations currently in effect.
|
|
Retrieve a namespace corresponding to a prefix. This assumes that the PrevixResolver hold's its own namespace context, or is a namespace context itself.
Reimplemented from PrefixResolver. |
|
Get the namespace from a prefix by searching the stack of namespace lists.
|
|
Get the namespace from a prefix by searching the stack of namespace lists.
|
|
Get the namespace from a qualified name.
|
|
Get the namespace from a qualified name.
|
|
Get the namespace URI of this node, or
This is not a computed value that is the result of a namespace lookup based on an examination of the namespace declarations in scope. It is merely the namespace URI given at creation time.
For nodes of any type other than Reimplemented from XalanDocument. |
|
Retrieve the stack of namespace lists.
|
|
Retrieve the stack of namespace lists.
|
|
|
|
|
|
Gets the node immediately following this node.
If there is no such node, this returns Reimplemented from XalanDocument. |
|
Reimplemented from XalanDocument. |
|
An enum value representing the type of the underlying object.
Reimplemented from XalanDocument. |
|
Gets the value of this node, depending on its type.
Reimplemented from XalanDocument. |
|
Get the document's number. This interface is a Xalan-specific extension.
Reimplemented from XalanDocument. |
|
Gets the
This is also the Reimplemented from XalanDocument. |
|
Gets the parent of this node.
All nodes, except Reimplemented from XalanDocument. |
|
Get the namespace prefix of this node, or
Reimplemented from XalanDocument. |
|
Gets the node immediately preceding this node.
If there is no such node, this returns Reimplemented from XalanDocument. |
|
Retrieve the root stylesheet object.
|
|
Retrieve the root stylesheet object.
|
|
Retrieve the base URI for the resolver.
Reimplemented from PrefixResolver. |
|
|
|
|
|
Retrieve the manufactured template to use if there is no wrapper.
|
|
|
|
Retrieve XSLT version number.
|
|
Process an attribute that has the value of 'yes' or 'no'.
|
|
This is a convenience method to allow easy determination of whether a node has any children.
Reimplemented from XalanDocument. |
|
Imports a node from another document to this document.
The returned node has no parent (
"Experimental - subject to change"
Reimplemented from XalanDocument. |
|
Inserts the node
If
Reimplemented from XalanDocument. |
|
See if this is a xmlns attribute, and, if so, process it.
|
|
Determine if the document is node-order indexed.
Reimplemented from XalanDocument. |
|
Tell if this is the root of the stylesheet tree.
|
|
whether there is a wrapper template.
|
|
Given a XalanNode, locate the start of a list of possible templates that match it.
|
|
Given a name, locate the start of a list of possible templates that match that name. If none match, then use the default list.
|
|
Return the handler for a given extension namespace.
|
|
Puts all This can be used to ensure that the DOM view of a document is the same as if it were saved and re-loaded, and is useful when operations (such as XPointer lookups) that depend on a particular document tree structure are to be used.
Note: In cases where the document contains Reimplemented from XalanDocument. |
|
Pop a namespace declaration from the namespace stack.
|
|
Called after construction is completed.
Reimplemented in StylesheetRoot. |
|
Process an xsl:decimal-format element.
|
|
See if a namespace should be excluded.
|
|
Process the xsl:key element.
|
|
Process an xsl:namespace-alias element.
|
|
Push the namespace declarations from the current attribute list onto the namespace stack.
|
|
Set a list of top level variables in the specified execution context stylesheet.
|
|
|
|
|
|
Removes the child node indicated by
Reimplemented from XalanDocument. |
|
Replaces the child node
If
If the
Reimplemented from XalanDocument. |
|
Set the base identifier with which this stylesheet is associated.
|
|
Set the list of namespace declarations currently in effect.
|
|
Sets the value of the node. Any node which can have a nodeValue (
Reimplemented from XalanDocument. |
|
Set the namespace prefix of this node.
Note that setting this attribute, when permitted, changes the
Note also that changing the prefix of an attribute, that is known to have a default value, does not make a new attribute with the default value and the original prefix appear, since the
Reimplemented from XalanDocument. |
|
Set a top level variable, to be serialized with the rest of the stylesheet.
|
|
Set whether there is a wrapper template.
|
|
Set the manufactured template to use if there is no wrapper.
|
|
|
|
Set XSLT version number.
|
|
Tests whether the DOM implementation implements a specific feature and that feature is supported by this node.
Reimplemented from XalanDocument. |
|
The base URL of the XSL document.
|
|
Table of KeyDeclaration objects, which are set by the xsl:key element.
|
|
The root of the stylesheet tree.
|
|
|
The documentation for this class was generated from the following file:
Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.
![]() |
Xalan-C++ XSL Transformer Version 1.1 |
|