Did I find the right examples for you? yes no

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)
parse(string) -> object
Converts the given string to a parse tree and return the top-most
element of the tree.

src/a/m/Amara-2.0.0/lib/xslt/tree/attribute_types.py   Amara(Download)
 
from amara.xslt import XsltError, XsltStaticError, XsltRuntimeError
from amara.xslt.xpatterns import _parse as parse_xpattern
 
from amara.namespaces import XML_NAMESPACE, XMLNS_NAMESPACE
                return None
        try:
            return parse_xpattern(value)
        except XsltError, err:
            if err.__class__ is XsltError: