★ wanayoo — archive 1999 https://developer.mozilla.org/it/docs/Web/API/Document/createExpressionNouvelle recherche | Portail wanayoo
mozilla
Risultati di ricerca

    Document.createExpression()

    I volontari di MDN non hanno ancora tradotto questo articolo in Italiano. Registrati per tradurlo tu.

    This method compiles an XPathExpression which can then be used for (repeated) evaluations.

    Syntax

    xpathExpr = document.createExpression(xpathText, namespaceURLMapper);
    

    Parameters

    • String xpathText (the XPath expression to be compiled)
    • Function namespaceURLMapper (maps a namespace prefix to a namespace URL (or null if none needed))

    Firefox 3 note

    Prior to Firefox 3, you could call this method on documents other than the one you planned to run the XPath against. Under Firefox 3, you must call it on the same document.

    Return value

    XPathExpression

    Etichette del documento e nomi di chi ha collaborato alla sua stesura

    Contributors to this page: Sheppy, Navin_Jadhav, ziyunfei, Nickolay, Brettz9, kscarfone, MHasan, teoli
    Ultima modifica di: teoli,
    Nascondi barra laterale