# phpman > man > text(3)

[XML::XPath::Node](https://www.chedong.com/phpMan.php/perldoc/XML%3A%3AXPath%3A%3ANode/markdown)::[Text(3pm)](https://www.chedong.com/phpMan.php/man/Text/3pm/markdown)      User Contributed Perl Documentation     [XML::XPath::Node](https://www.chedong.com/phpMan.php/perldoc/XML%3A%3AXPath%3A%3ANode/markdown)::[Text(3pm)](https://www.chedong.com/phpMan.php/man/Text/3pm/markdown)



## NAME
       Text - an XML text node

## API
### new ( text )
       Create a new text node.

### getValue / getData
       Returns the text

   **string**___**value**
       Returns the text

### appendText ( text )
       Adds the given text string to this node.



perl v5.28.0                                 2018-10-20                  [XML::XPath::Node](https://www.chedong.com/phpMan.php/perldoc/XML%3A%3AXPath%3A%3ANode/markdown)::[Text(3pm)](https://www.chedong.com/phpMan.php/man/Text/3pm/markdown)
