concept text in category ant

This is an excerpt from Manning's book Ant in Action.
In this build file, we have configured the <javac> task with attributes of the task: we have told it to compile files in the current directory. Here, the <echo> task uses the text inside it. Attributes on an element describe options and settings that can only set once in the task. A task can support multiple nested elements, such as a list of files to delete. The attributes and elements of every built-in task are listed in Ant’s online documentation. Bookmark your local copy of this documentation, as you will use it regularly when creating Ant build files. In the documentation, all parameters are XML attributes, and all parameters specified as nested elements are exactly that: nested XML elements that configure the task.
The <xmlfile> element supports <nested> elements inside; those elements can contain text and must have an attribute called attribute. We can use it to validate XML documents created with <echo>. We first need to declare the document type at the beginning of the file.
.