yandex
loader

please wait

  • Akansha Sinha Dec-28-2018 12:11:06 PM ( 2 months ago )

    Nodevalue in php

  • Ronak Singh Dec-28-2018 12:12:27 PM ( 2 months ago )

    NodeName

    Returns the most accurate name for the current node type

     

    NodeValue

    The value of this node, depending on its type. Contrary to the W3C specification, the node value of DOMElement nodes is equal to DOMNode::textContent instead of NULL.

     

    nodeType

    Gets the type of the node. One of the predefined XML_xxx_NODE constants

     

    parentNode

    The parent of this node. If there is no such node, this returns NULL.

     

    childNodes

    A DOMNodeList that contains all children of this node. If there are no children, this is an empty DOMNodeList.

     

    firstChild

    The first child of this node. If there is no such node, this returns NULL.

     

    lastChild

    The last child of this node. If there is no such node, this returns NULL.

     

    previousSibling

    The node immediately preceding this node. If there is no such node, this returns NULL.

     

    nextSibling

    The node immediately following this node. If there is no such node, this returns NULL.

     

    attributes

    A DOMNamedNodeMap containing the attributes of this node (if it is a DOMElement) or NULL otherwise.

     

    ownerDocument

    The DOMDocument object associated with this node.

     

    namespaceURI

    The namespace URI of this node, or NULL if it is unspecified.

     

    prefix

    The namespace prefix of this node, or NULL if it is unspecified.

     

    localName

    Returns the local part of the qualified name of this node.

     

    baseURI

    The absolute base URI of this node or NULL if the implementation wasn't able to obtain an absolute URI.

     

    textContent

    The text content of this node and its descendants.

Please login

Similar Discussion

Recommended For You