Browse Source

hint at namespace declaration rules. PR 52309

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1225133 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 13 years ago
parent
commit
02d9f46c29
1 changed files with 8 additions and 1 deletions
  1. +8
    -1
      manual/Tasks/typedef.html

+ 8
- 1
manual/Tasks/typedef.html View File

@@ -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>&lt;antcontrib:if&gt;</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>


Loading…
Cancel
Save