Title: <xmlpeek> and <xmlpoke> examples in the docs are incorrect

Just a couple of little documentation problems.
The online docs under stable nant documentation, in the file
Nant -> Help -> Task Reference -> <xmlpeek>
The current example states:
The example will read the server value from the above configuration file.
        <xmlpoke
                file="App.config"
                xpath="/configuration/appSettings/[EMAIL PROTECTED] = 'server']/@value"
                property="server" />
And it should be:
The example will read the server value from the above configuration file.
        <xmlpeek
                filename="App.config"
                xpath="/configuration/appSettings/[EMAIL PROTECTED] = 'server']/@value"
                property="server" />
The first attribute should be filename instead of file, and the task name was wrong.
Also, in <xmlpoke> the first attribute is file, it should be filename.

Jason

Reply via email to