The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

Интерактивная система просмотра системных руководств (man-ов)

 ТемаНаборКатегория 
 
 [Cписок руководств | Печать]

XML::XPath::Node::Element (3)
  • >> XML::XPath::Node::Element (3) ( Разные man: Библиотечные вызовы )
  •  

    NAME

    Element - an <element>
     
    

    API

     

    new ( name, prefix )

    Create a new Element node with name ``name'' and prefix ``prefix''. The name be ``prefix:local'' if prefix is defined. I know that sounds wierd, but it works ;-)  

    getName

    Returns the name (including ``prefix:'' if defined) of this element.  

    getLocalName

    Returns just the local part of the name (the bit after ``prefix:'').  

    getChildNodes

    Returns the children of this element. In list context returns a list. In scalar context returns an array ref.  

    getChildNode ( pos )

    Returns the child at position pos.  

    appendChild ( childnode )

    Appends the child node to the list of current child nodes.  

    getAttribute ( name )

    Returns the attribute node with key name.  

    getAttributes / getAttributeNodes

    Returns the attribute nodes. In list context returns a list. In scalar context returns an array ref.  

    appendAttribute ( attrib_node)

    Appends the attribute node to the list of attributes (XML::XPath stores attributes in order).  

    getNamespace ( prefix )

    Returns the namespace node by the given prefix  

    getNamespaces / getNamespaceNodes

    Returns the namespace nodes. In list context returns a list. In scalar context returns an array ref.  

    appendNamespace ( ns_node )

    Appends the namespace node to the list of namespaces.  

    getPrefix

    Returns the prefix of this element  

    getExpandedName

    Returns the expanded name of this element (not yet implemented right).  

    string_value

    For elements, the string_value is the concatenation of all string_values of all text-descendants of the element node in document order.  

    toString ( [ norecurse ] )

    Output (and all children) the node to a string. Doesn't process children if the norecurse option is a true value.


     

    Index

    NAME
    API
    new ( name, prefix )
    getName
    getLocalName
    getChildNodes
    getChildNode ( pos )
    appendChild ( childnode )
    getAttribute ( name )
    getAttributes / getAttributeNodes
    appendAttribute ( attrib_node)
    getNamespace ( prefix )
    getNamespaces / getNamespaceNodes
    appendNamespace ( ns_node )
    getPrefix
    getExpandedName
    string_value
    toString ( [ norecurse ] )


    Поиск по тексту MAN-ов: 




    Партнёры:
    PostgresPro
    Inferno Solutions
    Hosting by Hoster.ru
    Хостинг:

    Закладки на сайте
    Проследить за страницей
    Created 1996-2024 by Maxim Chirkov
    Добавить, Поддержать, Вебмастеру