From 02d9f46c2941a8ae665322e49d4d12ae7343ab3b Mon Sep 17 00:00:00 2001 From: Stefan Bodewig Date: Wed, 28 Dec 2011 07:39:30 +0000 Subject: [PATCH] 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 --- manual/Tasks/typedef.html | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/manual/Tasks/typedef.html b/manual/Tasks/typedef.html index 7d0de52c3..de8686654 100644 --- a/manual/Tasks/typedef.html +++ b/manual/Tasks/typedef.html @@ -254,7 +254,14 @@ classpath="path/to/ant-contrib.jar"/> - +

Here the namespace + declaration xmlns:antcontrib="antlib:net.sf.antcontrib" + allows tasks and types of the AntContrib Antlib to be used with the + antcontrib prefix + like <antcontrib:if>. + 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.