Project

General

Profile

« Previous | Next » 

Revision 1445

migration 3.6.003

View differences:

res@notImp.transf
1
<?xml version="1.0" encoding="UTF-8"?>
2
<sm:compositionOdtTransf xmlns:sc="http://www.utc.fr/ics/scenari/v3/core" xmlns:sm="http://www.utc.fr/ics/scenari/v3/modeling" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0">
3
	<sm:model sc:refUri="/academic/model/Re/res.model"/>
4
	<sm:axis code="notImp"/>
5
	<sm:content>
6
		<sm:inDataOrder>
7
			<sm:for codes="txt">
8
				<sm:callSubModel axis="notImp"/>
9
			</sm:for>
10
			<sm:for codes="txtRes">
11
				<sm:callSubModel/>
12
			</sm:for>
13
			<sm:for codes="listing">
14
				<!--paragraphe vide utile pour créer un leger espace avant le listing (la section ne possède pas de space before dans OO...)-->
15
				<sm:WParagraph style="spaceBefore" display="always"/>
16
				<sm:callSubModel/>
17
			</sm:for>
18
			<sm:for codes="bkquote">
19
				<sm:WParagraph style="spaceBefore" display="always"/>
20
				<sm:WBox style="bkquoteBox">
21
					<sm:WSection style="bkquote">
22
						<sm:label>
23
							<sm:fixedTitle value="bkquote"/>
24
						</sm:label>
25
						<sm:callSubModel/>
26
						<sm:WParagraph style="space" display="always"/>
27
					</sm:WSection>
28
				</sm:WBox>
29
				<sm:WParagraph style="spaceBefore" display="always"/>
30
			</sm:for>
31
			<sm:for codes="form tab img graph vid int zoom">
32
				<sm:choose>
33
					<sm:when xpath="op:instructionM">
34
						<sm:callPartMeta/>
35
					</sm:when>
36
				</sm:choose>
37
				<sm:choose>
38
					<!--Présence de ressource alternative-->
39
					<sm:when xpath="string-length(resultatAgent(concat(resultatAgent(concat($vContentAgt, '/metaAgt')), '_Aalt', '/getContent')))&gt;0">
40
						<!--# Crédit-->
41
						<sm:dataBlock category="cprRes">
42
							<sm:blockId>
43
								<sm:subModelId/>
44
							</sm:blockId>
45
							<sm:label>
46
								<sm:title>
47
									<sm:subModelTitle/>
48
								</sm:title>
49
							</sm:label>
50
							<sm:data>
51
								<sm:callSubModelMeta axis="credit"/>
52
							</sm:data>
53
						</sm:dataBlock>
54
						<!--# Ressource-->
55
						<sm:dataBlock category="res">
56
							<sm:overrideContentDeclaration>
57
								<sm:callBlockData/>
58
							</sm:overrideContentDeclaration>
59
							<sm:blockId>
60
								<sm:subModelId/>
61
							</sm:blockId>
62
							<sm:label>
63
								<sm:title>
64
									<sm:subModelTitle/>
65
								</sm:title>
66
							</sm:label>
67
							<sm:data>
68
								<sm:callSubModelMeta axis="alt"/>
69
							</sm:data>
70
						</sm:dataBlock>
71
					</sm:when>
1
<?xml version="1.0" encoding="UTF-8"?><sm:compositionOdtTransf xmlns:sm="http://www.utc.fr/ics/scenari/v3/modeling" xmlns:sc="http://www.utc.fr/ics/scenari/v3/core" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0">
2
	<sm:model sc:refUri="/academic/model/Re/res.model"/>
3
	<sm:axis code="notImp"/>
4
	<sm:content>
5
		<sm:inDataOrder>
6
			<sm:for codes="txt">
7
				<sm:callSubModel axis="notImp"/>
8
			</sm:for>
9
			<sm:for codes="txtRes">
10
				<sm:callSubModel/>
11
			</sm:for>
12
			<sm:for codes="listing">
13
				<!--paragraphe vide utile pour créer un leger espace avant le listing (la section ne possède pas de space before dans OO...)-->
14
				<sm:WParagraph style="spaceBefore" display="always"/>
15
				<sm:callSubModel/>
16
			</sm:for>
17
			<sm:for codes="bkquote">
18
				<sm:WParagraph style="spaceBefore" display="always"/>
19
				<sm:WBox style="bkquoteBox">
20
					<sm:WSection style="bkquote">
21
						<sm:label>
22
							<sm:fixedTitle value=";bkquote"/>
23
						</sm:label>
24
						<sm:callSubModel/>
25
						<sm:WParagraph style="space" display="always"/>
26
					</sm:WSection>
27
				</sm:WBox>
28
				<sm:WParagraph style="spaceBefore" display="always"/>
29
			</sm:for>
30
			<sm:for codes="form tab img graph vid int zoom">
31
				<sm:choose>
32
					<sm:when xpath="op:instructionM">
33
						<sm:callPartMeta/>
34
					</sm:when>
35
				</sm:choose>
36
				<sm:choose>
37
					<!--Présence de ressource alternative-->
38
					<sm:when xpath="string-length(resultatAgent(concat(resultatAgent(concat($vContentAgt, '/metaAgt')), '_Aalt', '/getContent')))&gt;0">
39
						<!--# Crédit-->
40
						<sm:dataBlock category="cprRes">
41
							<sm:blockId>
42
								<sm:subModelId/>
43
							</sm:blockId>
44
							<sm:label>
45
								<sm:title>
46
									<sm:subModelTitle/>
47
								</sm:title>
48
							</sm:label>
49
							<sm:data>
50
								<sm:callSubModelMeta axis="credit"/>
51
							</sm:data>
52
						</sm:dataBlock>
53
						<!--# Ressource-->
54
						<sm:dataBlock category="res">
55
							<sm:overrideContentDeclaration>
56
								<sm:callBlockData/>
57
							</sm:overrideContentDeclaration>
58
							<sm:blockId>
59
								<sm:subModelId/>
60
							</sm:blockId>
61
							<sm:label>
62
								<sm:title>
63
									<sm:subModelTitle/>
64
								</sm:title>
65
							</sm:label>
66
							<sm:data>
67
								<sm:callSubModelMeta axis="alt"/>
68
							</sm:data>
69
						</sm:dataBlock>
70
					</sm:when>
72 71
					<!--# si pas d'alternative, on n'affiche que les res connues
73
Graph : cas particulier car contient ODG et SWF-->
74
					<sm:when xpath="(name()!='sp:graph' and name()!='sp:vid' and name()!='sp:int' and name()!='sp:simu') or typeAgent(normalize-space($vContentAgt))='sfile_odg'">
75
						<!--# Crédit-->
76
						<sm:dataBlock category="cprRes">
77
							<sm:blockId>
78
								<sm:subModelId/>
79
							</sm:blockId>
80
							<sm:label>
81
								<sm:title>
82
									<sm:subModelTitle/>
83
								</sm:title>
84
							</sm:label>
85
							<sm:data>
86
								<sm:callSubModelMeta axis="credit"/>
87
							</sm:data>
88
						</sm:dataBlock>
89
						<!--# Ressource-->
90
						<sm:dataBlock category="res">
91
							<sm:overrideContentDeclaration>
92
								<sm:callBlockData/>
93
							</sm:overrideContentDeclaration>
94
							<sm:blockId>
95
								<sm:subModelId/>
96
							</sm:blockId>
97
							<sm:label>
98
								<sm:title>
99
									<sm:subModelTitle/>
100
								</sm:title>
101
							</sm:label>
102
							<sm:data>
103
								<sm:Widget sc:refUri="/academic/gen/_od/widgets/res.odwidget">
104
									<sm:odContentZone key="title">
105
										<sm:title>
106
											<sm:subModelTitle/>
107
										</sm:title>
108
									</sm:odContentZone>
109
									<sm:odContentZone key="content">
110
										<sm:callSubModel/>
111
									</sm:odContentZone>
112
								</sm:Widget>
113
							</sm:data>
114
						</sm:dataBlock>
115
					</sm:when>
116
				</sm:choose>
117
			</sm:for>
118
		</sm:inDataOrder>
119
	</sm:content>
72
Graph : cas particulier car contient ODG et SWF-->

73
					<sm:when xpath="(name()!='sp:graph' and name()!='sp:vid' and name()!='sp:int' and name()!='sp:simu') or typeAgent(normalize-space($vContentAgt))='sfile_odg'">

74
						<!--# Crédit-->

75
						<sm:dataBlock category="cprRes">

76
							<sm:blockId>

77
								<sm:subModelId/>

78
							</sm:blockId>

79
							<sm:label>

80
								<sm:title>

81
									<sm:subModelTitle/>

82
								</sm:title>

83
							</sm:label>

84
							<sm:data>

85
								<sm:callSubModelMeta axis="credit"/>

86
							</sm:data>

87
						</sm:dataBlock>

88
						<!--# Ressource-->

89
						<sm:dataBlock category="res">

90
							<sm:overrideContentDeclaration>

91
								<sm:callBlockData/>

92
							</sm:overrideContentDeclaration>

93
							<sm:blockId>

94
								<sm:subModelId/>

95
							</sm:blockId>

96
							<sm:label>

97
								<sm:title>

98
									<sm:subModelTitle/>

99
								</sm:title>

100
							</sm:label>

101
							<sm:data>

102
								<sm:Widget style="form_tab_img_graph_vid_int_zoom" sc:refUri="/academic/gen/_od/widgets/res.odwidget">

103
									<sm:odContentZone key="title">

104
										<sm:title>

105
											<sm:subModelTitle/>

106
										</sm:title>

107
									</sm:odContentZone>

108
									<sm:odContentZone key="content">

109
										<sm:callSubModel/>

110
									</sm:odContentZone>

111
								</sm:Widget>

112
							</sm:data>

113
						</sm:dataBlock>

114
					</sm:when>

115
				</sm:choose>

116
			</sm:for>

117
		</sm:inDataOrder>

118
	</sm:content>

120 119
</sm:compositionOdtTransf>

Also available in: Unified diff