Hello,
I'm working with XMLBeans for some weeks now, but now I'm interested in
accessing the documentation availlable in my xsd-scheme.
Until now I only managed to get the documentation directly under any
complextype, but not the documentation specific to any element, attribute or
attributegroup
Consider following snippet from my scheme:
<complexType name="titleType">
<annotation>
<documentation><!-- THIS DOCUMENTATION I CAN ACCESS -->
The name given to a resource e.g. a media item, media object, sequence.
For a series – use the series title; for a programme – a
programme title; for an
item – an item title. etc. To differentiate between a series
title and programme
title when these are identical, recommended best practice is
to use a date along
with the programme title. For example, “News” is a series
title; “News 2007.11.12”
is a programme title. Titles are recorded as they appear.
</documentation>
</annotation>
<sequence>
<element ref="dc:title">
<annotation>
<documentation>
<!--HOW CAN I ACCESS THIS DOCUMENTATION??? -->
The EBU core metadata set is built as a refinement of the Dublin
Core. </documentation>
</annotation>
</element>
</sequence>
<attributeGroup ref="ebucore:typeGroup">
<annotation>
<documentation>
<!--HOW CAN I ACCESS THIS DOCUMENTATION??? -->
The typeGroup is used to define the type of Title such as Episode,
Programme, Collection, Programme Group, Series, Item,
Scene, Shot, Element,
Segment, Project, , Series Number, Episode Number, Scene
Number, Take Number
Recording, Album, etc. The name of the type can be
provided in the form of a
text label, or a link to a code of a classification
scheme, optionally
accompanied by a definition</documentation>
</annotation>
</attributeGroup>
<attribute name="note" type="string">
<annotation>
<documentation> Optional addditional contextual information.
<!--HOW CAN I ACCESS THIS DOCUMENTATION??? --> </documentation>
</annotation>
</attribute>
</complexType>
Any ideas on this?
Thanks in advance
Ward