updated the 'include' documentation
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/digester/trunk@1137611 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/site/xdoc/guide/xmlrules.xml b/src/site/xdoc/guide/xmlrules.xml
index e801e6b..475da87 100644
--- a/src/site/xdoc/guide/xmlrules.xml
+++ b/src/site/xdoc/guide/xmlrules.xml
@@ -145,7 +145,7 @@
<pattern value="root/foo">
<object-create-rule classname="Foo" />
- <include url="rules2.xml" />
+ <include url="classpath:/rules2.xml" />
</pattern>
</digester-rules>
@@ -163,6 +163,10 @@
</pattern>
</digester-rules>
</source>
+<p>Note that the <i>url</i> attribute accepts any valid <code>URL</code>, plus the the meta <code>classpath</code> URL,
+that points to a any valid resource present in the ClassPath; the <code>ClassLoader</code> used to load the resources
+is the same users set to resolve classes during the parse-time.</p>
+
<p>
Parsing <code>rule1.xml</code> would result in a <code>Digester</code> initialized with these
pattern/rule pairs:</p>