Open topic with navigation

# type

The `type` method returns the type of the node as a string.

## Syntax

    type()

## Returns

(String) A string containing the type. Possible values are:

    element_node comment_node element_decl

    attribute_node document_node attribute_decl

    text_node document_type_node entity_decl

    cdata_section_node document_frag_node namespace_decl

    entity_ref_node notation_node xinclude_start

    entity_node html_document_node xinclude_end

    pi_node dtd_node docb_document_node

© 2018 Micro Focus or one of its affiliates | Send documentation feedback to Micro Focus Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm