Did I find the right examples for you? yes no

All Samples(66)  |  Call(0)  |  Derive(38)  |  Import(28)
The Element interface represents an XML element in the Stylesheet Tree.

src/a/m/Amara-2.0.0/lib/xslt/tree/call_template_element.py   Amara(Download)
from amara.namespaces import XSL_NAMESPACE
from amara.xslt import XsltError
from amara.xslt.tree import (xslt_element, content_model, attribute_types,
                             choose_elements, if_element)
 
 
class call_template_element(xslt_element):

src/a/m/Amara-2.0.0/lib/xslt/tree/declaration_elements.py   Amara(Download)
from amara.namespaces import XSL_NAMESPACE, EXTENSION_NAMESPACE
from amara.xslt import XsltError
from amara.xslt.tree import xslt_element, content_model, attribute_types
 
__all__ = (
class _combining_element(xslt_element):
    content_model = content_model.empty
    attribute_types = {
        'href': attribute_types.uri_reference(required=True),
        }
class _whitespace_element(xslt_element):
    content_model = content_model.empty
    attribute_types = {
        'elements' : attribute_types.tokens(required=1),
        }
class output_element(xslt_element):
    """Implementation of the `xsl:output` element"""
    content_model = content_model.empty
    attribute_types = {
        'method': attribute_types.qname(),
class key_element(xslt_element):
    """Implementation of the `xsl:key` element"""
    content_model = content_model.empty
    attribute_types = {
        'name': attribute_types.qname(required=True),

src/a/m/Amara-2.0.0/lib/xslt/tree/choose_elements.py   Amara(Download)
from amara.namespaces import XSL_NAMESPACE
from amara.xslt import XsltError
from amara.xslt.tree import xslt_element, content_model, attribute_types
 
__all__ = ('choose_element', 'when_element', 'otherwise_element')
 
 
class when_element(xslt_element):
class otherwise_element(xslt_element):
    content_model = content_model.template
    attribute_types = {}
 
 
class choose_element(xslt_element):

src/a/m/Amara-2.0.0/lib/xslt/tree/transform_element.py   Amara(Download)
from amara.xpath import XPathError, datatypes
from amara.xslt import XsltError, xsltcontext
from amara.xslt.tree import (xslt_element, content_model, attribute_types,
                             literal_element, variable_elements)
 
class transform_element(xslt_element):
    content_model = content_model.seq(
        content_model.rep(content_model.qname(XSL_NAMESPACE, 'xsl:import')),
        content_model.top_level_elements,
        )

src/a/m/Amara-2.0.0/lib/xslt/tree/fallback_elements.py   Amara(Download)
 
from amara.xslt import XsltError, XsltRuntimeError
from amara.xslt.tree import xslt_element, content_model, attribute_types
 
__all__ = (
    'fallback_element', 'undefined_xslt_element', 'undefined_extension_element'
    )
 
class fallback_element(xslt_element):
class _undefined_element(xslt_element):
 
    content_model = content_model.template
    _error_code = XsltError.INTERNAL_ERROR
 

src/a/m/Amara-2.0.0/lib/xslt/exslt/functions.py   Amara(Download)
from amara.xslt import XsltError, XsltRuntimeError
from amara.xslt.expressions import rtf_expression
from amara.xslt.tree import xslt_element, content_model, attribute_types
from amara.xslt.tree.variable_elements import param_element
 
EXSL_FUNCTIONS_NS = "http://exslt.org/functions"
 
class function_element(xslt_element):
class result_element(xslt_element):
    """
    When an func:result element is instantiated, during the
    instantiation of a func:function element, the function returns
    with its value.

src/a/m/Amara-2.0.0/lib/xslt/tree/with_param_element.py   Amara(Download)
 
from amara.xslt import XsltError
from amara.xslt.tree import xslt_element, content_model, attribute_types
from amara.xslt.expressions import rtf_expression
 
class with_param_element(xslt_element):

src/a/m/Amara-2.0.0/lib/xslt/tree/variable_elements.py   Amara(Download)
 
from amara.xslt import XsltError
from amara.xslt.tree import xslt_element, content_model, attribute_types
 
__all__ = ['variable_element', 'param_element']
 
class variable_element(xslt_element):

src/a/m/Amara-2.0.0/lib/xslt/tree/value_of_element.py   Amara(Download)
"""
 
from amara.xslt.tree import xslt_element, content_model, attribute_types
 
class value_of_element(xslt_element):

src/a/m/Amara-2.0.0/lib/xslt/tree/text_element.py   Amara(Download)
"""
 
from amara.xslt.tree import xslt_element, content_model, attribute_types
 
class text_element(xslt_element):

  1 | 2 | 3  Next