Author: bodewig
Date: Wed Dec 28 07:39:30 2011
New Revision: 1225133
URL: http://svn.apache.org/viewvc?rev=1225133&view=rev
Log:
hint at namespace declaration rules. PR 52309
Modified:
ant/core/trunk/manual/Tasks/typedef.html
Modified: ant/core/trunk/manual/Tasks/typedef.html
URL:
http://svn.apache.org/viewvc/ant/core/trunk/manual/Tasks/typedef.html?rev=1225133&r1=1225132&r2=1225133&view=diff
==============================================================================
--- ant/core/trunk/manual/Tasks/typedef.html (original)
+++ ant/core/trunk/manual/Tasks/typedef.html Wed Dec 28 07:39:30 2011
@@ -254,7 +254,14 @@
classpath="path/to/ant-contrib.jar"/>
</pre>
-
+<p>Here the namespace
+ declaration <code>xmlns:antcontrib="antlib:net.sf.antcontrib"</code>
+ allows tasks and types of the AntContrib Antlib to be used with the
+ <code>antcontrib</code> prefix
+ like <code><antcontrib:if></code>.
+ The normal rules of XML namespaces apply and you can declare the
+ prefix at any element to make it usable for the element it is
+ declared on as well as all its child elements.</p>
</body>