source: metadata/trunk/toolkit/example/example-profile-instance.xml @ 6

Last change on this file since 6 was 6, checked in by dietuyt, 15 years ago

Initial checkin of the CLARIN component metadata toolkit.

  • Property svn:executable set to *
File size: 1.3 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<CMD_ComponentSpec xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3    xsi:noNamespaceSchemaLocation="general-component-schema.xsd" xmlns:xi="http://www.w3.org/2001/XInclude">
4   
5<Header>lorem ipsum dolor sit</Header>
6    <!-- import component defined elsewhere -->
7   
8    <!--Xerces (and thus Oxygen) does not support xpointers in xincludes, but this should be valid nevertheless:
9        http://www.oxygenxml.com/forum/topic3107.html
10        <xi:include href="cmd-profile-actorlanguage.xml" xpointer="xpointer(/CMD_ComponentSpec/CMD_Component)" />
11    -->
12
13    <!--<xi:include href="example-component-text.xml" xpointer="element(/1/2)" />-->
14   
15    <CMD_Component filename="example-component-text.xml" />
16   
17    <CMD_Component filename="example-component-photo.xml" />   
18   
19    <!--<xi:include href="example-component-photo.xml" xpointer="element(/1/2)" />-->
20
21    <!-- use a list of 0 to 4 actors, overriding the default cardinality for an Actor component -->
22    <CMD_Component filename="example-component-actor.xml" CardinalityMin="0" CardinalityMax="4"/>
23   
24    <!--<CMD_ComponentList CardinalityMin="0" CardinalityMax="4">
25        <xi:include href="example-component-actor.xml" xpointer="element(/1/2)" />
26    </CMD_ComponentList>
27-->
28 </CMD_ComponentSpec>
Note: See TracBrowser for help on using the repository browser.