<!ELEMENT extension (javadoc+)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ATTLIST javadoc
path CDATA #REQUIRED
archive (true | false) "false">
path er en URL eller en relativ sti i forhold til den plugin, der erklærer udvidelsen. false bruges, hvis der ikke angives en værdi. Attributten skal kun bruges, hvis attributten path angiver en relativ sti. Attributten har ingen virkning, hvis attributten path angiver en URL. <!ELEMENT plugin EMPTY>
<!ATTLIST plugin
id CDATA #REQUIRED>
pathjavadoc-udvidelsen:
I eksemplet er Javadoc for to plugins,<extension point=
"org.eclipse.pde.core.javadoc"
>
<javadoc path=
"doc.zip!/references/api/"
archive=
"true"
/>
<plugin id=
"com.example.abc"
/>
<plugin id=
"com.example.def"
/>
</javadoc>
<javadoc path=
"http://www.sample-url.org/doc/"
/>
<plugin id=
"com.example.ghi"
/>
</javadoc>
<javadoc path=
"doc/"
/>
<plugin id=
"com.example.jkl"
/>
</javadoc>
</extension>
com.example.abc og com.example.xyz, placeret i biblioteket references/api/ i ZIP-filen doc.zip i den plugin, der erklærer udvidelsen.
Javadoc til plugin'en com.example.ghi er placeret på http://www.sample-url.org/doc/.
Javadoc til plugin'en com.example.jkl er placeret i biblioteket doc, der er relativt i forhold til placeringen af den plugin, der erklærer udvidelsen.
Copyright (c) 2005 IBM Corporation and others.
All rights reserved. This program and the accompanying materials are made
available under the terms of the Eclipse Public License v1.0 which
accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html.