<!ELEMENT extension (markerResolutionGenerator*)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT markerResolutionGenerator (attribute*)>
<!ATTLIST markerResolutionGenerator
class CDATA #REQUIRED
markerType CDATA #IMPLIED>
<!ELEMENT attribute EMPTY>
<!ATTLIST attribute
name CDATA #REQUIRED
value CDATA #REQUIRED>
W powyższym przykładzie generator rozwiązań dla znacznika jest powiązany ze znacznikami typu org.eclipse.ui.examples.readmetool.readmemarker, których atrybut org.eclipse.ui.examples.redmetool.id ma wartość 1234.<extension point=
"org.eclipse.ui.ide.markerResolution"
>
<markerResolutionGenerator class=
"org.eclipse.ui.examples.readmetool.ReadmeMarkerResolutionGenerator"
markerType=
"org.eclipse.ui.examples.readmetool.readmemarker"
>
<attribute name=
"org.eclipse.ui.examples.readmetool.id"
value=
"1234"
/>
</markerResolutionGenerator>
</extension>
Copyright (c) 2002, 2004 IBM Corporation i inne podmioty.
Wszelkie prawa zastrzeżone. Program ten oraz towarzyszące mu materiały są udostępniane na warunkach
licencji EPL (Eclipse Public License), wersja 1.0, dołączonej do nich i
dostępnej pod adresem http://www.eclipse.org/legal/epl-v10.html.