Project

General

Profile

« Previous | Next » 

Revision 1445

migration 3.6.003

View differences:

synthFilterEmpty.uiwidget
1
<?xml version="1.0" encoding="UTF-8"?>
2
<sm:openUiWidget xmlns:sc="http://www.utc.fr/ics/scenari/v3/core" xmlns:sm="http://www.utc.fr/ics/scenari/v3/modeling" code="synthFilterEmpty" info="Elimine tous les titres du plan qui n'ont aucune question Memo">
3
	<sm:fillTemplateBuffers>
4
		<sm:postXslFragment keyXsl="xhtml">	&lt;xsl:template match="scBlock[containWord(@class, 'synth')]"&gt;
5
			&lt;xsl:if test="descendant::text()[not(starts-with(local-name(../..), 'h'))][string-length(normalize-space())&amp;gt;0] or descendant::img"&gt;
6
				&lt;div&gt;
7
					&lt;xsl:apply-templates select="@*"/&gt;
8
					&lt;xsl:apply-overlays/&gt;
9
					&lt;xsl:apply-templates/&gt;
10
				&lt;/div&gt;
11
			&lt;/xsl:if&gt;
12
	&lt;/xsl:template&gt;	</sm:postXslFragment>
13
	</sm:fillTemplateBuffers>
14
	<sm:content/>
1
<?xml version="1.0" encoding="UTF-8"?><sm:openUiWidget xmlns:sm="http://www.utc.fr/ics/scenari/v3/modeling" xmlns:sc="http://www.utc.fr/ics/scenari/v3/core" code="synthFilterEmpty" info="Elimine tous les titres du plan qui n'ont aucune question Memo">
2
	<sm:fillTemplateBuffers>
3
		<sm:postXslFragment keyXsl="xhtml">	&lt;xsl:template match="scBlock[containWord(@class, 'synth')]"&gt;
4
			&lt;xsl:if test="descendant::text()[not(starts-with(local-name(../..), 'h'))][string-length(normalize-space())&amp;gt;0] or descendant::img"&gt;
5
				&lt;div&gt;
6
					&lt;xsl:apply-templates select="@*"/&gt;
7
					&lt;xsl:apply-overlays/&gt;
8
					&lt;xsl:apply-templates/&gt;
9
				&lt;/div&gt;
10
			&lt;/xsl:if&gt;
11
	&lt;/xsl:template&gt;	</sm:postXslFragment>
12
	</sm:fillTemplateBuffers>
13
	<sm:content/>
15 14
</sm:openUiWidget>

Also available in: Unified diff