Project

General

Profile

« Previous | Next » 

Revision 1329

View differences:

versions/sc50-v1.6.005/TopazeDemoApplets/.settings/.jsdtscope
1
<?xml version="1.0" encoding="UTF-8"?>
2
<classpath>
3
	<classpathentry kind="src" path=""/>
4
	<classpathentry kind="output" path=""/>
5
</classpath>
versions/sc50-v1.6.005/TopazeDemoApplets/.settings/org.eclipse.jdt.core.prefs
1
#Mon Jan 16 18:12:18 CET 2012
2
eclipse.preferences.version=1
3
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
4
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
5
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
6
org.eclipse.jdt.core.compiler.compliance=1.5
7
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
8
org.eclipse.jdt.core.compiler.debug.localVariable=generate
9
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
10
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
11
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
12
org.eclipse.jdt.core.compiler.source=1.5
0 13

  
versions/sc50-v1.6.005/TopazeDemoApplets/.settings/org.eclipse.wst.jsdt.ui.superType.container
1
org.eclipse.wst.jsdt.launching.baseBrowserLibrary
versions/sc50-v1.6.005/TopazeDemoApplets/.settings/org.eclipse.wst.jsdt.ui.superType.name
1
Window
versions/sc50-v1.6.005/TopazeDemoApplets/src/fr/kelis/topaze/DemoApplet.java
1
package fr.kelis.topaze;
2

  
3
import java.applet.Applet;
4
import java.awt.BorderLayout;
5
import java.awt.Button;
6
import java.awt.FlowLayout;
7
import java.awt.GridLayout;
8
import java.awt.Label;
9
import java.awt.Panel;
10
import java.awt.TextField;
11
import java.awt.event.ActionEvent;
12
import java.awt.event.ActionListener;
13

  
14
import javax.swing.JLabel;
15

  
16
import netscape.javascript.JSObject;
17

  
18
public class DemoApplet extends Applet implements ActionListener {
19

  
20
	private static final long serialVersionUID = 3220531130816439711L;
21
	
22
	/**
23
	 * Topaze Javascript Manager
24
	 */
25
	private JSObject fTopazeMgr; // Topaze Javascript Manager 
26

  
27
	private JLabel fLblDynValue;
28
	private TextField fAppletVal;
29

  
30
	static final String PARAM_NAME_STATIC = "stat";
31
	static final String PARAM_NAME_DYNAMIC = "dyn";
32
	
33
	public void init() {
34
		try {
35
			fTopazeMgr = (JSObject) JSObject.getWindow(this).getMember("topazeMgr");
36
			
37
			Panel pnTitle = new Panel();
38
			pnTitle.add(new Label("Topaze Demo Applet ID=" + getParameter("id")));
39

  
40
			// Parameter panel
41
			Panel pnParams = new Panel();
42
			pnParams.setLayout(new GridLayout(2,1));
43

  
44
			// Static parameter
45
			pnParams.add(new Label("Static param '"+PARAM_NAME_STATIC+"' value = "+getParameter(PARAM_NAME_STATIC)));
46

  
47
			// Dynamic parameter panel
48
			Panel pnDyn = new Panel();
49
			pnDyn.setLayout(new FlowLayout(FlowLayout.LEFT));
50
			pnDyn.add(new Label("Dynamic param '"+PARAM_NAME_DYNAMIC+"' value = "));
51
			fLblDynValue = new JLabel(getParamValue(PARAM_NAME_DYNAMIC).toString());
52
			pnDyn.add(fLblDynValue);
53
			Button btnUpdate = new Button("update");
54
			btnUpdate.setActionCommand("update");
55
			btnUpdate.addActionListener(this);
56
			pnDyn.add(btnUpdate);
57
			pnParams.add(pnDyn);
58

  
59
			// Applet value panel
60
			Panel pnVal = new Panel();
61
			pnVal.setLayout(new FlowLayout(FlowLayout.LEFT));
62
			pnVal.add(new Label("Applet value = "));
63
			fAppletVal = new TextField(10);
64
			fAppletVal.setText(getAppletValue().toString());
65
			pnVal.add(fAppletVal);
66
			Button btnSet = new Button("set");
67
			btnSet.setActionCommand("set");
68
			btnSet.addActionListener(this);
69
			pnVal.add(btnSet);
70
			
71
			this.setLayout (new BorderLayout());
72
			add(pnTitle, BorderLayout.NORTH);
73
			add(pnParams, BorderLayout.CENTER);
74
			add(pnVal, BorderLayout.SOUTH);
75

  
76
		} catch (Exception e) {
77
			System.out.println("DemoApplet didn't load successfully");
78
    	e.printStackTrace();
79
		}
80
	}
81

  
82
	public void actionPerformed(ActionEvent evt) {
83
		String vCommand = evt.getActionCommand();
84
		if (vCommand.equals("update")){
85
			fLblDynValue.setText(getParamValue(PARAM_NAME_DYNAMIC).toString());
86
			fLblDynValue.getParent().invalidate();
87
			fLblDynValue.getParent().validate();
88
			invalidate();
89
			validate();
90
    } else if (vCommand.equals("set")){
91
    	setAppletValue(fAppletVal.getText());
92
    }
93
	}
94

  
95
	
96
	/**
97
	 * Retreive the applet's index value from the Topaze javascript manager
98
	 */
99
	private Object getAppletValue() {
100
		Object vRetVal = null;
101
    try {
102
			String vId = getParameter("id");
103
			vRetVal = fTopazeMgr.call("getIndexVal", new String[] {vId, "u"});
104
    }
105
    catch (Exception ex) {
106
    	ex.printStackTrace();
107
    }
108
		return vRetVal;
109
	}
110

  
111
	/**
112
	 * Save the applet's index value to the Topaze javascript manager
113
	 * @param pVal
114
	 */
115
	private Boolean setAppletValue(String pVal) {
116
		Boolean vRetVal = false;
117
		String vId = getParameter("id");
118
    try {
119
    	vRetVal = (Boolean) fTopazeMgr.call("setAppletIndex", new String[] {vId, pVal});
120
    }
121
    catch (Exception ex) {
122
    	ex.printStackTrace();
123
    }
124
    return vRetVal;
125
	}
126

  
127
	
128
	/**
129
	 * Retreive a dynamic parameter value from the Topaze javascript manager
130
	 * @param pId
131
	 */
132
	private Object getParamValue(String pId) {
133
		Object vRetVal = null;
134
    try {
135
			String vParamId = getParameter(pId+"-id");
136
			String vParamType = getParameter(pId+"-type");
137
			String vJsFuncName = (vParamType.charAt(0) == 'i' ? "getIndexVal" :"getVarVal");
138
			vRetVal = fTopazeMgr.call(vJsFuncName, new String[] {vParamId, vParamType.substring(1)});
139
    }
140
    catch (Exception ex) {
141
    	ex.printStackTrace();
142
    }
143
		return vRetVal;
144
	}
145

  
146

  
147
}
0 148

  
versions/sc50-v1.6.005/TopazeDemoApplets/src/fr/kelis/topaze/ListParamsApplet.java
1
package fr.kelis.topaze;
2

  
3
import java.applet.Applet;
4
import java.awt.BorderLayout;
5
import java.awt.GridLayout;
6
import java.awt.Label;
7
import java.awt.Panel;
8

  
9
import netscape.javascript.JSObject;
10

  
11
public class ListParamsApplet extends Applet {
12

  
13
	private static final long serialVersionUID = -1053216278895171282L;
14
	private static final String PARAM_NAME_LIST_STATIC = "static-params";
15
	private static final String PARAM_NAME_LIST_DYNAMIC = "dynamic-params";
16
	
17
	/**
18
	 * Topaze Javascript Manager
19
	 */
20
	private JSObject fTopazeMgr;
21
	public void init() {
22
		try {
23
			fTopazeMgr = (JSObject) JSObject.getWindow(this).getMember("topazeMgr");
24
			
25
			Panel pnTitle = new Panel();
26
			pnTitle.add(new Label("Topaze list param Applet ID=" + getParameter("id")));
27

  
28
			// Parameter panel
29
			Panel pnParams = new Panel();
30
			pnParams.setLayout(new GridLayout(4,1));
31

  
32
			// Static parameters
33
			pnParams.add(new Label("List of static parameters:"));
34
			String[] vStaticParamsList = getParameter(PARAM_NAME_LIST_STATIC).split(" ");
35
			String vStaticParams = "";
36
			for (int i = 0; i < vStaticParamsList.length; i++) {
37
				vStaticParams += vStaticParamsList[i] + "=" + getParameter(vStaticParamsList[i])+ " ";
38
			}
39
			pnParams.add(new Label(vStaticParams));
40

  
41
			// Dynamic parameters
42
			pnParams.add(new Label("List of dynamic parameters:"));
43
			String[] vDynamicParamsList = getParameter(PARAM_NAME_LIST_DYNAMIC).split(" ");
44
			String vDynamicParams = "";
45
			for (int i = 0; i < vDynamicParamsList.length; i++) {
46
				vDynamicParams += vDynamicParamsList[i] + "=" + getParamValue(vDynamicParamsList[i]).toString()+ " ";
47
			}
48
			pnParams.add(new Label(vDynamicParams));
49

  
50
			this.setLayout (new BorderLayout());
51
			add(pnTitle, BorderLayout.NORTH);
52
			add(pnParams, BorderLayout.CENTER);
53

  
54
		} catch (Exception e) {
55
			System.out.println("ListParamsApplet didn't load successfully");
56
    	e.printStackTrace();
57
		}
58
	}
59

  
60
	/**
61
	 * Retreive a dynamic parameter value from the Topaze javascript manager
62
	 * @param pId
63
	 */
64
	private Object getParamValue(String pId) {
65
		Object vRetVal = null;
66
    try {
67
			String vParamId = getParameter(pId+"-id");
68
			String vParamType = getParameter(pId+"-type");
69
			String vJsFuncName = (vParamType.charAt(0) == 'i' ? "getIndexVal" :"getVarVal");
70
			vRetVal = fTopazeMgr.call(vJsFuncName, new String[] {vParamId, vParamType.substring(1)});
71
    }
72
    catch (Exception ex) {
73
    	ex.printStackTrace();
74
    }
75
		return vRetVal;
76
	}
77
}
0 78

  
versions/sc50-v1.6.005/TopazeDemoApplets/.classpath
1
<?xml version="1.0" encoding="UTF-8"?>
2
<classpath>
3
	<classpathentry kind="src" path="src"/>
4
	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk1.6.0"/>
5
	<classpathentry kind="lib" path="/scenari_dev3/apps/jdk1.6.0_16/jre/lib/plugin.jar"/>
6
	<classpathentry kind="output" path="bin"/>
7
</classpath>
0 8

  
versions/sc50-v1.6.005/TopazeDemoApplets/.project
1
<?xml version="1.0" encoding="UTF-8"?>
2
<projectDescription>
3
	<name>TopazeDemoApplets</name>
4
	<comment></comment>
5
	<projects>
6
	</projects>
7
	<buildSpec>
8
		<buildCommand>
9
			<name>org.eclipse.jdt.core.javabuilder</name>
10
			<arguments>
11
			</arguments>
12
		</buildCommand>
13
	</buildSpec>
14
	<natures>
15
		<nature>org.eclipse.jdt.core.javanature</nature>
16
	</natures>
17
</projectDescription>
0 18

  
versions/sc50-v1.6.005/TopazeDemoApplets/TopazeDemoApplets.jardesc
1
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
<jardesc>
3
    <jar path="/home/sam/Desktop/TopazeDemoApplets.jar"/>
4
    <options buildIfNeeded="true" compress="true" descriptionLocation="/TopazeDemoApplets/TopazeDemoApplets.jardesc" exportErrors="true" exportWarnings="true" includeDirectoryEntries="true" overwrite="true" saveDescription="true" storeRefactorings="false" useSourceFolders="false"/>
5
    <storedRefactorings deprecationInfo="true" structuralOnly="false"/>
6
    <selectedProjects/>
7
    <manifest generateManifest="true" manifestLocation="" manifestVersion="1.0" reuseManifest="false" saveManifest="false" usesManifest="true">
8
        <sealing sealJar="true">
9
            <packagesToSeal/>
10
            <packagesToUnSeal/>
11
        </sealing>
12
    </manifest>
13
    <selectedElements exportClassFiles="true" exportJavaFiles="false" exportOutputFolder="false">
14
        <javaElement handleIdentifier="=TopazeDemoApplets/src"/>
15
    </selectedElements>
16
</jardesc>
0 17

  
versions/sc50-v1.6.005/deriver/res/aurora.xsl
1
<?xml version="1.0" encoding="UTF-8"?>
2
<xsl:stylesheet version="1.0" 
3
				xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
4
				xmlns:sc="http://www.utc.fr/ics/scenari/v3/core" 
5
				xmlns:sm="http://www.utc.fr/ics/scenari/v3/modeling"
6
				xmlns:sext="http://www.utc.fr/ics/scenari/v3/modeling/extension"
7
				xmlns:sma="kelis.fr:scenari/modeling/assessment"
8
				xmlns:xhtml="http://www.w3.org/1999/xhtml"
9
				xmlns:op="utc.fr:ics/opale3" 
10
				>
11
	<xsl:output encoding="UTF-8" method="xml"/>
12

  
13
	<!-- TRANSF -->
14
	<!-- # Ajout coach sur ue.transf courseua.transf et uediv -->
15
	<xsl:template match="sm:binaryXhtmlTransf/sm:content">
16
		<xsl:copy>
17
			<xsl:apply-templates select="@*|node()"/>		
18
			<xsl:comment>ATTENTION l'élément suivant à été ajouté en XSL par la dérivation.</xsl:comment>
19
			<sm:callModel>
20
				<sm:current axis="credits"/>
21
			</sm:callModel>
22
		</xsl:copy>
23
	</xsl:template>
24

  
25
	<!-- # Ajout coach, legal et countdown sur ue.transf courseua.transf et uediv -->
26
	<xsl:template match="sm:compositionXhtmlTransf[sm:model/@sc:refUri='/academic/model/Ue/ue.model' and sm:axis/@code='nav']//sm:zone[@key='zLegal'] | sm:compositionXhtmlTransf[sm:model/@sc:refUri='/academic/model/Uc/expUc.model' and sm:axis/@code='nav']//sm:zone[@key='zLegal'] | sm:compositionXhtmlTransf[sm:model/@sc:refUri='/academic/model/Uc/practUc.model' and sm:axis/@code='nav']//sm:zone[@key='zLegal'] | sm:compositionXhtmlTransf[sm:model/@sc:refUri='/academic/model/Ua/courseUa.model' and sm:axis/@code='nav']//sm:zone[@key='zLegal'] | sm:compositionXhtmlTransf[sm:model/@sc:refUri='/academic/model/Ua/assmntUa.model' and not(sm:axis)]//sm:zone[@key='zLegal'] | sm:compositionXhtmlTransf[sm:model/@sc:refUri='/academic/model/Ue/ueDiv.model' and sm:axis/@code='nav']//sm:zone[@key='zLegal']">
27
		<xsl:comment>ATTENTION l'élément modifié à été ajouté en XSL par la dérivation.</xsl:comment>
28
		<sm:zone key="zLegal" format="xhtml">
29
			<sm:callModel>
30
				<sm:root axis="legal"/>
31
			</sm:callModel>
32
		</sm:zone>
33
		<xsl:comment>ATTENTION l'élément suivant à été ajouté en XSL par la dérivation.</xsl:comment>
34
		<sm:zone key="zCoach" format="xhtml">
35
			<sm:callModel>
36
				<sm:lookForAscendants direction="currentToRoot" axis="coach">
37
					<sm:callableModel sc:refUri="/case/model/node/heavyNode.model"/>
38
				</sm:lookForAscendants>
39
			</sm:callModel>
40
		</sm:zone>
41
		<xsl:comment>ATTENTION l'élément suivant à été ajouté en XSL par la dérivation.</xsl:comment>
42
		<sm:zone key="zCountDown" format="xhtml">
43
			<sm:choose>
44
				<sm:when xpath="boolean(normalize-space(getContent(rootModel(),'countDown')))">
45
					<sm:callModel>
46
						<sm:root axis="countDown"/>
47
					</sm:callModel>
48
				</sm:when>
49
				<sm:otherwise>
50
					<sm:callModel>
51
						<sm:lookForAscendants direction="currentToRoot" axis="countDown">
52
							<sm:callableModel sc:refUri="/case/model/node/heavyNode.model"/>
53
						</sm:lookForAscendants>
54
					</sm:callModel>
55
				</sm:otherwise>
56
			</sm:choose>
57
		</sm:zone>
58
		<xsl:comment>ATTENTION l'élément suivant à été ajouté en XSL par la dérivation.</xsl:comment>
59
		<sm:zone key="zCountDownImg" format="xhtml">
60
			<sm:choose>
61
				<sm:when xpath="boolean(normalize-space(getContent(rootModel(),'countDownImg')))">
62
					<sm:callModel>
63
						<sm:root axis="countDownImg"/>
64
					</sm:callModel>
65
				</sm:when>
66
				<sm:otherwise>
67
					<sm:callModel>
68
						<sm:lookForAscendants direction="currentToRoot" axis="countDownImg">
69
							<sm:callableModel sc:refUri="/case/model/node/heavyNode.model"/>
70
						</sm:lookForAscendants>
71
					</sm:callModel>
72
				</sm:otherwise>
73
			</sm:choose>
74
		</sm:zone>
75
		<xsl:comment>ATTENTION l'élément suivant à été ajouté en XSL par la dérivation.</xsl:comment>
76
		<sm:zone key="zCountDownClass" format="xhtml">
77
			<sm:choose>
78
				<sm:when xpath="boolean(normalize-space(getContent(rootModel(),'countDownClass')))">
79
					<sm:callModel>
80
						<sm:root axis="countDownClass"/>
81
					</sm:callModel>
82
				</sm:when>
83
				<sm:otherwise>
84
					<sm:callModel>
85
						<sm:lookForAscendants direction="currentToRoot" axis="countDownClass">
86
							<sm:callableModel sc:refUri="/case/model/node/heavyNode.model"/>
87
						</sm:lookForAscendants>
88
					</sm:callModel>
89
				</sm:otherwise>
90
			</sm:choose>
91
		</sm:zone>
92
	</xsl:template>
93
	<xsl:template match="sm:genericWebSiteTransf[sm:model/@sc:refUri='/academic/model/Uc/quiz/cloze.model' and sm:axis/@code='nav']//sm:zone[@key='zLegal'] | sm:genericWebSiteTransf[sm:model/@sc:refUri='/academic/model/Uc/quiz/coQuiz.model' and sm:axis/@code='nav']//sm:zone[@key='zLegal']">
94
		<xsl:comment>ATTENTION l'élément modifié à été ajouté en XSL par la dérivation.</xsl:comment>
95
		<sm:zone key="zLegal" format="xhtml">
96
			<sm:callModel view="xhtmlContent">
97
				<sm:root axis="legal"/>
98
			</sm:callModel>
99
		</sm:zone>
100
		<xsl:comment>ATTENTION l'élément suivant à été ajouté en XSL par la dérivation.</xsl:comment>
101
		<sm:zone key="zCoach" format="xhtml">
102
			<sm:callModel view="xhtmlContent">
103
				<sm:lookForAscendants direction="currentToRoot" axis="coach">
104
					<sm:callableModel sc:refUri="/case/model/node/heavyNode.model"/>
105
				</sm:lookForAscendants>
106
			</sm:callModel>
107
		</sm:zone>
108
		<xsl:comment>ATTENTION l'élément suivant à été ajouté en XSL par la dérivation.</xsl:comment>
109
		<sm:zone key="zCountDown" format="xhtml">
110
			<sm:choose>
111
				<sm:when xpath="boolean(normalize-space(getContent(rootModel(),'countDown')))">
112
					<sm:callModel view="xhtmlContent">
113
						<sm:root axis="countDown"/>
114
					</sm:callModel>
115
				</sm:when>
116
				<sm:otherwise>
117
					<sm:callModel view="xhtmlContent">
118
						<sm:lookForAscendants direction="currentToRoot" axis="countDown">
119
							<sm:callableModel sc:refUri="/case/model/node/heavyNode.model"/>
120
						</sm:lookForAscendants>
121
					</sm:callModel>
122
				</sm:otherwise>
123
			</sm:choose>
124
		</sm:zone>
125
		<xsl:comment>ATTENTION l'élément suivant à été ajouté en XSL par la dérivation.</xsl:comment>
126
		<sm:zone key="zCountDownImg" format="xhtml">
127
			<sm:choose>
128
				<sm:when xpath="boolean(normalize-space(getContent(rootModel(),'countDownImg')))">
129
					<sm:callModel view="xhtmlContent">
130
						<sm:root axis="countDownImg"/>
131
					</sm:callModel>
132
				</sm:when>
133
				<sm:otherwise>
134
					<sm:callModel view="xhtmlContent">
135
						<sm:lookForAscendants direction="currentToRoot" axis="countDownImg">
136
							<sm:callableModel sc:refUri="/case/model/node/heavyNode.model"/>
137
						</sm:lookForAscendants>
138
					</sm:callModel>
139
				</sm:otherwise>
140
			</sm:choose>
141
		</sm:zone>
142
	</xsl:template>
143

  
144
	<!-- # Ajout titre du module, ua etc ... sur ue@nav.transf courseua@nav.transf ... -->
145
	<xsl:template match="sm:compositionXhtmlTransf[sm:model/@sc:refUri='/academic/model/Ue/ue.model' and sm:axis/@code='nav']//sm:mainZone | sm:compositionXhtmlTransf[sm:model/@sc:refUri='/academic/model/Uc/expUc.model' and sm:axis/@code='nav']//sm:mainZone | sm:compositionXhtmlTransf[sm:model/@sc:refUri='/academic/model/Uc/practUc.model' and sm:axis/@code='nav']//sm:mainZone | sm:compositionXhtmlTransf[sm:model/@sc:refUri='/academic/model/Ua/courseUa.model' and sm:axis/@code='nav']//sm:mainZone | sm:compositionXhtmlTransf[sm:model/@sc:refUri='/academic/model/Ua/assmntUa.model' and sm:axis/@code='nav']//sm:mainZone | sm:compositionXhtmlTransf[sm:model/@sc:refUri='/academic/model/Ue/ueDiv.model' and sm:axis/@code='nav']//sm:mainZone">
146
		<xsl:copy>
147
			<xsl:apply-templates select="@*"/>
148
			<xsl:comment>ATTENTION l'élément suivant à été modifié en XSL par la dérivation.</xsl:comment>
149
			<sm:WHeadingBlock>
150
				<sm:title>
151
					<sm:dynamicString>
152
						<sm:freeSelect xpath="getFullTitleText(codeAgent(lookForAscendants($vDialog,'rootToCurrent','op_ue','op_courseUa','op_ueDiv')))"/>
153
					</sm:dynamicString>
154
				</sm:title>
155
				<xsl:apply-templates select="node()"/>
156
			</sm:WHeadingBlock>
157
		</xsl:copy>
158
	</xsl:template>
159
	<xsl:template match="sm:compositionXhtmlTransf[sm:model/@sc:refUri='/academic/model/Ue/ue.model' and sm:axis/@code='nav']//sm:folder/sm:title">
160
		<xsl:copy>
161
			<xsl:apply-templates select="@*"/>
162
			<xsl:comment>ATTENTION l'élément suivant à été modifié en XSL par la dérivation.</xsl:comment>
163
			<sm:compositionTitle format="shortTitleText"/>
164
			<xsl:apply-templates select="node()"/>
165
		</xsl:copy>
166
	</xsl:template>
167
	<xsl:template match="sm:genericWebSiteTransf[sm:model/@sc:refUri='/academic/model/Uc/quiz/cloze.model' and sm:axis/@code='nav']//sm:mainZone | sm:genericWebSiteTransf[sm:model/@sc:refUri='/academic/model/Uc/quiz/coQuiz.model' and sm:axis/@code='nav']//sm:mainZone">
168
		<xsl:copy>
169
			<xsl:apply-templates select="@*"/>
170
			<xsl:comment>ATTENTION l'élément suivant à été modifié en XSL par la dérivation.</xsl:comment>
171
			<xhtml:scBlock>
172
				<xhtml:hx>
173
					<xhtml:span>
174
						<sm:dynamicString>
175
							<sm:freeSelect xpath="getFullTitleText(codeAgent(lookForAscendants($vDialog,'rootToCurrent','op_ue','op_courseUa','op_ueDiv')))"/>
176
						</sm:dynamicString>
177
					</xhtml:span>
178
				</xhtml:hx>
179
				<xhtml:div>
180
					<xsl:apply-templates select="node()"/>
181
				</xhtml:div>
182
			</xhtml:scBlock>
183
		</xsl:copy>
184
	</xsl:template>
185

  
186
	<!-- # Ajout de indDisplay, indField à txt.transf -->
187
	<xsl:template match="sm:textXhtmlTransf[sm:model/@sc:refUri='/academic/model/Re/txt.model']//sm:textLeafTag[@role='mathtex']">
188
		<xsl:copy>
189
			<xsl:apply-templates select="@*|node()"/>
190
		</xsl:copy>
191
		<xsl:comment>ATTENTION l'élément suivant à été ajouté en XSL par la dérivation.</xsl:comment>
192
		<sm:objectLeafTag role="indDisplay">
193
			<sm:refItem>
194
				<sm:label>
195
					<sm:callSubModel axis="disp"/>
196
				</sm:label>
197
				<sm:labelTitle>
198
					<sm:subModelTitle axis="disp"/>
199
				</sm:labelTitle>
200
			</sm:refItem>
201
		</sm:objectLeafTag>
202
		<xsl:comment>ATTENTION l'élément suivant à été ajouté en XSL par la dérivation.</xsl:comment>
203
		<sm:objectLeafTag role="indField">
204
			<sm:refItem>
205
				<sm:label>
206
					<sm:callSubModel axis="edit"/>
207
				</sm:label>
208
				<sm:labelTitle>
209
					<sm:subModelTitle axis="edit"/>
210
				</sm:labelTitle>
211
			</sm:refItem>
212
		</sm:objectLeafTag>
213
		<xsl:comment>ATTENTION l'élément suivant à été ajouté en XSL par la dérivation.</xsl:comment>
214
		<sm:objectLeafTag role="varDisplay">
215
			<sm:refItem>
216
				<sm:label>
217
					<sm:callSubModel axis="disp"/>
218
				</sm:label>
219
				<sm:labelTitle>
220
					<sm:subModelTitle axis="disp"/>
221
				</sm:labelTitle>
222
			</sm:refItem>
223
		</sm:objectLeafTag>
224
		<xsl:comment>ATTENTION l'élément suivant à été ajouté en XSL par la dérivation.</xsl:comment>
225
		<sm:objectLeafTag role="varField">
226
			<sm:refItem>
227
				<sm:label>
228
					<sm:callSubModel axis="edit"/>
229
				</sm:label>
230
				<sm:labelTitle>
231
					<sm:subModelTitle axis="edit"/>
232
				</sm:labelTitle>
233
			</sm:refItem>
234
		</sm:objectLeafTag>
235
	</xsl:template>
236
	
237
	<!-- # Modification des axis des quiz opale sans axis -->
238
	<xsl:template match="sma:assmntCompositionDhtmlTransf[sm:model/@sc:refUri='/academic/model/Uc/quiz/coQuiz.model' and not(sm:axis)]/sm:model | sma:assmntUnitEditDhtmlTransf[sm:model/@sc:refUri='/academic/model/Uc/quiz/cloze.model' and not(sm:axis)]/sm:model | sma:assmntUnitEditDhtmlTransf[sm:model/@sc:refUri='/academic/model/Uc/quiz/field.model' and not(sm:axis)]/sm:model | sma:assmntUnitEditDhtmlTransf[sm:model/@sc:refUri='/academic/model/Uc/quiz/numerical.model' and not(sm:axis)]/sm:model | sma:assmntUnitMlqDhtmlTransf[sm:model/@sc:refUri='/academic/model/Uc/quiz/match.model' and not(sm:axis)]/sm:model | sma:assmntUnitMcqDhtmlTransf[sm:model/@sc:refUri='/academic/model/Uc/quiz/mcqMur.model' and not(sm:axis)]/sm:model | sma:assmntUnitMcqDhtmlTransf[sm:model/@sc:refUri='/academic/model/Uc/quiz/mcqSur.model' and not(sm:axis)]/sm:model | sma:assmntUnitGmcqDhtmlTransf[sm:model/@sc:refUri='/academic/model/Uc/quiz/mcgMur.model' and not(sm:axis)]/sm:model | sma:assmntUnitGmcqDhtmlTransf[sm:model/@sc:refUri='/academic/model/Uc/quiz/mcgSur.model' and not(sm:axis)]/sm:model | sma:assmntUnitMlqDhtmlTransf[sm:model/@sc:refUri='/academic/model/Uc/quiz/ordWord.model' and not(sm:axis)]/sm:model">
239
		<xsl:copy>
240
			<xsl:apply-templates select="@*|node()"/>
241
		</xsl:copy>
242
		<xsl:comment>ATTENTION l'élément suivant à été ajouté en XSL par la dérivation.</xsl:comment>
243
		<sm:axis code="quizOpale"/>	
244
	</xsl:template>
245
	
246
	<!-- # Modification du transf (le nouveau est appelé sur l'axis quizOpale) appelé dans les quiz opale axis nav -->
247
	<xsl:template match="sm:genericWebSiteTransf[sm:model/@sc:refUri='/academic/model/Uc/quiz/cloze.model' and sm:axis/@code='nav']//xhtml:div[@class='hBk_co'] | sm:genericWebSiteTransf[sm:model/@sc:refUri='/academic/model/Uc/quiz/coQuiz.model' and sm:axis/@code='nav']//xhtml:div[@class='hBk_co']">
248
		<xsl:comment>ATTENTION l'élément suivant à été modifié en XSL par la dérivation.</xsl:comment>
249
		<xhtml:div class="hBk_co">
250
			<sm:callModel view="xhtmlContent">
251
				<sm:current axis="quizOpale"/>
252
			</sm:callModel>
253
		</xhtml:div>
254
	</xsl:template>
255
	
256
	<!-- # Ajout cond à pb.transf -->
257
	<xsl:template match="sm:compositionXhtmlTransf[sm:model/@sc:refUri='/academic/model/Pb/pb.model' and not(sm:axis)]//sm:when[@sc:refUri='/academic/gen/filters/defaultStandard/include.cond']">
258
		<xsl:comment>ATTENTION l'élément suivant à été modifié en XSL par la dérivation.</xsl:comment>
259
		<xsl:copy>
260
			<xsl:apply-templates select="@*"/>
261
			<sm:Widget sc:refUri="/mirage/web/wdt/cnd/condBlockPb.uiwidget">
262
				<sm:xhtmlContentZone key="co">
263
					<xsl:apply-templates select="node()"/>
264
				</sm:xhtmlContentZone>
265
			</sm:Widget>
266
		</xsl:copy>
267
	</xsl:template>
268

  
269
	<!-- # Ajout cond à expUcDiv.transf -->
270
	<xsl:template match="sm:compositionXhtmlTransf[sm:model/@sc:refUri='/academic/model/Uc/expUcDiv.model' and not(sm:axis)]//sm:when[@sc:refUri='/academic/gen/filters/defaultStandard/include.cond']">
271
		<xsl:comment>ATTENTION l'élément suivant à été modifié en XSL par la dérivation.</xsl:comment>
272
		<xsl:copy>
273
			<xsl:apply-templates select="@*"/>
274
			<sm:Widget sc:refUri="/mirage/web/wdt/cnd/condBlockExp.uiwidget">
275
				<sm:xhtmlContentZone key="co">
276
					<xsl:apply-templates select="node()"/>
277
				</sm:xhtmlContentZone>
278
			</sm:Widget>
279
		</xsl:copy>
280
	</xsl:template>
281

  
282
	<!-- # Ajout cond à expUc.transf -->
283
	<xsl:template match="sm:compositionXhtmlTransf[sm:model/@sc:refUri='/academic/model/Uc/expUc.model' and not(sm:axis)]//sm:when[@sc:refUri='/academic/gen/filters/defaultStandard/include.cond']">
284
		<xsl:comment>ATTENTION l'élément suivant à été modifié en XSL par la dérivation.</xsl:comment>
285
		<xsl:copy>
286
			<xsl:apply-templates select="@*"/>
287
			<sm:Widget sc:refUri="/mirage/web/wdt/cnd/condBlockExp.uiwidget">
288
				<sm:xhtmlContentZone key="co">
289
					<xsl:apply-templates select="node()"/>
290
				</sm:xhtmlContentZone>
291
			</sm:Widget>
292
		</xsl:copy>
293
	</xsl:template>
294

  
295
	<!-- ### -->
296
	<!-- # Cas général : on copie -->
297
	<!-- # -->
298
	<xsl:template match="@*|node()">
299
		<xsl:copy>
300
			<xsl:apply-templates select="@*|node()"/>
301
		</xsl:copy>
302
	</xsl:template>
303
		
304
</xsl:stylesheet>
0 305

  
versions/sc50-v1.6.005/deriver/res/res.xsl
1
<?xml version="1.0" encoding="UTF-8"?>
2
<xsl:stylesheet version="1.0" 
3
				xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
4
				xmlns:sc="http://www.utc.fr/ics/scenari/v3/core" 
5
				xmlns:sm="http://www.utc.fr/ics/scenari/v3/modeling"
6
				xmlns:sext="http://www.utc.fr/ics/scenari/v3/modeling/extension"
7
				xmlns:sma="kelis.fr:scenari/modeling/assessment"
8
				xmlns:xhtml="http://www.w3.org/1999/xhtml"
9
				xmlns:op="utc.fr:ics/opale3" 
10
				>
11
	<xsl:output encoding="UTF-8" method="xml"/>
12

  
13
	<!-- MODEL -->
14

  
15
	<!-- # Ajout des extentions Topaze à sm:undefinedPrim -->
16
	<!-- NON APPLIQUE EN 42 -->
17
	<!-- <xsl:template match="sm:undefinedPrim/sm:identification[@extensions]">
18
		<xsl:comment>ATTENTION l'élément suivant a été modifié en XSL par la dérivation.</xsl:comment>
19
		<sm:identification extensions="xml publi quiz ref applet net mWeb export case node ind cnd"/>
20
	</xsl:template> -->
21

  
22
	<!-- # Ajout de indDisplay, indField dans txt.model -->
23
	<xsl:template match="sm:textPrim[sm:identification/@code='txt']//sm:inlineImgTag[@role='form']">
24
		<xsl:comment>ATTENTION l'élément suivant à été ajouté en XSL par la dérivation.</xsl:comment>
25
		<sm:objectLeafTag role="indDisplay" name=";Indicateur affiché">
26
			<sm:refItem>
27
				<sm:allowedModel sc:refUri="/case/model/index/autoIndex.model"/>
28
				<sm:allowedModel sc:refUri="/case/model/index/userIndex.model"/>
29
				<sm:allowedModel sc:refUri="/academic/model/Re/applet/applet.model"/>
30
			</sm:refItem>
31
		</sm:objectLeafTag>
32
		<xsl:comment>ATTENTION l'élément suivant à été ajouté en XSL par la dérivation.</xsl:comment>
33
		<sm:objectLeafTag role="indField" name=";Indicateur éditable">
34
			<sm:refItem>
35
				<sm:allowedModel sc:refUri="/case/model/index/userIndex.model"/>
36
			</sm:refItem>
37
		</sm:objectLeafTag>
38
		<xsl:comment>ATTENTION l'élément suivant à été ajouté en XSL par la dérivation.</xsl:comment>
39
		<sm:objectLeafTag role="varDisplay" name=";Variable affiché">
40
			<sm:refItem>
41
				<sm:allowedModel sc:refUri="/case/model/index/autoVar.model"/>
42
				<sm:allowedModel sc:refUri="/case/model/index/userVar.model"/>
43
			</sm:refItem>
44
		</sm:objectLeafTag>
45
		<xsl:comment>ATTENTION l'élément suivant à été ajouté en XSL par la dérivation.</xsl:comment>
46
		<sm:objectLeafTag role="varField" name=";Variable éditable">
47
			<sm:refItem>
48
				<sm:allowedModel sc:refUri="/case/model/index/userVar.model"/>
49
			</sm:refItem>
50
		</sm:objectLeafTag>
51
		<xsl:copy>
52
			<xsl:apply-templates select="@*|node()"/>
53
		</xsl:copy> 	
54
	</xsl:template>
55
	
56
	<!-- # Ajout de indDisplay, indField dans txt.model -->
57
	<xsl:template match="sm:textPrim[sm:identification/@code='txt']//sm:htmlStyle[@role='ind']">
58
		<xsl:copy>
59
			<xsl:apply-templates select="@*|node()"/>
60
		</xsl:copy>
61
		<xsl:comment>ATTENTION l'élément suivant à été ajouté en XSL par la dérivation.</xsl:comment>
62
		<sm:htmlStyle tag="objectLeaf" role="indField">
63
			<sm:entryStyle key="border" value="2px inset green"/>
64
			<sm:entryStyle key="background-color" value="#e3efbf"/>
65
			<sm:entryStyle key="padding" value="1px"/>
66
			<sm:entryStyle key="margin" value="0px 3px"/>
67
			<sm:entryStyle key="line-height" value="2em;"/>
68
		</sm:htmlStyle>
69
		<xsl:comment>ATTENTION l'élément suivant à été ajouté en XSL par la dérivation.</xsl:comment>
70
		<sm:htmlStyle tag="objectLeaf" role="indDisplay">
71
			<sm:entryStyle key="background-color" value="#e1e8f9"/>
72
		</sm:htmlStyle>
73
		<xsl:comment>ATTENTION l'élément suivant à été ajouté en XSL par la dérivation.</xsl:comment>
74
		<sm:htmlStyle tag="objectLeaf" role="varField">
75
			<sm:entryStyle key="border" value="2px inset #866730"/>
76
			<sm:entryStyle key="background-color" value="#EFDEBF"/>
77
			<sm:entryStyle key="padding" value="1px"/>
78
			<sm:entryStyle key="margin" value="0px 3px"/>
79
			<sm:entryStyle key="line-height" value="2em;"/>
80
		</sm:htmlStyle>
81
		<xsl:comment>ATTENTION l'élément suivant à été ajouté en XSL par la dérivation.</xsl:comment>
82
		<sm:htmlStyle tag="objectLeaf" role="varDisplay">
83
			<sm:entryStyle key="background-color" value="#e1e8f9"/>
84
		</sm:htmlStyle>
85
	</xsl:template>
86
	
87
	<!-- # Transformation du titre en non obligatoire dans uM.model -->
88
	<xsl:template match="sm:dataFormPrim[sm:identification/@code='uM']//sm:field[@code='title']">
89
		<xsl:comment>ATTENTION l'élément suivant a été modifié en XSL par la dérivation.</xsl:comment>
90
		<sm:field code="title" name=";Titre" occurrence="zeroOrOne">
91
			<sm:string/>
92
		</sm:field>			
93
	</xsl:template>
94

  
95
	<!-- # Ajout variant dans uM.model -->
96
	<xsl:template match="sm:dataFormPrim[sm:identification/@code='uM']/sm:structure">
97
		<xsl:copy>
98
			<xsl:apply-templates select="@*|node()"/>
99
			<xsl:comment>ATTENTION l'élément suivant a été modifié en XSL par la dérivation.</xsl:comment>
100
			<sm:variants>
101
				<sm:variant key="inExpNode">
102
					<sm:excludeMember refCode="title"/>
103
					<sm:excludeMember refCode="sTitle"/>
104
					<sm:excludeMember refCode="info"/>
105
				</sm:variant>
106
			</sm:variants>
107
		</xsl:copy>	
108
	</xsl:template>
109
		
110
	<!-- # Ajout du xed pour faire disparaitre les meta lorsque expUc est interne dans expNode dans uM.model -->
111
	<xsl:template match="sm:dataFormPrim[sm:identification/@code='uM']//sm:formEditor">
112
		<xsl:copy>
113
			<xsl:apply-templates select="@*|node()"/>
114
		</xsl:copy>	
115
		<xsl:comment>ATTENTION l'élément suivant a été ajouté en XSL par la dérivation.</xsl:comment>
116
		<sm:formEditor key="expNodeIntern" indentXml="true">
117
			<sm:xmlEditor sc:refUri="/case/auth/xed/uMexpNodeIntern.xed"/>
118
		</sm:formEditor>
119
	</xsl:template>
120
	
121
	<!-- # Ajout cond dans pbTi.model -->
122
	<xsl:template match="sm:dataFormPrim[sm:identification/@code='pbTi']//sm:field[@code='title']">
123
		<xsl:copy>
124
			<xsl:apply-templates select="@*|node()"/>
125
		</xsl:copy>
126
		<xsl:comment>ATTENTION l'élément suivant à été ajouté en XSL par la dérivation.</xsl:comment>
127
		<sm:subData code="cond" name=";Condition" occurrence="zeroOrOne">
128
			<sm:allowedDataModel sc:refUri="/case/model/cnd/condBlock.model"/>
129
		</sm:subData>
130
	</xsl:template>
131
	<xsl:template match="sm:dataFormPrim[sm:identification/@code='pbTi']//sm:subData[@refCode='filters']">
132
		<xsl:copy>
133
			<xsl:apply-templates select="@*|node()"/>
134
		</xsl:copy>
135
		<xsl:comment>ATTENTION l'élément suivant à été ajouté en XSL par la dérivation.</xsl:comment>
136
		<sm:subData refCode="cond" editMode="hideRootLevel" defaultStyle="property"/>
137
	</xsl:template>
138
		
139
	<!-- # Ajout cond dans expUcDivM.model -->
140
	<xsl:template match="sm:dataFormPrim[sm:identification/@code='expUcDivM']//sm:field[@code='title']">
141
		<xsl:copy>
142
			<xsl:apply-templates select="@*|node()"/>
143
		</xsl:copy>
144
		<xsl:comment>ATTENTION l'élément suivant à été ajouté en XSL par la dérivation.</xsl:comment>
145
		<sm:subData code="cond" name=";Condition" occurrence="zeroOrOne">
146
			<sm:allowedDataModel sc:refUri="/case/model/cnd/condBlock.model"/>
147
		</sm:subData>
148
	</xsl:template>
149
	<xsl:template match="sm:dataFormPrim[sm:identification/@code='expUcDivM']//sm:stringField[@refCode='title']">
150
		<xsl:copy>
151
			<xsl:apply-templates select="@*|node()"/>
152
		</xsl:copy>
153
		<xsl:comment>ATTENTION l'élément suivant à été ajouté en XSL par la dérivation.</xsl:comment>
154
		<sm:subData refCode="cond" editMode="hideRootLevel" defaultStyle="property"/>
155
	</xsl:template>
156

  
157
	<!-- # Ajout variant dans expUc.model -->
158
	<xsl:template match="sm:compositionPrim[sm:identification/@code='expUc']/sm:structure">
159
		<xsl:copy>
160
			<xsl:apply-templates select="@*|node()"/>
161
			<xsl:comment>ATTENTION l'élément suivant a été modifié en XSL par la dérivation.</xsl:comment>
162
			<sm:variants>
163
				<sm:variant key="inExpNode"/>
164
			</sm:variants>
165
		</xsl:copy>	
166
	</xsl:template>
167
	<xsl:template match="sm:compositionPrim[sm:identification/@code='expUc']/sm:structure/sm:meta">
168
		<xsl:comment>ATTENTION l'élément suivant a été modifié en XSL par la dérivation.</xsl:comment>
169
		<sm:meta sc:refUri="/academic/model/metaData/uM.model" usage="required" variantKey="#current"/>
170
	</xsl:template>
171
		
172
	<!-- # Ajout du renvoie vers le formEditor expNodeIntern dans expUc.model -->
173
	<xsl:template match="sm:compositionPrim[sm:identification/@code='expUc']//sm:formEditor[@key='internalise']">
174
		<xsl:copy>
175
			<xsl:apply-templates select="@*|node()"/>
176
		</xsl:copy>	
177
		<xsl:comment>ATTENTION l'élément suivant a été ajouté en XSL par la dérivation.</xsl:comment>
178
		<sm:formEditor key="expNodeIntern" indentXml="true">
179
			<sm:composition>
180
				<sm:callMetaEditor key="expNodeIntern"/>
181
			</sm:composition>
182
			<sm:part refCode="pb">
183
				<sm:hiddenWidget hideChildren="no"/>
184
			</sm:part>
185
			<sm:part refCode="div">
186
				<sm:stylableWidget displayMode="auto">
187
					<sm:styles>
188
						<sm:container style="border:2px dotted #8f8f8f;margin-top:3px;margin-bottom:3px;">
189
							<sm:head>
190
								<sm:prefixIcon sc:refUri="/academic/model/_ico/partieSmall.png"/>
191
								<sm:name style="margin-left:5px; color:#8f8f8f;"/>
192
							</sm:head>
193
						</sm:container>
194
					</sm:styles>
195
					<sm:styles statusCondition="empty">
196
						<sm:container style="border-color:#c1c1c1;">
197
							<sm:head>
198
								<sm:prefixIcon sc:refUri="/academic/model/_ico/partieSmallFade.png"/>
199
								<sm:name style="color:#c1c1c1"/>
200
							</sm:head>
201
						</sm:container>
202
					</sm:styles>
203
					<sm:styles displayCondition="closed">
204
						<sm:container>
205
							<sm:head>
206
								<sm:name/>
207
								<sm:suffixIcon sc:refUri="/academic/model/_ico/openSmall.png" style="margin-left:3px"/>
208
							</sm:head>
209
						</sm:container>
210
					</sm:styles>
211
				</sm:stylableWidget>
212
			</sm:part>
213
		</sm:formEditor>
214
	</xsl:template>
215
	
216
	<!-- # Suppression de autorepeatfield pour jeywd dans keywds.model -->
217
	<xsl:template match="sm:dataFormPrim[sm:identification/@code='keywds']//sm:stringField[@refCode='keywd']">
218
		<xsl:comment>ATTENTION l'élément suivant a été modifié en XSL par la dérivation.</xsl:comment>
219
		<sm:stringField refCode="keywd" autoRepeatField="no" defaultStyle="property" textStyle="color :#6286cc;"/>
220
	</xsl:template>
221

  
222
	<!-- # Modification applet.model -->
223
	<xsl:template match="sm:compositionPrim[sm:identification/@code='applet']//sm:part[@code='statParamRes']">
224
		<xsl:copy>
225
			<xsl:apply-templates select="@*|node()"/>
226
		</xsl:copy>	
227
		<xsl:comment>ATTENTION l'élément suivant a été ajouté en XSL par la dérivation.</xsl:comment>
228
		<sm:part code="dynParam" name=";Paramètre dynamique" internalized="never">
229
			<sm:meta sc:refUri="/case/model/re/applet/dynParamM.model" usage="required"/>
230
			<sm:allowedModel sc:refUri="/case/model/index/autoIndex.model"/>
231
			<sm:allowedModel sc:refUri="/case/model/index/userIndex.model"/>
232
			<sm:allowedModel sc:refUri="/case/model/index/autoVar.model"/>
233
			<sm:allowedModel sc:refUri="/case/model/index/userVar.model"/>
234
			<sm:allowedModel sc:refUri="/academic/model/Re/applet/applet.model"/>
235
		</sm:part>
236
	</xsl:template>
237

  
238
	<!-- # Ajout chart.model -->
239
	<xsl:template match="sm:compositionPrim[sm:identification/@code='res']//sm:part[@code='res']">
240
		<xsl:copy>
241
			<xsl:apply-templates select="@*|node()"/>
242
			<xsl:comment>ATTENTION l'élément suivant a été ajouté en XSL par la dérivation.</xsl:comment>
243
			<sm:allowedModel sc:refUri="/case/model/re/chart.model"/>
244
		</xsl:copy>	
245
	</xsl:template>
246
	<xsl:template match="sm:compositionPrim[sm:identification/@code='txtRes']//sm:part[@code='img']">
247
		<xsl:copy>
248
			<xsl:apply-templates select="@*|node()"/>
249
			<xsl:comment>ATTENTION l'élément suivant a été ajouté en XSL par la dérivation.</xsl:comment>
250
			<sm:allowedModel sc:refUri="/case/model/re/chart.model"/>
251
		</xsl:copy>	
252
	</xsl:template>
253
	
254
	
255
	<!-- TRANSF -->
256
	<!-- # Ajout coach sur ue.transf courseua.transf et uediv -->
257
	<xsl:template match="sm:binaryXhtmlTransf/sm:content">
258
		<xsl:copy>
259
			<xsl:apply-templates select="@*|node()"/>		
260
			<xsl:comment>ATTENTION l'élément suivant à été ajouté en XSL par la dérivation.</xsl:comment>
261
			<sm:callModel>
262
				<sm:current axis="credits"/>
263
			</sm:callModel>
264
		</xsl:copy>
265
	</xsl:template>
266

  
267
	<!-- # Ajout coach, legal et countdown sur ue.transf courseua.transf et uediv -->
268
	<xsl:template match="sm:compositionXhtmlTransf[sm:model/@sc:refUri='/academic/model/Ue/ue.model' and not(sm:axis)]//sm:zone[@key='zLegal'] | sm:compositionXhtmlTransf[sm:model/@sc:refUri='/academic/model/Uc/expUc.model' and not(sm:axis)]//sm:zone[@key='zLegal'] | sm:compositionXhtmlTransf[sm:model/@sc:refUri='/academic/model/Uc/practUc.model' and not(sm:axis)]//sm:zone[@key='zLegal'] | sm:compositionXhtmlTransf[sm:model/@sc:refUri='/academic/model/Ua/courseUa.model' and not(sm:axis)]//sm:zone[@key='zLegal'] | sm:compositionXhtmlTransf[sm:model/@sc:refUri='/academic/model/Ua/assmntUa.model' and not(sm:axis)]//sm:zone[@key='zLegal'] | sm:compositionXhtmlTransf[sm:model/@sc:refUri='/academic/model/Ue/ueDiv.model' and not(sm:axis)]//sm:zone[@key='zLegal']">
269
		<xsl:comment>ATTENTION l'élément suivant à été modifié en XSL par la dérivation.</xsl:comment>
270
		<sm:zone key="zLegal" format="xhtml">
271
			<sm:callModel>
272
				<sm:root axis="legal"/>
273
			</sm:callModel>
274
		</sm:zone>
275
		<xsl:comment>ATTENTION l'élément suivant à été ajouté en XSL par la dérivation.</xsl:comment>
276
		<sm:zone key="zCoach" format="xhtml">
277
			<sm:callModel>
278
				<sm:lookForAscendants direction="currentToRoot" axis="coach">
279
					<sm:callableModel sc:refUri="/case/model/node/heavyNode.model"/>
280
				</sm:lookForAscendants>
281
			</sm:callModel>
282
		</sm:zone>
283
		<xsl:comment>ATTENTION l'élément suivant à été ajouté en XSL par la dérivation.</xsl:comment>
284
		<sm:zone key="zCountDown" format="xhtml">
285
			<sm:choose>
286
				<sm:when xpath="boolean(normalize-space(getContent(rootModel(),'countDown')))">
287
					<sm:callModel>
288
						<sm:root axis="countDown"/>
289
					</sm:callModel>
290
				</sm:when>
291
				<sm:otherwise>
292
					<sm:callModel>
293
						<sm:lookForAscendants direction="currentToRoot" axis="countDown">
294
							<sm:callableModel sc:refUri="/case/model/node/heavyNode.model"/>
295
						</sm:lookForAscendants>
296
					</sm:callModel>
297
				</sm:otherwise>
298
			</sm:choose>
299
		</sm:zone>
300
		<xsl:comment>ATTENTION l'élément suivant à été ajouté en XSL par la dérivation.</xsl:comment>
301
		<sm:zone key="zCountDownImg" format="xhtml">
302
			<sm:choose>
303
				<sm:when xpath="boolean(normalize-space(getContent(rootModel(),'countDownImg')))">
304
					<sm:callModel>
305
						<sm:root axis="countDownImg"/>
306
					</sm:callModel>
307
				</sm:when>
308
				<sm:otherwise>
309
					<sm:callModel>
310
						<sm:lookForAscendants direction="currentToRoot" axis="countDownImg">
311
							<sm:callableModel sc:refUri="/case/model/node/heavyNode.model"/>
312
						</sm:lookForAscendants>
313
					</sm:callModel>
314
				</sm:otherwise>
315
			</sm:choose>
316
		</sm:zone>
317
	</xsl:template>
318
	<xsl:template match="sm:genericWebSiteTransf[sm:model/@sc:refUri='/academic/model/Uc/quiz/cloze.model' and sm:axis/@code='nav']//sm:zone[@key='zLegal'] | sm:genericWebSiteTransf[sm:model/@sc:refUri='/academic/model/Uc/quiz/coQuiz.model' and sm:axis/@code='nav']//sm:zone[@key='zLegal']">
319
		<xsl:comment>ATTENTION l'élément modifié à été ajouté en XSL par la dérivation.</xsl:comment>
320
		<sm:zone key="zLegal" format="xhtml">
321
			<sm:callModel view="xhtmlContent">
322
				<sm:root axis="legal"/>
323
			</sm:callModel>
324
		</sm:zone>
325
		<xsl:comment>ATTENTION l'élément suivant à été ajouté en XSL par la dérivation.</xsl:comment>
326
		<sm:zone key="zCoach" format="xhtml">
327
			<sm:callModel view="xhtmlContent">
328
				<sm:lookForAscendants direction="currentToRoot" axis="coach">
329
					<sm:callableModel sc:refUri="/case/model/node/heavyNode.model"/>
330
				</sm:lookForAscendants>
331
			</sm:callModel>
332
		</sm:zone>
333
		<xsl:comment>ATTENTION l'élément suivant à été ajouté en XSL par la dérivation.</xsl:comment>
334
		<sm:zone key="zCountDown" format="xhtml">
335
			<sm:choose>
336
				<sm:when xpath="boolean(normalize-space(getContent(rootModel(),'countDown')))">
337
					<sm:callModel view="xhtmlContent">
338
						<sm:root axis="countDown"/>
339
					</sm:callModel>
340
				</sm:when>
341
				<sm:otherwise>
342
					<sm:callModel view="xhtmlContent">
343
						<sm:lookForAscendants direction="currentToRoot" axis="countDown">
344
							<sm:callableModel sc:refUri="/case/model/node/heavyNode.model"/>
345
						</sm:lookForAscendants>
346
					</sm:callModel>
347
				</sm:otherwise>
348
			</sm:choose>
349
		</sm:zone>
350
		<xsl:comment>ATTENTION l'élément suivant à été ajouté en XSL par la dérivation.</xsl:comment>
351
		<sm:zone key="zCountDownImg" format="xhtml">
352
			<sm:choose>
353
				<sm:when xpath="boolean(normalize-space(getContent(rootModel(),'countDownImg')))">
354
					<sm:callModel view="xhtmlContent">
355
						<sm:root axis="countDownImg"/>
356
					</sm:callModel>
357
				</sm:when>
358
				<sm:otherwise>
359
					<sm:callModel view="xhtmlContent">
360
						<sm:lookForAscendants direction="currentToRoot" axis="countDownImg">
361
							<sm:callableModel sc:refUri="/case/model/node/heavyNode.model"/>
362
						</sm:lookForAscendants>
363
					</sm:callModel>
364
				</sm:otherwise>
365
			</sm:choose>
366
		</sm:zone>
367
	</xsl:template>
368

  
369
	<!-- # Ajout titre du module, ua etc ... sur ue.transf courseua.transf et uediv -->
370
	<xsl:template match="sm:compositionXhtmlTransf[sm:model/@sc:refUri='/academic/model/Ue/ue.model' and not(sm:axis)]//sm:mainZone | sm:compositionXhtmlTransf[sm:model/@sc:refUri='/academic/model/Uc/expUc.model' and not(sm:axis)]//sm:mainZone | sm:compositionXhtmlTransf[sm:model/@sc:refUri='/academic/model/Uc/practUc.model' and not(sm:axis)]//sm:mainZone | sm:compositionXhtmlTransf[sm:model/@sc:refUri='/academic/model/Ua/courseUa.model' and not(sm:axis)]//sm:mainZone | sm:compositionXhtmlTransf[sm:model/@sc:refUri='/academic/model/Ua/assmntUa.model' and not(sm:axis)]//sm:mainZone | sm:compositionXhtmlTransf[sm:model/@sc:refUri='/academic/model/Ue/ueDiv.model' and not(sm:axis)]//sm:mainZone">
371
		<xsl:copy>
372
			<xsl:apply-templates select="@*"/>
373
			<xsl:comment>ATTENTION l'élément suivant à été modifié en XSL par la dérivation.</xsl:comment>
374
			<sm:WHeadingBlock>
375
				<sm:title>
376
					<sm:dynamicString>
377
						<sm:freeSelect xpath="getFullTitleText(codeAgent(lookForAscendants($vDialog,'rootToCurrent','op_ue','op_courseUa','op_ueDiv')))"/>
378
					</sm:dynamicString>
379
				</sm:title>
380
				<xsl:apply-templates select="node()"/>
381
			</sm:WHeadingBlock>
382
		</xsl:copy>
383
	</xsl:template>
384
	<xsl:template match="sm:genericWebSiteTransf[sm:model/@sc:refUri='/academic/model/Uc/quiz/cloze.model' and sm:axis/@code='nav']//sm:mainZone | sm:genericWebSiteTransf[sm:model/@sc:refUri='/academic/model/Uc/quiz/coQuiz.model' and sm:axis/@code='nav']//sm:mainZone | sm:genericWebSiteTransf[sm:model/@sc:refUri='/academic/model/Uc/quiz/field.model' and sm:axis/@code='nav']//sm:mainZone | sm:genericWebSiteTransf[sm:model/@sc:refUri='/academic/model/Uc/quiz/numerical.model' and sm:axis/@code='nav']//sm:mainZone | sm:genericWebSiteTransf[sm:model/@sc:refUri='/academic/model/Uc/quiz/match.model' and sm:axis/@code='nav']//sm:mainZone | sm:genericWebSiteTransf[sm:model/@sc:refUri='/academic/model/Uc/quiz/mcgMur.model' and sm:axis/@code='nav']//sm:mainZone | sm:genericWebSiteTransf[sm:model/@sc:refUri='/academic/model/Uc/quiz/mcqMur.model' and sm:axis/@code='nav']//sm:mainZone | sm:genericWebSiteTransf[sm:model/@sc:refUri='/academic/model/Uc/quiz/mcgSur.model' and sm:axis/@code='nav']//sm:mainZone | sm:genericWebSiteTransf[sm:model/@sc:refUri='/academic/model/Uc/quiz/mcqSur.model' and sm:axis/@code='nav']//sm:mainZone | sm:genericWebSiteTransf[sm:model/@sc:refUri='/academic/model/Uc/quiz/ordWord.model' and sm:axis/@code='nav']//sm:mainZone">
385
		<xsl:copy>
386
			<xsl:apply-templates select="@*"/>
387
			<xsl:comment>ATTENTION l'élément suivant à été modifié en XSL par la dérivation.</xsl:comment>
388
			<xhtml:scBlock>
389
				<xhtml:hx>
390
					<xhtml:span>
391
						<sm:dynamicString>
392
							<sm:freeSelect xpath="getFullTitleText(codeAgent(lookForAscendants($vDialog,'rootToCurrent','op_ue','op_courseUa','op_ueDiv')))"/>
393
						</sm:dynamicString>
394
					</xhtml:span>
395
				</xhtml:hx>
396
				<xhtml:div>
397
					<xsl:apply-templates select="node()"/>
398
				</xhtml:div>
399
			</xhtml:scBlock>
400
		</xsl:copy>
401
	</xsl:template>
402

  
403
	<!-- # Ajout cond à pb.transf -->
404
	<xsl:template match="sm:compositionXhtmlTransf[sm:model/@sc:refUri='/academic/model/Pb/pb.model' and not(sm:axis)]//sm:when[@sc:refUri='/academic/gen/filters/defaultStandard/include.cond']">
405
		<xsl:comment>ATTENTION l'élément suivant à été modifié en XSL par la dérivation.</xsl:comment>
406
		<xsl:copy>
407
			<xsl:apply-templates select="@*"/>
408
			<sm:Widget sc:refUri="/case/gen/_web/wdt/cnd/condBlockPb.uiwidget">
409
				<sm:xhtmlContentZone key="co">
410
					<xsl:apply-templates select="node()"/>
411
				</sm:xhtmlContentZone>
412
			</sm:Widget>
413
		</xsl:copy>
414
	</xsl:template>
415

  
416
	<!-- # Ajout cond à expUcDiv.transf -->
417
	<xsl:template match="sm:compositionXhtmlTransf[sm:model/@sc:refUri='/academic/model/Uc/expUcDiv.model' and not(sm:axis)]//sm:when[@sc:refUri='/academic/gen/filters/defaultStandard/include.cond']">
418
		<xsl:comment>ATTENTION l'élément suivant à été modifié en XSL par la dérivation.</xsl:comment>
419
		<xsl:copy>
420
			<xsl:apply-templates select="@*"/>
421
			<sm:Widget sc:refUri="/case/gen/_web/wdt/cnd/condBlockExp.uiwidget">
422
				<sm:xhtmlContentZone key="co">
423
					<xsl:apply-templates select="node()"/>
424
				</sm:xhtmlContentZone>
425
			</sm:Widget>
426
		</xsl:copy>
427
	</xsl:template>
428

  
429
	<!-- # Ajout cond à expUc.transf et expUc@ref.transf -->
430
	<xsl:template match="sm:compositionXhtmlTransf[sm:model/@sc:refUri='/academic/model/Uc/expUc.model' and not(sm:axis)]//sm:when[@sc:refUri='/academic/gen/filters/defaultStandard/include.cond'] | sm:compositionXhtmlTransf[sm:model/@sc:refUri='/academic/model/Uc/expUc.model' and sm:axis/@code='ref']//sm:when[@sc:refUri='/academic/gen/filters/defaultStandard/include.cond']">
431
		<xsl:comment>ATTENTION l'élément suivant à été modifié en XSL par la dérivation.</xsl:comment>
432
		<xsl:copy>
433
			<xsl:apply-templates select="@*"/>
434
			<sm:Widget sc:refUri="/case/gen/_web/wdt/cnd/condBlockExp.uiwidget">
435
				<sm:xhtmlContentZone key="co">
436
					<xsl:apply-templates select="node()"/>
437
				</sm:xhtmlContentZone>
438
			</sm:Widget>
439
		</xsl:copy>
440
	</xsl:template>
441

  
442
	<!-- # Ajout de indDisplay, indField à txt.transf -->
443
	<xsl:template match="sm:textXhtmlTransf[sm:model/@sc:refUri='/academic/model/Re/txt.model']//sm:textLeafTag[@role='mathtex']">
444
		<xsl:copy>
445
			<xsl:apply-templates select="@*|node()"/>
446
		</xsl:copy>
447
		<xsl:comment>ATTENTION l'élément suivant à été ajouté en XSL par la dérivation.</xsl:comment>
448
		<sm:objectLeafTag role="indDisplay">
449
			<sm:refItem>
450
				<sm:label>
451
					<sm:callSubModel axis="disp"/>
452
				</sm:label>
453
				<sm:labelTitle>
454
					<sm:subModelTitle axis="disp"/>
455
				</sm:labelTitle>
456
			</sm:refItem>
457
		</sm:objectLeafTag>
458
		<xsl:comment>ATTENTION l'élément suivant à été ajouté en XSL par la dérivation.</xsl:comment>
459
		<sm:objectLeafTag role="indField">
460
			<sm:refItem>
461
				<sm:label>
462
					<sm:callSubModel axis="edit"/>
463
				</sm:label>
464
				<sm:labelTitle>
465
					<sm:subModelTitle axis="edit"/>
466
				</sm:labelTitle>
467
			</sm:refItem>
468
		</sm:objectLeafTag>
469
		<xsl:comment>ATTENTION l'élément suivant à été ajouté en XSL par la dérivation.</xsl:comment>
470
		<sm:objectLeafTag role="varDisplay">
471
			<sm:refItem>
472
				<sm:label>
473
					<sm:callSubModel axis="disp"/>
474
				</sm:label>
475
				<sm:labelTitle>
476
					<sm:subModelTitle axis="disp"/>
477
				</sm:labelTitle>
478
			</sm:refItem>
479
		</sm:objectLeafTag>
480
		<xsl:comment>ATTENTION l'élément suivant à été ajouté en XSL par la dérivation.</xsl:comment>
481
		<sm:objectLeafTag role="varField">
482
			<sm:refItem>
483
				<sm:label>
484
					<sm:callSubModel axis="edit"/>
485
				</sm:label>
486
				<sm:labelTitle>
487
					<sm:subModelTitle axis="edit"/>
488
				</sm:labelTitle>
489
			</sm:refItem>
490
		</sm:objectLeafTag>
491
	</xsl:template>
492
	
493
	<!-- # Modification des axis des quiz opale sans axis -->
494
	<xsl:template match="sma:assmntCompositionDhtmlTransf[sm:model/@sc:refUri='/academic/model/Uc/quiz/coQuiz.model' and not(sm:axis)]/sm:model | sma:assmntUnitEditDhtmlTransf[sm:model/@sc:refUri='/academic/model/Uc/quiz/cloze.model' and not(sm:axis)]/sm:model | sma:assmntUnitEditDhtmlTransf[sm:model/@sc:refUri='/academic/model/Uc/quiz/field.model' and not(sm:axis)]/sm:model | sma:assmntUnitEditDhtmlTransf[sm:model/@sc:refUri='/academic/model/Uc/quiz/numerical.model' and not(sm:axis)]/sm:model | sma:assmntUnitMlqDhtmlTransf[sm:model/@sc:refUri='/academic/model/Uc/quiz/match.model' and not(sm:axis)]/sm:model | sma:assmntUnitMcqDhtmlTransf[sm:model/@sc:refUri='/academic/model/Uc/quiz/mcqMur.model' and not(sm:axis)]/sm:model | sma:assmntUnitMcqDhtmlTransf[sm:model/@sc:refUri='/academic/model/Uc/quiz/mcqSur.model' and not(sm:axis)]/sm:model | sma:assmntUnitGmcqDhtmlTransf[sm:model/@sc:refUri='/academic/model/Uc/quiz/mcgMur.model' and not(sm:axis)]/sm:model | sma:assmntUnitGmcqDhtmlTransf[sm:model/@sc:refUri='/academic/model/Uc/quiz/mcgSur.model' and not(sm:axis)]/sm:model | sma:assmntUnitMlqDhtmlTransf[sm:model/@sc:refUri='/academic/model/Uc/quiz/ordWord.model' and not(sm:axis)]/sm:model">
495
		<xsl:copy>
496
			<xsl:apply-templates select="@*|node()"/>
497
		</xsl:copy>
498
		<xsl:comment>ATTENTION l'élément suivant à été ajouté en XSL par la dérivation.</xsl:comment>
499
		<sm:axis code="quizOpale"/>	
500
	</xsl:template>
501
	
502
	<!-- # Modification du transf (le nouveau est appelé sur l'axis quizOpale) appelé dans les quiz opale axis nav -->
503
	<xsl:template match="sm:genericWebSiteTransf[sm:model/@sc:refUri='/academic/model/Uc/quiz/cloze.model' and sm:axis/@code='nav']//xhtml:div[@class='divQuiz'] | sm:genericWebSiteTransf[sm:model/@sc:refUri='/academic/model/Uc/quiz/field.model' and sm:axis/@code='nav']//xhtml:div[@class='divQuiz'] | sm:genericWebSiteTransf[sm:model/@sc:refUri='/academic/model/Uc/quiz/numerical.model' and sm:axis/@code='nav']//xhtml:div[@class='divQuiz'] | sm:genericWebSiteTransf[sm:model/@sc:refUri='/academic/model/Uc/quiz/match.model' and sm:axis/@code='nav']//xhtml:div[@class='divQuiz'] | sm:genericWebSiteTransf[sm:model/@sc:refUri='/academic/model/Uc/quiz/mcqMur.model' and sm:axis/@code='nav']//xhtml:div[@class='divQuiz'] | sm:genericWebSiteTransf[sm:model/@sc:refUri='/academic/model/Uc/quiz/mcqSur.model' and sm:axis/@code='nav']//xhtml:div[@class='divQuiz'] | sm:genericWebSiteTransf[sm:model/@sc:refUri='/academic/model/Uc/quiz/mcgMur.model' and sm:axis/@code='nav']//xhtml:div[@class='divQuiz'] | sm:genericWebSiteTransf[sm:model/@sc:refUri='/academic/model/Uc/quiz/mcgSur.model' and sm:axis/@code='nav']//xhtml:div[@class='divQuiz'] | sm:genericWebSiteTransf[sm:model/@sc:refUri='/academic/model/Uc/quiz/ordWord.model' and sm:axis/@code='nav']//xhtml:div[@class='divQuiz']">
504
		<xsl:comment>ATTENTION l'élément suivant à été modifié en XSL par la dérivation.</xsl:comment>
505
		<div class="divQuiz">
506
			<sm:callModel view="xhtmlContent">
507
				<sm:current axis="quizOpale"/>
508
			</sm:callModel>
509
		</div>
510
	</xsl:template>
511
	
512
	<!-- ### -->
513
	<!-- # Cas général : on copie -->
514
	<!-- # -->
515
	<xsl:template match="@*|node()">
516
		<xsl:copy>
517
			<xsl:apply-templates select="@*|node()"/>
518
		</xsl:copy>
519
	</xsl:template>
520
		
521
</xsl:stylesheet>
versions/sc50-v1.6.005/deriver/res/wui.xsl
1
<?xml version="1.0" encoding="UTF-8"?>
2
<xsl:stylesheet version="1.0" 
3
				xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
4
				xmlns:sc="http://www.utc.fr/ics/scenari/v3/core" 
5
				xmlns:sm="http://www.utc.fr/ics/scenari/v3/modeling"
6
				xmlns:sext="http://www.utc.fr/ics/scenari/v3/modeling/extension"
7
				xmlns:sma="kelis.fr:scenari/modeling/assessment"
8
				xmlns:xhtml="http://www.w3.org/1999/xhtml"
9
				xmlns:op="utc.fr:ics/opale3" 
10
				>
11
	<xsl:output encoding="UTF-8" method="xml"/>
12

  
13
	<!-- # Ajout wdl dans form.wed -->
14
	<xsl:template match="sm:boxWed[@code='opale']/sm:wedlingList">
15
		<xsl:copy>
16
			<xsl:apply-templates select="@*|node()"/>		
17
			<xsl:comment>ATTENTION l'élément suivant à été ajouté en XSL par la dérivation.</xsl:comment>
18
			<sm:wedlingList info="Topaze" sc:refUri="/topaze/wui/edClassic/wdl.wdllist"/>
19
		</xsl:copy>
20
	</xsl:template>
21

  
22
	<!-- # Ajout custom-help dans form.wed -->
23
	<xsl:template match="sm:boxWed[@code='opale']/sm:uiGuidelines">
24
		<xsl:copy>
25
			<xsl:apply-templates select="@*|node()"/>
26
			<xsl:comment>ATTENTION l'élément suivant à été ajouté en XSL par la dérivation.</xsl:comment>
27
			<sm:sharedCss key="custom-help" sc:refUri="/topaze/wui/edClassic/_res/topaze.doss" fileName="customHelp.css" xml:space="preserve"/>
28
			<sm:sharedCss key="custom-topaze" sc:refUri="/topaze/wui/edClassic/_res/topaze.doss" fileName="customTopaze.css" xml:space="preserve"/>
29
		</xsl:copy>
30
	</xsl:template>
31
	
32
	<!-- ### -->
33
	<!-- # Cas général : on copie -->
34
	<!-- # -->
35
	<xsl:template match="@*|node()">
36
		<xsl:copy>
37
			<xsl:apply-templates select="@*|node()"/>
38
		</xsl:copy>
39
	</xsl:template>
40
		
41
</xsl:stylesheet>
versions/sc50-v1.6.005/deriver/conf.xml
1
<wspTransformer name="Opale to Topaze">
2
	<wspOut dir="../model" />
3
	<originalFolders>
4
		<folder from="../original/sources/math" target="sources/math"/>
5
		<folder from="../original/sources/academic" target="sources/academic"/>
6
		<folder from="../original/sources/aurora" target="sources/aurora"/>
7
		<folder from="../original/sources/binaries" target="sources/binaries"/>
8
		<folder from="../original/sources/quadra" target="sources/quadra"/>
9
		<folder from="../original/sources/wui" target="sources/wui"/>
10
		<svnSynchro useCommandLineClient="true">
11
			<credential username="anonymous" password="anonymous"/>
12
			<item from="https://source.scenari.software/svn/opale/branches/3.8-sc50/model/sources/math" to="../original/sources/math" />
13
			<item from="https://source.scenari.software/svn/opale/branches/3.8-sc50/model/sources/academic" to="../original/sources/academic" />
14
			<item from="https://source.scenari.software/svn/opale/branches/3.8-sc50/model/sources/aurora" to="../original/sources/aurora" />
15
			<item from="https://source.scenari.software/svn/opale/branches/3.8-sc50/model/sources/binaries" to="../original/sources/binaries" />
16
			<item from="https://source.scenari.software/svn/opale/branches/3.8-sc50/model/sources/quadra" to="../original/sources/quadra" />
17
			<item from="https://source.scenari.software/svn/opale/branches/3.8-sc50/model/sources/wui" to="../original/sources/wui" />
18
		</svnSynchro>
19
	</originalFolders>
20

  
21
	<overwrite from="../deriver/overwrite" excludes="**/~gen/** **/*.sckit tests/** sources/case/** sources/topaze/** sources/progress/** sources/scormMoodle/** sources/mirage/** sources/.wspmeta"/>
22
	
23
	<xsl path="res/res.xsl" dir="sources/academic/" includes="**/*.model"/>
24
	<xsl path="res/wui.xsl" dir="sources/wui/" includes="**/*.wed **/*.editor **/*.wdl **/*.wdlist"/>
25
	<xsl path="res/res.xsl" dir="sources/quadra/" includes="**/*.transf"/>
26
	<xsl path="res/res.xsl" dir="sources/binaries/" includes="**/*.model"/>
27
	<xsl path="res/aurora.xsl" dir="sources/aurora/" includes="**/*.transf"/>
28
	
29
</wspTransformer>
versions/sc50-v1.6.005/model/sources/academic/gen/filters/cond/hasUnfilteredQuest.cond
1
<?xml version="1.0"?>
2
<sm:genericCond xmlns:sm="http://www.utc.fr/ics/scenari/v3/modeling" code="hasUnfilteredQuest">
3
	<sm:targetModel>
4
		<sm:current/>
5
		<sm:ifNone>
6
			<sm:fixedResult return="true"/>
7
		</sm:ifNone>
8
	</sm:targetModel>
9
	<sm:expression>
10
		<sm:freeXpath xpath="sp:quest[not(op:filter/sp:exclude)]">
11
			<sm:extraNamespace prefix="op" namespace="utc.fr:ics/opale3"/>
12
		</sm:freeXpath>
13
	</sm:expression>
14
</sm:genericCond>
versions/sc50-v1.6.005/model/sources/academic/gen/filters/cond/includeInShort.cond
1
<?xml version="1.0"?>
2
<sm:genericCond xmlns:sm="http://www.utc.fr/ics/scenari/v3/modeling" code="includeInWeb" info="Include in short publication">
3
	<sm:targetModel>
4
		<sm:current/>
5
		<sm:ifNone>
6
			<sm:fixedResult return="true"/>
7
		</sm:ifNone>
8
	</sm:targetModel>
9
	<sm:expression>
10
		<sm:freeXpath xpath="not($vArguments/op:filter/sp:exclude[text()='short']) and not($vArguments/op:pbTi/sp:filters/op:filter/sp:exclude[text()='short'])">
11
			<sm:extraNamespace prefix="op" namespace="utc.fr:ics/opale3"/>
12
		</sm:freeXpath>
13
	</sm:expression>
14
</sm:genericCond>
versions/sc50-v1.6.005/model/sources/academic/gen/filters/cond/includeInShortQuest.cond
1
<?xml version="1.0"?>
2
<sm:genericCond xmlns:sm="http://www.utc.fr/ics/scenari/v3/modeling" code="includeInShortQuest" info="Include in short publication in sp:quest">
3
	<sm:targetModel>
4
		<sm:current/>
5
		<sm:ifNone>
6
			<sm:fixedResult return="true"/>
7
		</sm:ifNone>
8
	</sm:targetModel>
9
	<sm:expression>
10
		<sm:freeXpath xpath="not(sp:quest/op:filter/sp:exclude[text()='short'])">
11
			<sm:extraNamespace prefix="op" namespace="utc.fr:ics/opale3"/>
12
		</sm:freeXpath>
13
	</sm:expression>
14
</sm:genericCond>
versions/sc50-v1.6.005/model/sources/academic/gen/filters/cond/includeInStandard.cond
1
<?xml version="1.0"?>
2
<sm:genericCond xmlns:sm="http://www.utc.fr/ics/scenari/v3/modeling" code="includeInStandard" info="Include in standard publication">
3
	<sm:targetModel>
4
		<sm:current/>
5
		<sm:ifNone>
6
			<sm:fixedResult return="true"/>
7
		</sm:ifNone>
8
	</sm:targetModel>
9
	<sm:expression>
10
		<sm:freeXpath xpath="not($vArguments/op:filter/sp:exclude[text()='standard']) and not($vArguments/op:pbTi/sp:filters/op:filter/sp:exclude[text()='standard'])">
11
			<sm:extraNamespace prefix="op" namespace="utc.fr:ics/opale3"/>
12
		</sm:freeXpath>
13
	</sm:expression>
14
</sm:genericCond>
versions/sc50-v1.6.005/model/sources/academic/gen/filters/cond/includeInStandardQuest.cond
1
<?xml version="1.0"?>
2
<sm:genericCond xmlns:sm="http://www.utc.fr/ics/scenari/v3/modeling" code="includeInStandardQuest" info="Include in standard publication in sp:quest">
3
	<sm:targetModel>
4
		<sm:current/>
5
		<sm:ifNone>
6
			<sm:fixedResult return="true"/>
7
		</sm:ifNone>
8
	</sm:targetModel>
9
	<sm:expression>
10
		<sm:freeXpath xpath="not(sp:quest/op:filter/sp:exclude[text()='standard'])">
11
			<sm:extraNamespace prefix="op" namespace="utc.fr:ics/opale3"/>
12
		</sm:freeXpath>
13
	</sm:expression>
14
</sm:genericCond>
versions/sc50-v1.6.005/model/sources/academic/gen/filters/defaultShort/include.cond
1
<?xml version="1.0"?>
2
<sm:formulaCond xmlns:sm="http://www.utc.fr/ics/scenari/v3/modeling" xmlns:sc="http://www.utc.fr/ics/scenari/v3/core" code="include">
3
	<sm:orGroup>
4
		<sm:andGroup>
5
			<sm:condition sc:refUri="/academic/gen/filters/defaultShort/isShortPub.cond"/>
6
			<sm:condition sc:refUri="/academic/gen/filters/cond/includeInShort.cond"/>
7
		</sm:andGroup>
8
		<sm:andGroup>
9
			<sm:condition sc:refUri="/academic/gen/filters/defaultShort/isStandardPub.cond"/>
10
			<sm:condition sc:refUri="/academic/gen/filters/cond/includeInStandard.cond"/>
11
		</sm:andGroup>
12
	</sm:orGroup>
13
</sm:formulaCond>
versions/sc50-v1.6.005/model/sources/academic/gen/filters/defaultShort/isShortPub.cond
1
<?xml version="1.0"?>
2
<sm:genericCond xmlns:sm="http://www.utc.fr/ics/scenari/v3/modeling" code="isShortPub" info="Is this a short publication">
3
	<sm:targetModel>
4
		<sm:root axis="rootFilter"/>
5
		<sm:ifNone>
6
			<sm:fixedResult return="false"/>
7
		</sm:ifNone>
8
	</sm:targetModel>
9
	<sm:expression>
10
		<sm:comparison operator="!=">
11
			<sm:leftOperand>
12
				<sm:shortTitleText/>
13
			</sm:leftOperand>
14
			<sm:rightOperand>
15
				<sm:fixedString value="standard"/>
16
			</sm:rightOperand>
17
		</sm:comparison>
18
	</sm:expression>
19
</sm:genericCond>
versions/sc50-v1.6.005/model/sources/academic/gen/filters/defaultShort/isStandardPub.cond
1
<?xml version="1.0"?>
2
<sm:genericCond xmlns:sm="http://www.utc.fr/ics/scenari/v3/modeling" code="isStandardPub" info="Is this a standard publication">
3
	<sm:targetModel>
4
		<sm:root axis="rootFilter"/>
5
		<sm:ifNone>
6
			<sm:fixedResult return="true"/>
7
		</sm:ifNone>
8
	</sm:targetModel>
9
	<sm:expression>
10
		<sm:comparison operator="=">
11
			<sm:leftOperand>
12
				<sm:shortTitleText/>
13
			</sm:leftOperand>
14
			<sm:rightOperand>
15
				<sm:fixedString value="standard"/>
16
			</sm:rightOperand>
17
		</sm:comparison>
18
	</sm:expression>
19
</sm:genericCond>
versions/sc50-v1.6.005/model/sources/academic/gen/filters/defaultShort/op_xxxRoot@rootFilter.xsl
1
<?xml version="1.0" encoding="UTF-8"?>
2
<xsl:stylesheet version="1.0" xmlns:sp="http://www.utc.fr/ics/scenari/v3/primitive" xmlns:sc="http://www.utc.fr/ics/scenari/v3/core" xmlns:op="utc.fr:ics/opale3" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" exclude-result-prefixes="sc sp op">
3
	<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes" omit-xml-declaration="yes"/>
4
	<xsl:param name="vDialog"/>
5
	<xsl:param name="vAgent"/>
6
	<xsl:template match="*">
7
		<xsl:value-of select="returnFirst(//sp:contentFilter,'short')"/>
8
	</xsl:template>
9
</xsl:stylesheet>
versions/sc50-v1.6.005/model/sources/academic/gen/filters/defaultShortInQuest/includeInQuest.cond
1
<?xml version="1.0"?>
2
<sm:formulaCond xmlns:sm="http://www.utc.fr/ics/scenari/v3/modeling" xmlns:sc="http://www.utc.fr/ics/scenari/v3/core" code="includeInQuest">
3
	<sm:orGroup>
4
		<sm:condition sc:refUri="/academic/gen/filters/cond/hasUnfilteredQuest.cond"/>
5
		<sm:andGroup>
6
			<sm:condition sc:refUri="/academic/gen/filters/defaultShort/isShortPub.cond"/>
7
			<sm:condition sc:refUri="/academic/gen/filters/cond/includeInShortQuest.cond"/>
8
		</sm:andGroup>
9
		<sm:andGroup>
10
			<sm:condition sc:refUri="/academic/gen/filters/defaultShort/isStandardPub.cond"/>
11
			<sm:condition sc:refUri="/academic/gen/filters/cond/includeInStandardQuest.cond"/>
12
		</sm:andGroup>
13
	</sm:orGroup>
14
</sm:formulaCond>
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff