summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSunil Shetye2025-02-25 19:13:35 +0530
committerSunil Shetye2025-02-26 11:52:44 +0530
commitde413fc0bf5f3121e414f399ead466dc519cfa42 (patch)
tree2cde38c8d7ad6f89eac3c6eb4c03b3ae367c455f
parent1c068b41c2c3723874859e995f97f2312d332826 (diff)
downloadCommon-Interface-Project-de413fc0bf5f3121e414f399ead466dc519cfa42.tar.gz
Common-Interface-Project-de413fc0bf5f3121e414f399ead466dc519cfa42.tar.bz2
Common-Interface-Project-de413fc0bf5f3121e414f399ead466dc519cfa42.zip
ignore
-rw-r--r--blocks/xcos2xml/blocks/ABS_VALUE.xsl20
-rw-r--r--blocks/xcos2xml/blocks/AFFICH_m.xsl20
-rw-r--r--blocks/xcos2xml/blocks/ANDBLK.xsl20
-rw-r--r--blocks/xcos2xml/blocks/ANDLOG_f.xsl20
-rw-r--r--blocks/xcos2xml/blocks/AUTOMAT.xsl20
-rw-r--r--blocks/xcos2xml/blocks/BACKLASH.xsl20
-rw-r--r--blocks/xcos2xml/blocks/BARXY.xsl20
-rw-r--r--blocks/xcos2xml/blocks/BIGSOM_f.xsl18
-rw-r--r--blocks/xcos2xml/blocks/BITCLEAR.xsl20
-rw-r--r--blocks/xcos2xml/blocks/BITSET.xsl20
-rw-r--r--blocks/xcos2xml/blocks/BOUNCE.xsl20
-rw-r--r--blocks/xcos2xml/blocks/BOUNCEXY.xsl20
-rw-r--r--blocks/xcos2xml/blocks/BPLATFORM.xsl20
-rw-r--r--blocks/xcos2xml/blocks/Bache.xsl20
-rw-r--r--blocks/xcos2xml/blocks/CANIMXY.xsl20
-rw-r--r--blocks/xcos2xml/blocks/CANIMXY3D.xsl20
-rw-r--r--blocks/xcos2xml/blocks/CBLOCK.xsl20
-rw-r--r--blocks/xcos2xml/blocks/CBLOCK4.xsl20
-rw-r--r--blocks/xcos2xml/blocks/CCS.xsl20
-rw-r--r--blocks/xcos2xml/blocks/CEVENTSCOPE.xsl20
-rw-r--r--blocks/xcos2xml/blocks/CFSCOPE.xsl20
-rw-r--r--blocks/xcos2xml/blocks/CLINDUMMY_f.xsl20
-rw-r--r--blocks/xcos2xml/blocks/CLKFROM.xsl20
-rw-r--r--blocks/xcos2xml/blocks/CLKGOTO.xsl20
-rw-r--r--blocks/xcos2xml/blocks/CLKGotoTagVisibility.xsl20
-rw-r--r--blocks/xcos2xml/blocks/CLKINV_f.xsl20
-rw-r--r--blocks/xcos2xml/blocks/CLKIN_f.xsl20
-rw-r--r--blocks/xcos2xml/blocks/CLKOUTV_f.xsl20
-rw-r--r--blocks/xcos2xml/blocks/CLKSOMV_f.xsl20
-rw-r--r--blocks/xcos2xml/blocks/CLOCK_c.xsl32
-rw-r--r--blocks/xcos2xml/blocks/CLOCK_f.xsl20
-rw-r--r--blocks/xcos2xml/blocks/CLR.xsl18
-rw-r--r--blocks/xcos2xml/blocks/CLSS.xsl20
-rw-r--r--blocks/xcos2xml/blocks/CMAT3D.xsl20
-rw-r--r--blocks/xcos2xml/blocks/CMATVIEW.xsl20
-rw-r--r--blocks/xcos2xml/blocks/CMSCOPE.xsl20
-rw-r--r--blocks/xcos2xml/blocks/CONST.xsl20
-rw-r--r--blocks/xcos2xml/blocks/CONSTRAINT2_c.xsl18
-rw-r--r--blocks/xcos2xml/blocks/CONSTRAINT_c.xsl20
-rw-r--r--blocks/xcos2xml/blocks/CONST_f.xsl20
-rw-r--r--blocks/xcos2xml/blocks/CONST_m.xsl20
-rw-r--r--blocks/xcos2xml/blocks/CONVERT.xsl18
-rw-r--r--blocks/xcos2xml/blocks/COSBLK_f.xsl20
-rw-r--r--blocks/xcos2xml/blocks/CSCOPE.xsl22
-rw-r--r--blocks/xcos2xml/blocks/CSCOPXY.xsl20
-rw-r--r--blocks/xcos2xml/blocks/CSCOPXY3D.xsl20
-rw-r--r--blocks/xcos2xml/blocks/CUMSUM.xsl20
-rw-r--r--blocks/xcos2xml/blocks/CURV_f.xsl20
-rw-r--r--blocks/xcos2xml/blocks/CVS.xsl20
-rw-r--r--blocks/xcos2xml/blocks/Capacitor.xsl20
-rw-r--r--blocks/xcos2xml/blocks/ConstantVoltage.xsl22
-rw-r--r--blocks/xcos2xml/blocks/Counter.xsl18
-rw-r--r--blocks/xcos2xml/blocks/CurrentSensor.xsl20
-rw-r--r--blocks/xcos2xml/blocks/DEADBAND.xsl20
-rw-r--r--blocks/xcos2xml/blocks/DEBUG.xsl18
-rw-r--r--blocks/xcos2xml/blocks/DELAYV_f.xsl20
-rw-r--r--blocks/xcos2xml/blocks/DELAY_f.xsl32
-rw-r--r--blocks/xcos2xml/blocks/DEMUX.xsl22
-rw-r--r--blocks/xcos2xml/blocks/DEMUX_f.xsl22
-rw-r--r--blocks/xcos2xml/blocks/DERIV.xsl20
-rw-r--r--blocks/xcos2xml/blocks/DFLIPFLOP.xsl20
-rw-r--r--blocks/xcos2xml/blocks/DIFF_f.xsl20
-rw-r--r--blocks/xcos2xml/blocks/DLATCH.xsl20
-rw-r--r--blocks/xcos2xml/blocks/DLR.xsl18
-rw-r--r--blocks/xcos2xml/blocks/DLRADAPT_f.xsl20
-rw-r--r--blocks/xcos2xml/blocks/DLSS.xsl20
-rw-r--r--blocks/xcos2xml/blocks/DOLLAR.xsl20
-rw-r--r--blocks/xcos2xml/blocks/DOLLAR_f.xsl20
-rw-r--r--blocks/xcos2xml/blocks/DOLLAR_m.xsl20
-rw-r--r--blocks/xcos2xml/blocks/Diode.xsl20
-rw-r--r--blocks/xcos2xml/blocks/EDGETRIGGER.xsl20
-rw-r--r--blocks/xcos2xml/blocks/EDGE_TRIGGER.xsl26
-rw-r--r--blocks/xcos2xml/blocks/ENDBLK.xsl26
-rw-r--r--blocks/xcos2xml/blocks/END_c.xsl20
-rw-r--r--blocks/xcos2xml/blocks/ESELECT_f.xsl20
-rw-r--r--blocks/xcos2xml/blocks/EVTDLY_c.xsl20
-rw-r--r--blocks/xcos2xml/blocks/EVTDLY_f.xsl20
-rw-r--r--blocks/xcos2xml/blocks/EVTGEN_f.xsl20
-rw-r--r--blocks/xcos2xml/blocks/EVTVARDLY.xsl20
-rw-r--r--blocks/xcos2xml/blocks/EXPBLK_m.xsl20
-rw-r--r--blocks/xcos2xml/blocks/EXPRESSION.xsl20
-rw-r--r--blocks/xcos2xml/blocks/EXTRACT.xsl20
-rw-r--r--blocks/xcos2xml/blocks/EXTRACTBITS.xsl20
-rw-r--r--blocks/xcos2xml/blocks/EXTRACTOR.xsl20
-rw-r--r--blocks/xcos2xml/blocks/EXTTRI.xsl20
-rw-r--r--blocks/xcos2xml/blocks/Extract_Activation.xsl20
-rw-r--r--blocks/xcos2xml/blocks/FROM.xsl20
-rw-r--r--blocks/xcos2xml/blocks/FROMMO.xsl20
-rw-r--r--blocks/xcos2xml/blocks/FROMWSB.xsl42
-rw-r--r--blocks/xcos2xml/blocks/FROMWS_c.xsl20
-rw-r--r--blocks/xcos2xml/blocks/Flowmeter.xsl20
-rw-r--r--blocks/xcos2xml/blocks/GAINBLK.xsl20
-rw-r--r--blocks/xcos2xml/blocks/GAINBLK_f.xsl20
-rw-r--r--blocks/xcos2xml/blocks/GAIN_f.xsl20
-rw-r--r--blocks/xcos2xml/blocks/GENERAL_f.xsl20
-rw-r--r--blocks/xcos2xml/blocks/GENSIN_f.xsl20
-rw-r--r--blocks/xcos2xml/blocks/GENSQR_f.xsl20
-rw-r--r--blocks/xcos2xml/blocks/GOTO.xsl20
-rw-r--r--blocks/xcos2xml/blocks/GOTOMO.xsl20
-rw-r--r--blocks/xcos2xml/blocks/GotoTagVisibility.xsl20
-rw-r--r--blocks/xcos2xml/blocks/GotoTagVisibilityMO.xsl20
-rw-r--r--blocks/xcos2xml/blocks/Ground.xsl20
-rw-r--r--blocks/xcos2xml/blocks/Gyrator.xsl20
-rw-r--r--blocks/xcos2xml/blocks/HALT_f.xsl20
-rw-r--r--blocks/xcos2xml/blocks/HYSTHERESIS.xsl20
-rw-r--r--blocks/xcos2xml/blocks/IFTHEL_f.xsl20
-rw-r--r--blocks/xcos2xml/blocks/INIMPL_f.xsl20
-rw-r--r--blocks/xcos2xml/blocks/INTEGRAL_f.xsl20
-rw-r--r--blocks/xcos2xml/blocks/INTEGRAL_m.xsl20
-rw-r--r--blocks/xcos2xml/blocks/INTMUL.xsl20
-rw-r--r--blocks/xcos2xml/blocks/INTRP2BLK_f.xsl20
-rw-r--r--blocks/xcos2xml/blocks/INTRPLBLK_f.xsl20
-rw-r--r--blocks/xcos2xml/blocks/INVBLK.xsl20
-rw-r--r--blocks/xcos2xml/blocks/IN_f.xsl20
-rw-r--r--blocks/xcos2xml/blocks/ISELECT_m.xsl24
-rw-r--r--blocks/xcos2xml/blocks/IdealTransformer.xsl20
-rw-r--r--blocks/xcos2xml/blocks/Inductor.xsl20
-rw-r--r--blocks/xcos2xml/blocks/JKFLIPFLOP.xsl26
-rw-r--r--blocks/xcos2xml/blocks/LOGBLK_f.xsl20
-rw-r--r--blocks/xcos2xml/blocks/LOGIC.xsl26
-rw-r--r--blocks/xcos2xml/blocks/LOGICAL_OP.xsl18
-rw-r--r--blocks/xcos2xml/blocks/LOOKUP_f.xsl20
-rw-r--r--blocks/xcos2xml/blocks/MATBKSL.xsl20
-rw-r--r--blocks/xcos2xml/blocks/MATCATH.xsl22
-rw-r--r--blocks/xcos2xml/blocks/MATCATV.xsl22
-rw-r--r--blocks/xcos2xml/blocks/MATDET.xsl20
-rw-r--r--blocks/xcos2xml/blocks/MATDIAG.xsl20
-rw-r--r--blocks/xcos2xml/blocks/MATDIV.xsl20
-rw-r--r--blocks/xcos2xml/blocks/MATEIG.xsl22
-rw-r--r--blocks/xcos2xml/blocks/MATEXPM.xsl20
-rw-r--r--blocks/xcos2xml/blocks/MATINV.xsl20
-rw-r--r--blocks/xcos2xml/blocks/MATLU.xsl20
-rw-r--r--blocks/xcos2xml/blocks/MATMAGPHI.xsl24
-rw-r--r--blocks/xcos2xml/blocks/MATMUL.xsl20
-rw-r--r--blocks/xcos2xml/blocks/MATPINV.xsl20
-rw-r--r--blocks/xcos2xml/blocks/MATRESH.xsl20
-rw-r--r--blocks/xcos2xml/blocks/MATSING.xsl20
-rw-r--r--blocks/xcos2xml/blocks/MATSUM.xsl20
-rw-r--r--blocks/xcos2xml/blocks/MATTRAN.xsl20
-rw-r--r--blocks/xcos2xml/blocks/MATZCONJ.xsl20
-rw-r--r--blocks/xcos2xml/blocks/MATZREIM.xsl24
-rw-r--r--blocks/xcos2xml/blocks/MAXMIN.xsl20
-rw-r--r--blocks/xcos2xml/blocks/MAX_f.xsl20
-rw-r--r--blocks/xcos2xml/blocks/MBLOCK.xsl20
-rw-r--r--blocks/xcos2xml/blocks/MCLOCK_f.xsl32
-rw-r--r--blocks/xcos2xml/blocks/MFCLCK_f.xsl20
-rw-r--r--blocks/xcos2xml/blocks/MIN_f.xsl20
-rw-r--r--blocks/xcos2xml/blocks/MUX.xsl22
-rw-r--r--blocks/xcos2xml/blocks/MUX_f.xsl20
-rw-r--r--blocks/xcos2xml/blocks/M_SWITCH.xsl22
-rw-r--r--blocks/xcos2xml/blocks/M_freq.xsl28
-rw-r--r--blocks/xcos2xml/blocks/Modulo_Count.xsl20
-rw-r--r--blocks/xcos2xml/blocks/NEGTOPOS_f.xsl20
-rw-r--r--blocks/xcos2xml/blocks/NMOS.xsl20
-rw-r--r--blocks/xcos2xml/blocks/NPN.xsl20
-rw-r--r--blocks/xcos2xml/blocks/NRMSOM_f.xsl22
-rw-r--r--blocks/xcos2xml/blocks/OUTIMPL_f.xsl20
-rw-r--r--blocks/xcos2xml/blocks/OUT_f.xsl20
-rw-r--r--blocks/xcos2xml/blocks/OpAmp.xsl20
-rw-r--r--blocks/xcos2xml/blocks/PDE.xsl20
-rw-r--r--blocks/xcos2xml/blocks/PID.xsl38
-rw-r--r--blocks/xcos2xml/blocks/PMOS.xsl20
-rw-r--r--blocks/xcos2xml/blocks/PNP.xsl20
-rw-r--r--blocks/xcos2xml/blocks/POSTONEG_f.xsl20
-rw-r--r--blocks/xcos2xml/blocks/POWBLK_f.xsl20
-rw-r--r--blocks/xcos2xml/blocks/PRODUCT.xsl20
-rw-r--r--blocks/xcos2xml/blocks/PROD_f.xsl20
-rw-r--r--blocks/xcos2xml/blocks/PULSE_SC.xsl20
-rw-r--r--blocks/xcos2xml/blocks/PerteDP.xsl20
-rw-r--r--blocks/xcos2xml/blocks/PotentialSensor.xsl20
-rw-r--r--blocks/xcos2xml/blocks/PuitsP.xsl20
-rw-r--r--blocks/xcos2xml/blocks/QUANT_f.xsl20
-rw-r--r--blocks/xcos2xml/blocks/RAMP.xsl20
-rw-r--r--blocks/xcos2xml/blocks/RAND_m.xsl20
-rw-r--r--blocks/xcos2xml/blocks/RATELIMITER.xsl20
-rw-r--r--blocks/xcos2xml/blocks/READAU_f.xsl20
-rw-r--r--blocks/xcos2xml/blocks/READC_f.xsl22
-rw-r--r--blocks/xcos2xml/blocks/REGISTER.xsl20
-rw-r--r--blocks/xcos2xml/blocks/REGISTER_f.xsl20
-rw-r--r--blocks/xcos2xml/blocks/RELATIONALOP.xsl18
-rw-r--r--blocks/xcos2xml/blocks/RELAY_f.xsl24
-rw-r--r--blocks/xcos2xml/blocks/RFILE_f.xsl22
-rw-r--r--blocks/xcos2xml/blocks/RICC.xsl20
-rw-r--r--blocks/xcos2xml/blocks/ROOTCOEF.xsl20
-rw-r--r--blocks/xcos2xml/blocks/Resistor.xsl22
-rw-r--r--blocks/xcos2xml/blocks/SAMPHOLD_m.xsl20
-rw-r--r--blocks/xcos2xml/blocks/SATURATION.xsl20
-rw-r--r--blocks/xcos2xml/blocks/SAWTOOTH_f.xsl20
-rw-r--r--blocks/xcos2xml/blocks/SCALAR2VECTOR.xsl20
-rw-r--r--blocks/xcos2xml/blocks/SELECT_m.xsl24
-rw-r--r--blocks/xcos2xml/blocks/SELF_SWITCH.xsl24
-rw-r--r--blocks/xcos2xml/blocks/SHIFT.xsl20
-rw-r--r--blocks/xcos2xml/blocks/SIGNUM.xsl20
-rw-r--r--blocks/xcos2xml/blocks/SINBLK_f.xsl20
-rw-r--r--blocks/xcos2xml/blocks/SOM_f.xsl20
-rw-r--r--blocks/xcos2xml/blocks/SQRT.xsl20
-rw-r--r--blocks/xcos2xml/blocks/SRFLIPFLOP.xsl26
-rw-r--r--blocks/xcos2xml/blocks/STEP.xsl20
-rw-r--r--blocks/xcos2xml/blocks/STEP_FUNCTION.xsl38
-rw-r--r--blocks/xcos2xml/blocks/SUBMAT.xsl20
-rw-r--r--blocks/xcos2xml/blocks/SUMMATION.xsl22
-rw-r--r--blocks/xcos2xml/blocks/SUM_f.xsl20
-rw-r--r--blocks/xcos2xml/blocks/SUPER_f.xsl34
-rw-r--r--blocks/xcos2xml/blocks/SWITCH2_m.xsl20
-rw-r--r--blocks/xcos2xml/blocks/SWITCH_f.xsl22
-rw-r--r--blocks/xcos2xml/blocks/SampleCLK.xsl20
-rw-r--r--blocks/xcos2xml/blocks/Sigbuilder.xsl46
-rw-r--r--blocks/xcos2xml/blocks/SineVoltage.xsl18
-rw-r--r--blocks/xcos2xml/blocks/SourceP.xsl20
-rw-r--r--blocks/xcos2xml/blocks/Switch.xsl20
-rw-r--r--blocks/xcos2xml/blocks/TANBLK_f.xsl20
-rw-r--r--blocks/xcos2xml/blocks/TCLSS.xsl20
-rw-r--r--blocks/xcos2xml/blocks/TEXT_f.xsl20
-rw-r--r--blocks/xcos2xml/blocks/TIME_DELAY.xsl20
-rw-r--r--blocks/xcos2xml/blocks/TIME_f.xsl20
-rw-r--r--blocks/xcos2xml/blocks/TKSCALE.xsl20
-rw-r--r--blocks/xcos2xml/blocks/TOWS_c.xsl18
-rw-r--r--blocks/xcos2xml/blocks/TRASH_f.xsl20
-rw-r--r--blocks/xcos2xml/blocks/TrigFun.xsl20
-rw-r--r--blocks/xcos2xml/blocks/VARIABLE_DELAY.xsl20
-rw-r--r--blocks/xcos2xml/blocks/VVsourceAC.xsl20
-rw-r--r--blocks/xcos2xml/blocks/VanneReglante.xsl20
-rw-r--r--blocks/xcos2xml/blocks/VariableResistor.xsl20
-rw-r--r--blocks/xcos2xml/blocks/VirtualCLK0.xsl20
-rw-r--r--blocks/xcos2xml/blocks/VoltageSensor.xsl20
-rw-r--r--blocks/xcos2xml/blocks/VsourceAC.xsl18
-rw-r--r--blocks/xcos2xml/blocks/WRITEAU_f.xsl20
-rw-r--r--blocks/xcos2xml/blocks/WRITEC_f.xsl20
-rw-r--r--blocks/xcos2xml/blocks/ZCROSS_f.xsl20
-rw-r--r--blocks/xcos2xml/blocks/c_block.xsl20
-rw-r--r--blocks/xcos2xml/blocks/fortran_block.xsl18
-rw-r--r--blocks/xcos2xml/blocks/freq_div.xsl20
-rw-r--r--blocks/xcos2xml/blocks/generic_block3.xsl20
-rw-r--r--blocks/xcos2xml/blocks/scifunc_block_m.xsl20
-rw-r--r--blocks/xcos2xml/foot.xsl2
-rw-r--r--blocks/xcos2xml/head.xsl78
-rw-r--r--blocks/xcos2xml/links/ExplicitLink.xsl4
-rw-r--r--blocks/xcos2xml/ports/port.xsl36
238 files changed, 2500 insertions, 2500 deletions
diff --git a/blocks/xcos2xml/blocks/ABS_VALUE.xsl b/blocks/xcos2xml/blocks/ABS_VALUE.xsl
index d4ed4fbd..95b17225 100644
--- a/blocks/xcos2xml/blocks/ABS_VALUE.xsl
+++ b/blocks/xcos2xml/blocks/ABS_VALUE.xsl
@@ -41,27 +41,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/AFFICH_m.xsl b/blocks/xcos2xml/blocks/AFFICH_m.xsl
index 7368f85a..1bdfeedd 100644
--- a/blocks/xcos2xml/blocks/AFFICH_m.xsl
+++ b/blocks/xcos2xml/blocks/AFFICH_m.xsl
@@ -48,29 +48,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/ANDBLK.xsl b/blocks/xcos2xml/blocks/ANDBLK.xsl
index 73c58c59..226dafbf 100644
--- a/blocks/xcos2xml/blocks/ANDBLK.xsl
+++ b/blocks/xcos2xml/blocks/ANDBLK.xsl
@@ -41,17 +41,17 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
- <Object display_parameter="" as="displayProperties"/>
- <Object as="parameter_values"/>
+ <xsl:apply-templates select="mxGeometry" />
+ <Object display_parameter="" as="displayProperties" />
+ <Object as="parameter_values" />
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/ANDLOG_f.xsl b/blocks/xcos2xml/blocks/ANDLOG_f.xsl
index 58c1734c..dd082c77 100644
--- a/blocks/xcos2xml/blocks/ANDLOG_f.xsl
+++ b/blocks/xcos2xml/blocks/ANDLOG_f.xsl
@@ -41,17 +41,17 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
- <Object display_parameter="" as="displayProperties"/>
- <Object as="parameter_values"/>
+ <xsl:apply-templates select="mxGeometry" />
+ <Object display_parameter="" as="displayProperties" />
+ <Object as="parameter_values" />
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/AUTOMAT.xsl b/blocks/xcos2xml/blocks/AUTOMAT.xsl
index ff6f8c78..67a24d18 100644
--- a/blocks/xcos2xml/blocks/AUTOMAT.xsl
+++ b/blocks/xcos2xml/blocks/AUTOMAT.xsl
@@ -1,6 +1,6 @@
<xsl:template match="*[@interfaceFunctionName = 'AUTOMAT']">
<xsl:variable name="explicitInputPorts">
- <xsl:value-of select="(*[@as='exprs']/data/@value)"/>
+ <xsl:value-of select="(*[@as='exprs']/data/@value)" />
</xsl:variable>
<xsl:variable name="implicitInputPorts">0</xsl:variable>
<xsl:variable name="explicitOutputPorts">2</xsl:variable>
@@ -43,7 +43,7 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:variable name="exprsData" select="*[@as='exprs']/data[1]/@value" />
<xsl:variable name="dataValue" select="*[@as='exprs']/data[3]/@value" />
@@ -55,19 +55,19 @@
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/BACKLASH.xsl b/blocks/xcos2xml/blocks/BACKLASH.xsl
index ff7eefa4..8386eea5 100644
--- a/blocks/xcos2xml/blocks/BACKLASH.xsl
+++ b/blocks/xcos2xml/blocks/BACKLASH.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/BARXY.xsl b/blocks/xcos2xml/blocks/BARXY.xsl
index 8b93a53f..dd1d11cf 100644
--- a/blocks/xcos2xml/blocks/BARXY.xsl
+++ b/blocks/xcos2xml/blocks/BARXY.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/BIGSOM_f.xsl b/blocks/xcos2xml/blocks/BIGSOM_f.xsl
index da6a1736..19f3a76f 100644
--- a/blocks/xcos2xml/blocks/BIGSOM_f.xsl
+++ b/blocks/xcos2xml/blocks/BIGSOM_f.xsl
@@ -45,7 +45,7 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
</xsl:attribute>
@@ -53,18 +53,18 @@
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/BITCLEAR.xsl b/blocks/xcos2xml/blocks/BITCLEAR.xsl
index d9b3a966..4204035d 100644
--- a/blocks/xcos2xml/blocks/BITCLEAR.xsl
+++ b/blocks/xcos2xml/blocks/BITCLEAR.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data[2]/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data[2]/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/BITSET.xsl b/blocks/xcos2xml/blocks/BITSET.xsl
index f7bd9ab5..183a9d10 100644
--- a/blocks/xcos2xml/blocks/BITSET.xsl
+++ b/blocks/xcos2xml/blocks/BITSET.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data[2]/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data[2]/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/BOUNCE.xsl b/blocks/xcos2xml/blocks/BOUNCE.xsl
index a16e1c7b..b7174503 100644
--- a/blocks/xcos2xml/blocks/BOUNCE.xsl
+++ b/blocks/xcos2xml/blocks/BOUNCE.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/BOUNCEXY.xsl b/blocks/xcos2xml/blocks/BOUNCEXY.xsl
index aa8bd509..c4183eeb 100644
--- a/blocks/xcos2xml/blocks/BOUNCEXY.xsl
+++ b/blocks/xcos2xml/blocks/BOUNCEXY.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/BPLATFORM.xsl b/blocks/xcos2xml/blocks/BPLATFORM.xsl
index 3121067f..0c3dcf4a 100644
--- a/blocks/xcos2xml/blocks/BPLATFORM.xsl
+++ b/blocks/xcos2xml/blocks/BPLATFORM.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/Bache.xsl b/blocks/xcos2xml/blocks/Bache.xsl
index 474fb640..a213630a 100644
--- a/blocks/xcos2xml/blocks/Bache.xsl
+++ b/blocks/xcos2xml/blocks/Bache.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/CANIMXY.xsl b/blocks/xcos2xml/blocks/CANIMXY.xsl
index 11f047a7..e0c2400a 100644
--- a/blocks/xcos2xml/blocks/CANIMXY.xsl
+++ b/blocks/xcos2xml/blocks/CANIMXY.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/CANIMXY3D.xsl b/blocks/xcos2xml/blocks/CANIMXY3D.xsl
index cfa67ae0..b8a64577 100644
--- a/blocks/xcos2xml/blocks/CANIMXY3D.xsl
+++ b/blocks/xcos2xml/blocks/CANIMXY3D.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/CBLOCK.xsl b/blocks/xcos2xml/blocks/CBLOCK.xsl
index 37153f0c..ba96793d 100644
--- a/blocks/xcos2xml/blocks/CBLOCK.xsl
+++ b/blocks/xcos2xml/blocks/CBLOCK.xsl
@@ -49,22 +49,22 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data[1]/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data[1]/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
- <Object as="parameter_values"/>
+ <Object as="parameter_values" />
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/CBLOCK4.xsl b/blocks/xcos2xml/blocks/CBLOCK4.xsl
index a43a77da..b61d9b48 100644
--- a/blocks/xcos2xml/blocks/CBLOCK4.xsl
+++ b/blocks/xcos2xml/blocks/CBLOCK4.xsl
@@ -49,22 +49,22 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data[1]/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data[1]/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
- <Object as="parameter_values"/>
+ <Object as="parameter_values" />
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/CCS.xsl b/blocks/xcos2xml/blocks/CCS.xsl
index 2e19f737..328dedd8 100644
--- a/blocks/xcos2xml/blocks/CCS.xsl
+++ b/blocks/xcos2xml/blocks/CCS.xsl
@@ -41,17 +41,17 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
- <Object display_parameter="" as="displayProperties"/>
- <Object as="parameter_values"/>
+ <xsl:apply-templates select="mxGeometry" />
+ <Object display_parameter="" as="displayProperties" />
+ <Object as="parameter_values" />
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/CEVENTSCOPE.xsl b/blocks/xcos2xml/blocks/CEVENTSCOPE.xsl
index a15697df..4755a773 100644
--- a/blocks/xcos2xml/blocks/CEVENTSCOPE.xsl
+++ b/blocks/xcos2xml/blocks/CEVENTSCOPE.xsl
@@ -43,29 +43,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/CFSCOPE.xsl b/blocks/xcos2xml/blocks/CFSCOPE.xsl
index c264228e..116955ac 100644
--- a/blocks/xcos2xml/blocks/CFSCOPE.xsl
+++ b/blocks/xcos2xml/blocks/CFSCOPE.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/CLINDUMMY_f.xsl b/blocks/xcos2xml/blocks/CLINDUMMY_f.xsl
index d4d6e88f..f36ccf60 100644
--- a/blocks/xcos2xml/blocks/CLINDUMMY_f.xsl
+++ b/blocks/xcos2xml/blocks/CLINDUMMY_f.xsl
@@ -41,17 +41,17 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
- <Object display_parameter="" as="displayProperties"/>
- <Object as="parameter_values"/>
+ <xsl:apply-templates select="mxGeometry" />
+ <Object display_parameter="" as="displayProperties" />
+ <Object as="parameter_values" />
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/CLKFROM.xsl b/blocks/xcos2xml/blocks/CLKFROM.xsl
index 0eb5c855..d562ca34 100644
--- a/blocks/xcos2xml/blocks/CLKFROM.xsl
+++ b/blocks/xcos2xml/blocks/CLKFROM.xsl
@@ -41,27 +41,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data[1]/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data[1]/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/CLKGOTO.xsl b/blocks/xcos2xml/blocks/CLKGOTO.xsl
index 0c944bed..20cac1fd 100644
--- a/blocks/xcos2xml/blocks/CLKGOTO.xsl
+++ b/blocks/xcos2xml/blocks/CLKGOTO.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data[1]/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data[1]/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/CLKGotoTagVisibility.xsl b/blocks/xcos2xml/blocks/CLKGotoTagVisibility.xsl
index f8237e3c..c409603f 100644
--- a/blocks/xcos2xml/blocks/CLKGotoTagVisibility.xsl
+++ b/blocks/xcos2xml/blocks/CLKGotoTagVisibility.xsl
@@ -41,27 +41,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data[1]/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data[1]/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/CLKINV_f.xsl b/blocks/xcos2xml/blocks/CLKINV_f.xsl
index e3276c38..c76ed5f5 100644
--- a/blocks/xcos2xml/blocks/CLKINV_f.xsl
+++ b/blocks/xcos2xml/blocks/CLKINV_f.xsl
@@ -41,27 +41,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data[1]/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data[1]/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/CLKIN_f.xsl b/blocks/xcos2xml/blocks/CLKIN_f.xsl
index 5b612df8..af0b320b 100644
--- a/blocks/xcos2xml/blocks/CLKIN_f.xsl
+++ b/blocks/xcos2xml/blocks/CLKIN_f.xsl
@@ -41,27 +41,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/CLKOUTV_f.xsl b/blocks/xcos2xml/blocks/CLKOUTV_f.xsl
index 3032c1bd..4f8894ff 100644
--- a/blocks/xcos2xml/blocks/CLKOUTV_f.xsl
+++ b/blocks/xcos2xml/blocks/CLKOUTV_f.xsl
@@ -41,27 +41,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data[1]/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data[1]/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/CLKSOMV_f.xsl b/blocks/xcos2xml/blocks/CLKSOMV_f.xsl
index 1d81b795..d12eb310 100644
--- a/blocks/xcos2xml/blocks/CLKSOMV_f.xsl
+++ b/blocks/xcos2xml/blocks/CLKSOMV_f.xsl
@@ -41,17 +41,17 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
- <Object display_parameter="" as="displayProperties"/>
- <Object as="parameter_values"/>
+ <xsl:apply-templates select="mxGeometry" />
+ <Object display_parameter="" as="displayProperties" />
+ <Object as="parameter_values" />
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/CLOCK_c.xsl b/blocks/xcos2xml/blocks/CLOCK_c.xsl
index 66c4e057..ae6d3734 100644
--- a/blocks/xcos2xml/blocks/CLOCK_c.xsl
+++ b/blocks/xcos2xml/blocks/CLOCK_c.xsl
@@ -41,7 +41,7 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<xsl:variable name="value1">
<xsl:choose>
@@ -49,7 +49,7 @@
<xsl:value-of select="SuperBlockDiagram/mxGraphModel/root
/BasicBlock[@style='EVTDLY_c']
/ScilabString[@height='2' and @width='1']
- /data[@column='0' and @line='0']/@value"/>
+ /data[@column='0' and @line='0']/@value" />
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="Array[@as='realParameters']
@@ -57,9 +57,9 @@
/Array[@scilabClass='ScilabMList']
/Array[@scilabClass='ScilabMList']
/ScilabString[@height='2' and @width='1']
- /data[@column='0' and @line='0']/@value"/>
+ /data[@column='0' and @line='0']/@value" />
</xsl:otherwise>
- </xsl:choose>
+ </xsl:choose>
</xsl:variable>
<xsl:variable name="value2">
<xsl:choose>
@@ -67,7 +67,7 @@
<xsl:value-of select="SuperBlockDiagram/mxGraphModel/root
/BasicBlock[@style='EVTDLY_c']
/ScilabString[@height='2' and @width='1']
- /data[@column='0' and @line='1']/@value"/>
+ /data[@column='0' and @line='1']/@value" />
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="Array[@as='realParameters']
@@ -75,20 +75,20 @@
/Array[@scilabClass='ScilabMList']
/Array[@scilabClass='ScilabMList']
/ScilabString[@height='2' and @width='1']
- /data[@column='0' and @line='1']/@value"/>
+ /data[@column='0' and @line='1']/@value" />
</xsl:otherwise>
- </xsl:choose>
+ </xsl:choose>
</xsl:variable>
- <Object display_parameter="" as="displayProperties"/>
- <Object p000_value="{$value1}" p001_value="{$value2}" as="parameter_values"/>
+ <Object display_parameter="" as="displayProperties" />
+ <Object p000_value="{$value1}" p001_value="{$value2}" as="parameter_values" />
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/CLOCK_f.xsl b/blocks/xcos2xml/blocks/CLOCK_f.xsl
index 258c579d..21c08c53 100644
--- a/blocks/xcos2xml/blocks/CLOCK_f.xsl
+++ b/blocks/xcos2xml/blocks/CLOCK_f.xsl
@@ -41,17 +41,17 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
- <Object display_parameter="" as="displayProperties"/>
- <Object p000_value="0.1" p001_value="0.1" as="parameter_values"/>
+ <xsl:apply-templates select="mxGeometry" />
+ <Object display_parameter="" as="displayProperties" />
+ <Object p000_value="0.1" p001_value="0.1" as="parameter_values" />
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/CLR.xsl b/blocks/xcos2xml/blocks/CLR.xsl
index 8275569e..1f2cf8d6 100644
--- a/blocks/xcos2xml/blocks/CLR.xsl
+++ b/blocks/xcos2xml/blocks/CLR.xsl
@@ -41,7 +41,7 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:variable name="exprsData" select="*[@as='exprs']/data[1]/@value" />
<xsl:variable name="dataValue" select="*[@as='exprs']/data[2]/@value" />
@@ -53,19 +53,19 @@
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/CLSS.xsl b/blocks/xcos2xml/blocks/CLSS.xsl
index 12ab9689..c3910fb5 100644
--- a/blocks/xcos2xml/blocks/CLSS.xsl
+++ b/blocks/xcos2xml/blocks/CLSS.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/CMAT3D.xsl b/blocks/xcos2xml/blocks/CMAT3D.xsl
index 964b8415..1bbe8c78 100644
--- a/blocks/xcos2xml/blocks/CMAT3D.xsl
+++ b/blocks/xcos2xml/blocks/CMAT3D.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/CMATVIEW.xsl b/blocks/xcos2xml/blocks/CMATVIEW.xsl
index 867145ab..05f115c7 100644
--- a/blocks/xcos2xml/blocks/CMATVIEW.xsl
+++ b/blocks/xcos2xml/blocks/CMATVIEW.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/CMSCOPE.xsl b/blocks/xcos2xml/blocks/CMSCOPE.xsl
index 8635b280..31864e27 100644
--- a/blocks/xcos2xml/blocks/CMSCOPE.xsl
+++ b/blocks/xcos2xml/blocks/CMSCOPE.xsl
@@ -52,29 +52,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/CONST.xsl b/blocks/xcos2xml/blocks/CONST.xsl
index f9fb8d19..9292ea2b 100644
--- a/blocks/xcos2xml/blocks/CONST.xsl
+++ b/blocks/xcos2xml/blocks/CONST.xsl
@@ -41,27 +41,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data[1]/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data[1]/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/CONSTRAINT2_c.xsl b/blocks/xcos2xml/blocks/CONSTRAINT2_c.xsl
index d00153b5..feefea5c 100644
--- a/blocks/xcos2xml/blocks/CONSTRAINT2_c.xsl
+++ b/blocks/xcos2xml/blocks/CONSTRAINT2_c.xsl
@@ -41,7 +41,7 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:variable name="exprsData" select="*[@as='exprs']/data[1]/@value" />
<xsl:variable name="dataValue" select="*[@as='exprs']/data[2]/@value" />
@@ -53,19 +53,19 @@
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/CONSTRAINT_c.xsl b/blocks/xcos2xml/blocks/CONSTRAINT_c.xsl
index 1189f92e..33471673 100644
--- a/blocks/xcos2xml/blocks/CONSTRAINT_c.xsl
+++ b/blocks/xcos2xml/blocks/CONSTRAINT_c.xsl
@@ -41,27 +41,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data[1]/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data[1]/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/CONST_f.xsl b/blocks/xcos2xml/blocks/CONST_f.xsl
index 20b722b5..3115266f 100644
--- a/blocks/xcos2xml/blocks/CONST_f.xsl
+++ b/blocks/xcos2xml/blocks/CONST_f.xsl
@@ -41,27 +41,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data[1]/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data[1]/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/CONST_m.xsl b/blocks/xcos2xml/blocks/CONST_m.xsl
index b1a6f4f7..5dd39d13 100644
--- a/blocks/xcos2xml/blocks/CONST_m.xsl
+++ b/blocks/xcos2xml/blocks/CONST_m.xsl
@@ -41,27 +41,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data[1]/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data[1]/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/CONVERT.xsl b/blocks/xcos2xml/blocks/CONVERT.xsl
index 78210d75..fd78f4f7 100644
--- a/blocks/xcos2xml/blocks/CONVERT.xsl
+++ b/blocks/xcos2xml/blocks/CONVERT.xsl
@@ -41,7 +41,7 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:variable name="exprsData" select="(*[@as='exprs']/data[1]/@value)" />
<xsl:variable name="dataValue" select="*[@as='exprs']/data[2]/@value" />
@@ -109,19 +109,19 @@
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/COSBLK_f.xsl b/blocks/xcos2xml/blocks/COSBLK_f.xsl
index c123d5d1..1dc18804 100644
--- a/blocks/xcos2xml/blocks/COSBLK_f.xsl
+++ b/blocks/xcos2xml/blocks/COSBLK_f.xsl
@@ -41,17 +41,17 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
- <Object display_parameter="" as="displayProperties"/>
- <Object as="parameter_values"/>
+ <xsl:apply-templates select="mxGeometry" />
+ <Object display_parameter="" as="displayProperties" />
+ <Object as="parameter_values" />
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/CSCOPE.xsl b/blocks/xcos2xml/blocks/CSCOPE.xsl
index a60395b7..4cbe005d 100644
--- a/blocks/xcos2xml/blocks/CSCOPE.xsl
+++ b/blocks/xcos2xml/blocks/CSCOPE.xsl
@@ -48,25 +48,25 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
- <Object display_parameter="" as="displayProperties"/>
- <!-- <Object p000_value="1 3 5 7 9 11 13 15" p001_value="-1" p002_value="[]" p003_value="[600;400]" p004_value="-2" p005_value="2" p006_value="30" p007_value="20" p008_value="0" p009_value="" as="parameter_values"/> -->
+ <xsl:apply-templates select="mxGeometry" />
+ <Object display_parameter="" as="displayProperties" />
+ <!-- <Object p000_value="1 3 5 7 9 11 13 15" p001_value="-1" p002_value="[]" p003_value="[600;400]" p004_value="-2" p005_value="2" p006_value="30" p007_value="20" p008_value="0" p009_value="" as="parameter_values" /> -->
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/CSCOPXY.xsl b/blocks/xcos2xml/blocks/CSCOPXY.xsl
index 0e4b5575..f31f4887 100644
--- a/blocks/xcos2xml/blocks/CSCOPXY.xsl
+++ b/blocks/xcos2xml/blocks/CSCOPXY.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/CSCOPXY3D.xsl b/blocks/xcos2xml/blocks/CSCOPXY3D.xsl
index 0cb14d13..c1136d44 100644
--- a/blocks/xcos2xml/blocks/CSCOPXY3D.xsl
+++ b/blocks/xcos2xml/blocks/CSCOPXY3D.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/CUMSUM.xsl b/blocks/xcos2xml/blocks/CUMSUM.xsl
index 4d78dc0e..2a6f194e 100644
--- a/blocks/xcos2xml/blocks/CUMSUM.xsl
+++ b/blocks/xcos2xml/blocks/CUMSUM.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/CURV_f.xsl b/blocks/xcos2xml/blocks/CURV_f.xsl
index b401b147..ba475850 100644
--- a/blocks/xcos2xml/blocks/CURV_f.xsl
+++ b/blocks/xcos2xml/blocks/CURV_f.xsl
@@ -41,17 +41,17 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
- <Object display_parameter="" as="displayProperties"/>
- <Object as="parameter_values"/>
+ <xsl:apply-templates select="mxGeometry" />
+ <Object display_parameter="" as="displayProperties" />
+ <Object as="parameter_values" />
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/CVS.xsl b/blocks/xcos2xml/blocks/CVS.xsl
index 90deb08d..81b71bcb 100644
--- a/blocks/xcos2xml/blocks/CVS.xsl
+++ b/blocks/xcos2xml/blocks/CVS.xsl
@@ -41,17 +41,17 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
- <Object display_parameter="" as="displayProperties"/>
- <Object as="parameter_values"/>
+ <xsl:apply-templates select="mxGeometry" />
+ <Object display_parameter="" as="displayProperties" />
+ <Object as="parameter_values" />
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/Capacitor.xsl b/blocks/xcos2xml/blocks/Capacitor.xsl
index 7381f567..1ba15536 100644
--- a/blocks/xcos2xml/blocks/Capacitor.xsl
+++ b/blocks/xcos2xml/blocks/Capacitor.xsl
@@ -41,10 +41,10 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="format-number(*[@as='exprs']/data[1]/@value * 1000, '0')"/>
+ <xsl:value-of select="format-number(*[@as='exprs']/data[1]/@value * 1000, '0')" />
<xsl:text> m</xsl:text>
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
@@ -52,19 +52,19 @@
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/ConstantVoltage.xsl b/blocks/xcos2xml/blocks/ConstantVoltage.xsl
index 59247ae1..727bd0f0 100644
--- a/blocks/xcos2xml/blocks/ConstantVoltage.xsl
+++ b/blocks/xcos2xml/blocks/ConstantVoltage.xsl
@@ -41,31 +41,31 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <!-- <xsl:value-of select="format-number(0.01 * 1000, '0')"/>
+ <!-- <xsl:value-of select="format-number(0.01 * 1000, '0')" />
<xsl:text> m</xsl:text> -->
<xsl:call-template name="si-format">
- <xsl:with-param name="num" select="number(*[@as='exprs']/data[1]/@value)"/>
+ <xsl:with-param name="num" select="number(*[@as='exprs']/data[1]/@value)" />
</xsl:call-template>
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data[1]/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data[1]/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/Counter.xsl b/blocks/xcos2xml/blocks/Counter.xsl
index 357c1223..c64c938f 100644
--- a/blocks/xcos2xml/blocks/Counter.xsl
+++ b/blocks/xcos2xml/blocks/Counter.xsl
@@ -41,7 +41,7 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:variable name="exprsData" select="*[@as='exprs']/data[1]/@value" />
<xsl:variable name="dataValue" select="*[@as='exprs']/data[2]/@value" />
@@ -53,19 +53,19 @@
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/CurrentSensor.xsl b/blocks/xcos2xml/blocks/CurrentSensor.xsl
index edec2e06..45f120f1 100644
--- a/blocks/xcos2xml/blocks/CurrentSensor.xsl
+++ b/blocks/xcos2xml/blocks/CurrentSensor.xsl
@@ -41,17 +41,17 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
- <Object display_parameter="" as="displayProperties"/>
- <Object as="parameter_values"/>
+ <xsl:apply-templates select="mxGeometry" />
+ <Object display_parameter="" as="displayProperties" />
+ <Object as="parameter_values" />
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/DEADBAND.xsl b/blocks/xcos2xml/blocks/DEADBAND.xsl
index 273288eb..b38bfd37 100644
--- a/blocks/xcos2xml/blocks/DEADBAND.xsl
+++ b/blocks/xcos2xml/blocks/DEADBAND.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/DEBUG.xsl b/blocks/xcos2xml/blocks/DEBUG.xsl
index 1bed2959..9b70aa84 100644
--- a/blocks/xcos2xml/blocks/DEBUG.xsl
+++ b/blocks/xcos2xml/blocks/DEBUG.xsl
@@ -41,10 +41,10 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data[1]/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data[1]/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
@@ -53,12 +53,12 @@
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/DELAYV_f.xsl b/blocks/xcos2xml/blocks/DELAYV_f.xsl
index fd173172..f3973eab 100644
--- a/blocks/xcos2xml/blocks/DELAYV_f.xsl
+++ b/blocks/xcos2xml/blocks/DELAYV_f.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/DELAY_f.xsl b/blocks/xcos2xml/blocks/DELAY_f.xsl
index 5ff6d7ff..5513ecae 100644
--- a/blocks/xcos2xml/blocks/DELAY_f.xsl
+++ b/blocks/xcos2xml/blocks/DELAY_f.xsl
@@ -41,7 +41,7 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<xsl:variable name="value1">
<xsl:choose>
@@ -49,7 +49,7 @@
<xsl:value-of select="SuperBlockDiagram/mxGraphModel/root
/BasicBlock[@interfaceFunctionName='EVTDLY_f']
/ScilabString[@as='exprs']
- /data[@column='0' and @line='0']/@value"/>
+ /data[@column='0' and @line='0']/@value" />
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="Array[@as='realParameters']
@@ -57,9 +57,9 @@
/Array[@scilabClass='ScilabMList']
/Array[@scilabClass='ScilabMList']
/ScilabString[@height='2' and @width='1']
- /data[@column='0' and @line='0']/@value"/>
+ /data[@column='0' and @line='0']/@value" />
</xsl:otherwise>
- </xsl:choose>
+ </xsl:choose>
</xsl:variable>
<xsl:variable name="value2">
@@ -68,7 +68,7 @@
<xsl:value-of select="SuperBlockDiagram/mxGraphModel/root
/BasicBlock[@interfaceFunctionName='REGISTER_f']
/ScilabString[@as='exprs']
- /data[@column='0' and @line='0']/@value"/>
+ /data[@column='0' and @line='0']/@value" />
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="Array[@as='realParameters']
@@ -76,20 +76,20 @@
/Array[@scilabClass='ScilabMList'][3]
/Array[@scilabClass='ScilabMList']
/ScilabString[@height='1' and @width='1']
- /data[@column='0' and @line='0']/@value"/>
+ /data[@column='0' and @line='0']/@value" />
</xsl:otherwise>
- </xsl:choose>
+ </xsl:choose>
</xsl:variable>
- <Object display_parameter="" as="displayProperties"/>
- <Object p000_value="{$value1}" p001_value="{$value2}" as="parameter_values"/>
+ <Object display_parameter="" as="displayProperties" />
+ <Object p000_value="{$value1}" p001_value="{$value2}" as="parameter_values" />
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/DEMUX.xsl b/blocks/xcos2xml/blocks/DEMUX.xsl
index 253de892..6eedadf5 100644
--- a/blocks/xcos2xml/blocks/DEMUX.xsl
+++ b/blocks/xcos2xml/blocks/DEMUX.xsl
@@ -2,7 +2,7 @@
<xsl:variable name="explicitInputPorts">1</xsl:variable>
<xsl:variable name="implicitInputPorts">0</xsl:variable>
<xsl:variable name="explicitOutputPorts">
- <xsl:value-of select="*[@as='exprs']/data[1]/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data[1]/@value" />
</xsl:variable>
<xsl:variable name="implicitOutputPorts">0</xsl:variable>
<xsl:variable name="controlPorts">0</xsl:variable>
@@ -43,27 +43,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/DEMUX_f.xsl b/blocks/xcos2xml/blocks/DEMUX_f.xsl
index 4b77df5c..70220e07 100644
--- a/blocks/xcos2xml/blocks/DEMUX_f.xsl
+++ b/blocks/xcos2xml/blocks/DEMUX_f.xsl
@@ -2,7 +2,7 @@
<xsl:variable name="explicitInputPorts">1</xsl:variable>
<xsl:variable name="implicitInputPorts">0</xsl:variable>
<xsl:variable name="explicitOutputPorts">
- <xsl:value-of select="*[@as='exprs']/data[1]/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data[1]/@value" />
</xsl:variable>
<xsl:variable name="implicitOutputPorts">0</xsl:variable>
<xsl:variable name="controlPorts">0</xsl:variable>
@@ -43,27 +43,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/DERIV.xsl b/blocks/xcos2xml/blocks/DERIV.xsl
index 79933fa5..d1f65e9b 100644
--- a/blocks/xcos2xml/blocks/DERIV.xsl
+++ b/blocks/xcos2xml/blocks/DERIV.xsl
@@ -41,17 +41,17 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
- <Object display_parameter="" as="displayProperties"/>
- <Object as="parameter_values"/>
+ <xsl:apply-templates select="mxGeometry" />
+ <Object display_parameter="" as="displayProperties" />
+ <Object as="parameter_values" />
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/DFLIPFLOP.xsl b/blocks/xcos2xml/blocks/DFLIPFLOP.xsl
index 6ebd2284..35237c46 100644
--- a/blocks/xcos2xml/blocks/DFLIPFLOP.xsl
+++ b/blocks/xcos2xml/blocks/DFLIPFLOP.xsl
@@ -41,17 +41,17 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
- <Object display_parameter="" as="displayProperties"/>
- <Object as="parameter_values"/>
+ <xsl:apply-templates select="mxGeometry" />
+ <Object display_parameter="" as="displayProperties" />
+ <Object as="parameter_values" />
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/DIFF_f.xsl b/blocks/xcos2xml/blocks/DIFF_f.xsl
index 5426dfac..a09e120b 100644
--- a/blocks/xcos2xml/blocks/DIFF_f.xsl
+++ b/blocks/xcos2xml/blocks/DIFF_f.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/DLATCH.xsl b/blocks/xcos2xml/blocks/DLATCH.xsl
index 88c9ec11..d6cea660 100644
--- a/blocks/xcos2xml/blocks/DLATCH.xsl
+++ b/blocks/xcos2xml/blocks/DLATCH.xsl
@@ -41,17 +41,17 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
- <Object display_parameter="" as="displayProperties"/>
- <Object as="parameter_values"/>
+ <xsl:apply-templates select="mxGeometry" />
+ <Object display_parameter="" as="displayProperties" />
+ <Object as="parameter_values" />
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/DLR.xsl b/blocks/xcos2xml/blocks/DLR.xsl
index 55c780b6..d0a47418 100644
--- a/blocks/xcos2xml/blocks/DLR.xsl
+++ b/blocks/xcos2xml/blocks/DLR.xsl
@@ -41,7 +41,7 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:variable name="exprsData" select="*[@as='exprs']/data[1]/@value" />
<xsl:variable name="dataValue" select="*[@as='exprs']/data[2]/@value" />
@@ -53,19 +53,19 @@
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/DLRADAPT_f.xsl b/blocks/xcos2xml/blocks/DLRADAPT_f.xsl
index e71513f6..9fdb7911 100644
--- a/blocks/xcos2xml/blocks/DLRADAPT_f.xsl
+++ b/blocks/xcos2xml/blocks/DLRADAPT_f.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/DLSS.xsl b/blocks/xcos2xml/blocks/DLSS.xsl
index 97efb47c..68451151 100644
--- a/blocks/xcos2xml/blocks/DLSS.xsl
+++ b/blocks/xcos2xml/blocks/DLSS.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/DOLLAR.xsl b/blocks/xcos2xml/blocks/DOLLAR.xsl
index a57ed4bb..8baafcce 100644
--- a/blocks/xcos2xml/blocks/DOLLAR.xsl
+++ b/blocks/xcos2xml/blocks/DOLLAR.xsl
@@ -48,29 +48,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/DOLLAR_f.xsl b/blocks/xcos2xml/blocks/DOLLAR_f.xsl
index a7ff6c26..8ccd0576 100644
--- a/blocks/xcos2xml/blocks/DOLLAR_f.xsl
+++ b/blocks/xcos2xml/blocks/DOLLAR_f.xsl
@@ -48,29 +48,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/DOLLAR_m.xsl b/blocks/xcos2xml/blocks/DOLLAR_m.xsl
index 5b650063..d70ddea8 100644
--- a/blocks/xcos2xml/blocks/DOLLAR_m.xsl
+++ b/blocks/xcos2xml/blocks/DOLLAR_m.xsl
@@ -48,29 +48,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/Diode.xsl b/blocks/xcos2xml/blocks/Diode.xsl
index 5cb7b81a..ac4486c7 100644
--- a/blocks/xcos2xml/blocks/Diode.xsl
+++ b/blocks/xcos2xml/blocks/Diode.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/EDGETRIGGER.xsl b/blocks/xcos2xml/blocks/EDGETRIGGER.xsl
index 01a3cef5..2a319547 100644
--- a/blocks/xcos2xml/blocks/EDGETRIGGER.xsl
+++ b/blocks/xcos2xml/blocks/EDGETRIGGER.xsl
@@ -41,27 +41,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/EDGE_TRIGGER.xsl b/blocks/xcos2xml/blocks/EDGE_TRIGGER.xsl
index f11afa1a..13cba75b 100644
--- a/blocks/xcos2xml/blocks/EDGE_TRIGGER.xsl
+++ b/blocks/xcos2xml/blocks/EDGE_TRIGGER.xsl
@@ -41,7 +41,7 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<xsl:variable name="value1">
<xsl:choose>
@@ -49,7 +49,7 @@
<xsl:value-of select="SuperBlockDiagram/mxGraphModel/root
/BasicBlock[@interfaceFunctionName='EDGETRIGGER']
/ScilabString[@as='exprs']
- /data[@column='0' and @line='0']/@value"/>
+ /data[@column='0' and @line='0']/@value" />
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="Array[@as='realParameters']
@@ -57,21 +57,21 @@
/Array[@scilabClass='ScilabMList']
/Array[@scilabClass='ScilabMList']
/ScilabString[@height='2' and @width='1']
- /data[@column='0' and @line='0']/@value"/>
+ /data[@column='0' and @line='0']/@value" />
</xsl:otherwise>
- </xsl:choose>
+ </xsl:choose>
</xsl:variable>
- <Object display_parameter="" as="displayProperties"/>
- <Object p000_value="{$value1}" as="parameter_values"/>
+ <Object display_parameter="" as="displayProperties" />
+ <Object p000_value="{$value1}" as="parameter_values" />
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/ENDBLK.xsl b/blocks/xcos2xml/blocks/ENDBLK.xsl
index 264e291f..7b290d31 100644
--- a/blocks/xcos2xml/blocks/ENDBLK.xsl
+++ b/blocks/xcos2xml/blocks/ENDBLK.xsl
@@ -41,7 +41,7 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<xsl:variable name="value1">
<xsl:choose>
@@ -49,23 +49,23 @@
<xsl:value-of select="SuperBlockDiagram/mxGraphModel/root
/BasicBlock[@interfaceFunctionName='END_c']
/ScilabString[@as='exprs']
- /data[@column='0' and @line='0']/@value"/>
+ /data[@column='0' and @line='0']/@value" />
</xsl:when>
<xsl:otherwise>
- <xsl:value-of select="1.000E+08"/>
+ <xsl:value-of select="1.000E+08" />
</xsl:otherwise>
- </xsl:choose>
+ </xsl:choose>
</xsl:variable>
- <Object display_parameter="" as="displayProperties"/>
- <Object p000_value="{$value1}" as="parameter_values"/>
+ <Object display_parameter="" as="displayProperties" />
+ <Object p000_value="{$value1}" as="parameter_values" />
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/END_c.xsl b/blocks/xcos2xml/blocks/END_c.xsl
index b2ac3c9d..acda7ba2 100644
--- a/blocks/xcos2xml/blocks/END_c.xsl
+++ b/blocks/xcos2xml/blocks/END_c.xsl
@@ -41,27 +41,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/ESELECT_f.xsl b/blocks/xcos2xml/blocks/ESELECT_f.xsl
index 8a44c7ba..fc3bda03 100644
--- a/blocks/xcos2xml/blocks/ESELECT_f.xsl
+++ b/blocks/xcos2xml/blocks/ESELECT_f.xsl
@@ -53,29 +53,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/EVTDLY_c.xsl b/blocks/xcos2xml/blocks/EVTDLY_c.xsl
index 6a247bf4..eada233f 100644
--- a/blocks/xcos2xml/blocks/EVTDLY_c.xsl
+++ b/blocks/xcos2xml/blocks/EVTDLY_c.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data[1]/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data[1]/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/EVTDLY_f.xsl b/blocks/xcos2xml/blocks/EVTDLY_f.xsl
index a739abed..97165fef 100644
--- a/blocks/xcos2xml/blocks/EVTDLY_f.xsl
+++ b/blocks/xcos2xml/blocks/EVTDLY_f.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/EVTGEN_f.xsl b/blocks/xcos2xml/blocks/EVTGEN_f.xsl
index 64fc7e87..315ce467 100644
--- a/blocks/xcos2xml/blocks/EVTGEN_f.xsl
+++ b/blocks/xcos2xml/blocks/EVTGEN_f.xsl
@@ -41,27 +41,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data[1]/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data[1]/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/EVTVARDLY.xsl b/blocks/xcos2xml/blocks/EVTVARDLY.xsl
index 164b2953..a02f9093 100644
--- a/blocks/xcos2xml/blocks/EVTVARDLY.xsl
+++ b/blocks/xcos2xml/blocks/EVTVARDLY.xsl
@@ -41,27 +41,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/EXPBLK_m.xsl b/blocks/xcos2xml/blocks/EXPBLK_m.xsl
index 5268746e..81254837 100644
--- a/blocks/xcos2xml/blocks/EXPBLK_m.xsl
+++ b/blocks/xcos2xml/blocks/EXPBLK_m.xsl
@@ -41,27 +41,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data[1]/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data[1]/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/EXPRESSION.xsl b/blocks/xcos2xml/blocks/EXPRESSION.xsl
index 435da4e3..20a0a661 100644
--- a/blocks/xcos2xml/blocks/EXPRESSION.xsl
+++ b/blocks/xcos2xml/blocks/EXPRESSION.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data[2]/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data[2]/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/EXTRACT.xsl b/blocks/xcos2xml/blocks/EXTRACT.xsl
index d13d737d..f261844a 100644
--- a/blocks/xcos2xml/blocks/EXTRACT.xsl
+++ b/blocks/xcos2xml/blocks/EXTRACT.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/EXTRACTBITS.xsl b/blocks/xcos2xml/blocks/EXTRACTBITS.xsl
index 7aabb843..28395564 100644
--- a/blocks/xcos2xml/blocks/EXTRACTBITS.xsl
+++ b/blocks/xcos2xml/blocks/EXTRACTBITS.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data[2]/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data[2]/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/EXTRACTOR.xsl b/blocks/xcos2xml/blocks/EXTRACTOR.xsl
index c093bab4..e6a57c93 100644
--- a/blocks/xcos2xml/blocks/EXTRACTOR.xsl
+++ b/blocks/xcos2xml/blocks/EXTRACTOR.xsl
@@ -41,27 +41,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/EXTTRI.xsl b/blocks/xcos2xml/blocks/EXTTRI.xsl
index f66db8e5..5127a049 100644
--- a/blocks/xcos2xml/blocks/EXTTRI.xsl
+++ b/blocks/xcos2xml/blocks/EXTTRI.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/Extract_Activation.xsl b/blocks/xcos2xml/blocks/Extract_Activation.xsl
index 24641c74..9098e9d7 100644
--- a/blocks/xcos2xml/blocks/Extract_Activation.xsl
+++ b/blocks/xcos2xml/blocks/Extract_Activation.xsl
@@ -41,17 +41,17 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
- <Object display_parameter="" as="displayProperties"/>
- <Object as="parameter_values"/>
+ <xsl:apply-templates select="mxGeometry" />
+ <Object display_parameter="" as="displayProperties" />
+ <Object as="parameter_values" />
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/FROM.xsl b/blocks/xcos2xml/blocks/FROM.xsl
index 5579a178..5f04d8d5 100644
--- a/blocks/xcos2xml/blocks/FROM.xsl
+++ b/blocks/xcos2xml/blocks/FROM.xsl
@@ -41,27 +41,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data[1]/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data[1]/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/FROMMO.xsl b/blocks/xcos2xml/blocks/FROMMO.xsl
index 3fdd86de..6451175d 100644
--- a/blocks/xcos2xml/blocks/FROMMO.xsl
+++ b/blocks/xcos2xml/blocks/FROMMO.xsl
@@ -41,27 +41,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data[1]/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data[1]/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/FROMWSB.xsl b/blocks/xcos2xml/blocks/FROMWSB.xsl
index c3ddd3ac..4186a2dd 100644
--- a/blocks/xcos2xml/blocks/FROMWSB.xsl
+++ b/blocks/xcos2xml/blocks/FROMWSB.xsl
@@ -41,7 +41,7 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<xsl:variable name="value1">
<xsl:choose>
@@ -49,7 +49,7 @@
<xsl:value-of select="SuperBlockDiagram/mxGraphModel/root
/BasicBlock[@interfaceFunctionName='FROMWS_c']
/ScilabString[@as='exprs']
- /data[@column='0' and @line='0']/@value"/>
+ /data[@column='0' and @line='0']/@value" />
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="Array[@as='realParameters']
@@ -57,9 +57,9 @@
/Array[@scilabClass='ScilabMList']
/Array[@scilabClass='ScilabMList']
/ScilabString[@height='4' and @width='1']
- /data[@column='0' and @line='0']/@value"/>
+ /data[@column='0' and @line='0']/@value" />
</xsl:otherwise>
- </xsl:choose>
+ </xsl:choose>
</xsl:variable>
<xsl:variable name="value2">
@@ -68,7 +68,7 @@
<xsl:value-of select="SuperBlockDiagram/mxGraphModel/root
/BasicBlock[@interfaceFunctionName='FROMWS_c']
/ScilabString[@as='exprs']
- /data[@column='0' and @line='1']/@value"/>
+ /data[@column='0' and @line='1']/@value" />
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="Array[@as='realParameters']
@@ -76,9 +76,9 @@
/Array[@scilabClass='ScilabMList']
/Array[@scilabClass='ScilabMList']
/ScilabString[@height='4' and @width='1']
- /data[@column='0' and @line='1']/@value"/>
+ /data[@column='0' and @line='1']/@value" />
</xsl:otherwise>
- </xsl:choose>
+ </xsl:choose>
</xsl:variable>
<xsl:variable name="value3">
@@ -87,7 +87,7 @@
<xsl:value-of select="SuperBlockDiagram/mxGraphModel/root
/BasicBlock[@interfaceFunctionName='FROMWS_c']
/ScilabString[@as='exprs']
- /data[@column='0' and @line='2']/@value"/>
+ /data[@column='0' and @line='2']/@value" />
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="Array[@as='realParameters']
@@ -95,9 +95,9 @@
/Array[@scilabClass='ScilabMList']
/Array[@scilabClass='ScilabMList']
/ScilabString[@height='4' and @width='1']
- /data[@column='0' and @line='2']/@value"/>
+ /data[@column='0' and @line='2']/@value" />
</xsl:otherwise>
- </xsl:choose>
+ </xsl:choose>
</xsl:variable>
<xsl:variable name="value4">
@@ -106,7 +106,7 @@
<xsl:value-of select="SuperBlockDiagram/mxGraphModel/root
/BasicBlock[@interfaceFunctionName='FROMWS_c']
/ScilabString[@as='exprs']
- /data[@column='0' and @line='3']/@value"/>
+ /data[@column='0' and @line='3']/@value" />
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="Array[@as='realParameters']
@@ -114,25 +114,25 @@
/Array[@scilabClass='ScilabMList']
/Array[@scilabClass='ScilabMList']
/ScilabString[@height='4' and @width='1']
- /data[@column='0' and @line='3']/@value"/>
+ /data[@column='0' and @line='3']/@value" />
</xsl:otherwise>
- </xsl:choose>
+ </xsl:choose>
</xsl:variable>
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data[1]/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data[1]/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object p000_value="{$value1}" p001_value="{$value2}" p002_value="{$value3}" p003_value="{$value4}" as="parameter_values" />
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/FROMWS_c.xsl b/blocks/xcos2xml/blocks/FROMWS_c.xsl
index 3fcdd673..03ea973e 100644
--- a/blocks/xcos2xml/blocks/FROMWS_c.xsl
+++ b/blocks/xcos2xml/blocks/FROMWS_c.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/Flowmeter.xsl b/blocks/xcos2xml/blocks/Flowmeter.xsl
index 34eb7cb6..72c73bb0 100644
--- a/blocks/xcos2xml/blocks/Flowmeter.xsl
+++ b/blocks/xcos2xml/blocks/Flowmeter.xsl
@@ -41,27 +41,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/GAINBLK.xsl b/blocks/xcos2xml/blocks/GAINBLK.xsl
index 0c9c6a1a..affbabdb 100644
--- a/blocks/xcos2xml/blocks/GAINBLK.xsl
+++ b/blocks/xcos2xml/blocks/GAINBLK.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data[1]/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data[1]/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/GAINBLK_f.xsl b/blocks/xcos2xml/blocks/GAINBLK_f.xsl
index 541c842d..c1aef03d 100644
--- a/blocks/xcos2xml/blocks/GAINBLK_f.xsl
+++ b/blocks/xcos2xml/blocks/GAINBLK_f.xsl
@@ -41,28 +41,28 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<!-- Extracting the display parameter value from the data element -->
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data[1]/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data[1]/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="ScilabString/data/@value"/>
+ <xsl:value-of select="ScilabString/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/GAIN_f.xsl b/blocks/xcos2xml/blocks/GAIN_f.xsl
index 0b84e593..63f56866 100644
--- a/blocks/xcos2xml/blocks/GAIN_f.xsl
+++ b/blocks/xcos2xml/blocks/GAIN_f.xsl
@@ -41,27 +41,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data[1]/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data[1]/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/GENERAL_f.xsl b/blocks/xcos2xml/blocks/GENERAL_f.xsl
index 4d078de9..ee9df8d8 100644
--- a/blocks/xcos2xml/blocks/GENERAL_f.xsl
+++ b/blocks/xcos2xml/blocks/GENERAL_f.xsl
@@ -43,29 +43,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/GENSIN_f.xsl b/blocks/xcos2xml/blocks/GENSIN_f.xsl
index 6b512491..f611994b 100644
--- a/blocks/xcos2xml/blocks/GENSIN_f.xsl
+++ b/blocks/xcos2xml/blocks/GENSIN_f.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/GENSQR_f.xsl b/blocks/xcos2xml/blocks/GENSQR_f.xsl
index 9e925b3d..9cc70a6d 100644
--- a/blocks/xcos2xml/blocks/GENSQR_f.xsl
+++ b/blocks/xcos2xml/blocks/GENSQR_f.xsl
@@ -41,27 +41,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/GOTO.xsl b/blocks/xcos2xml/blocks/GOTO.xsl
index 2ca6f71f..0e6c11d4 100644
--- a/blocks/xcos2xml/blocks/GOTO.xsl
+++ b/blocks/xcos2xml/blocks/GOTO.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data[1]/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data[1]/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/GOTOMO.xsl b/blocks/xcos2xml/blocks/GOTOMO.xsl
index 64fbb383..84adff19 100644
--- a/blocks/xcos2xml/blocks/GOTOMO.xsl
+++ b/blocks/xcos2xml/blocks/GOTOMO.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data[1]/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data[1]/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/GotoTagVisibility.xsl b/blocks/xcos2xml/blocks/GotoTagVisibility.xsl
index 528b5618..48d27d97 100644
--- a/blocks/xcos2xml/blocks/GotoTagVisibility.xsl
+++ b/blocks/xcos2xml/blocks/GotoTagVisibility.xsl
@@ -41,27 +41,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data[1]/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data[1]/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/GotoTagVisibilityMO.xsl b/blocks/xcos2xml/blocks/GotoTagVisibilityMO.xsl
index 4f0719e1..c6860216 100644
--- a/blocks/xcos2xml/blocks/GotoTagVisibilityMO.xsl
+++ b/blocks/xcos2xml/blocks/GotoTagVisibilityMO.xsl
@@ -41,27 +41,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data[1]/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data[1]/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/Ground.xsl b/blocks/xcos2xml/blocks/Ground.xsl
index 46fab7af..1ec7b909 100644
--- a/blocks/xcos2xml/blocks/Ground.xsl
+++ b/blocks/xcos2xml/blocks/Ground.xsl
@@ -41,27 +41,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/Gyrator.xsl b/blocks/xcos2xml/blocks/Gyrator.xsl
index 1487f879..0e5b662e 100644
--- a/blocks/xcos2xml/blocks/Gyrator.xsl
+++ b/blocks/xcos2xml/blocks/Gyrator.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/HALT_f.xsl b/blocks/xcos2xml/blocks/HALT_f.xsl
index 9768da4c..11083dce 100644
--- a/blocks/xcos2xml/blocks/HALT_f.xsl
+++ b/blocks/xcos2xml/blocks/HALT_f.xsl
@@ -41,27 +41,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/HYSTHERESIS.xsl b/blocks/xcos2xml/blocks/HYSTHERESIS.xsl
index 1c75c89d..fc9bd34d 100644
--- a/blocks/xcos2xml/blocks/HYSTHERESIS.xsl
+++ b/blocks/xcos2xml/blocks/HYSTHERESIS.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/IFTHEL_f.xsl b/blocks/xcos2xml/blocks/IFTHEL_f.xsl
index fb43ba6e..67dbe781 100644
--- a/blocks/xcos2xml/blocks/IFTHEL_f.xsl
+++ b/blocks/xcos2xml/blocks/IFTHEL_f.xsl
@@ -48,29 +48,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/INIMPL_f.xsl b/blocks/xcos2xml/blocks/INIMPL_f.xsl
index 582f2d74..eec28291 100644
--- a/blocks/xcos2xml/blocks/INIMPL_f.xsl
+++ b/blocks/xcos2xml/blocks/INIMPL_f.xsl
@@ -41,27 +41,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data[1]/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data[1]/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/INTEGRAL_f.xsl b/blocks/xcos2xml/blocks/INTEGRAL_f.xsl
index ad0c1ddd..d6591e92 100644
--- a/blocks/xcos2xml/blocks/INTEGRAL_f.xsl
+++ b/blocks/xcos2xml/blocks/INTEGRAL_f.xsl
@@ -41,27 +41,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/INTEGRAL_m.xsl b/blocks/xcos2xml/blocks/INTEGRAL_m.xsl
index a0f114da..41214c52 100644
--- a/blocks/xcos2xml/blocks/INTEGRAL_m.xsl
+++ b/blocks/xcos2xml/blocks/INTEGRAL_m.xsl
@@ -60,29 +60,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/INTMUL.xsl b/blocks/xcos2xml/blocks/INTMUL.xsl
index 64c21642..d5216167 100644
--- a/blocks/xcos2xml/blocks/INTMUL.xsl
+++ b/blocks/xcos2xml/blocks/INTMUL.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/INTRP2BLK_f.xsl b/blocks/xcos2xml/blocks/INTRP2BLK_f.xsl
index d7821f2a..270e8c0b 100644
--- a/blocks/xcos2xml/blocks/INTRP2BLK_f.xsl
+++ b/blocks/xcos2xml/blocks/INTRP2BLK_f.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/INTRPLBLK_f.xsl b/blocks/xcos2xml/blocks/INTRPLBLK_f.xsl
index 9ec0c312..0713534c 100644
--- a/blocks/xcos2xml/blocks/INTRPLBLK_f.xsl
+++ b/blocks/xcos2xml/blocks/INTRPLBLK_f.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/INVBLK.xsl b/blocks/xcos2xml/blocks/INVBLK.xsl
index ec5977ea..9f29bca4 100644
--- a/blocks/xcos2xml/blocks/INVBLK.xsl
+++ b/blocks/xcos2xml/blocks/INVBLK.xsl
@@ -41,27 +41,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/IN_f.xsl b/blocks/xcos2xml/blocks/IN_f.xsl
index 9ef8bc8a..8ce38e10 100644
--- a/blocks/xcos2xml/blocks/IN_f.xsl
+++ b/blocks/xcos2xml/blocks/IN_f.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data[1]/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data[1]/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/ISELECT_m.xsl b/blocks/xcos2xml/blocks/ISELECT_m.xsl
index b729bda6..1d10ee13 100644
--- a/blocks/xcos2xml/blocks/ISELECT_m.xsl
+++ b/blocks/xcos2xml/blocks/ISELECT_m.xsl
@@ -2,11 +2,11 @@
<xsl:variable name="explicitInputPorts">1</xsl:variable>
<xsl:variable name="implicitInputPorts">0</xsl:variable>
<xsl:variable name="explicitOutputPorts">
- <xsl:value-of select="*[@as='exprs']/data[2]/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data[2]/@value" />
</xsl:variable>
<xsl:variable name="implicitOutputPorts">0</xsl:variable>
<xsl:variable name="controlPorts">
- <xsl:value-of select="(*[@as='exprs']/data[2]/@value)"/>
+ <xsl:value-of select="(*[@as='exprs']/data[2]/@value)" />
</xsl:variable>
<xsl:variable name="commandPorts">0</xsl:variable>
<xsl:element name="mxCell">
@@ -45,29 +45,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/IdealTransformer.xsl b/blocks/xcos2xml/blocks/IdealTransformer.xsl
index ba88eddb..0337ce31 100644
--- a/blocks/xcos2xml/blocks/IdealTransformer.xsl
+++ b/blocks/xcos2xml/blocks/IdealTransformer.xsl
@@ -41,27 +41,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/Inductor.xsl b/blocks/xcos2xml/blocks/Inductor.xsl
index ad04aae0..46ec73d2 100644
--- a/blocks/xcos2xml/blocks/Inductor.xsl
+++ b/blocks/xcos2xml/blocks/Inductor.xsl
@@ -41,28 +41,28 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="format-number(*[@as='exprs']/data[1]/@value * 1000000, '0')"/>
+ <xsl:value-of select="format-number(*[@as='exprs']/data[1]/@value * 1000000, '0')" />
<xsl:text> μ</xsl:text>
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/JKFLIPFLOP.xsl b/blocks/xcos2xml/blocks/JKFLIPFLOP.xsl
index 8c59a1ab..57014ec8 100644
--- a/blocks/xcos2xml/blocks/JKFLIPFLOP.xsl
+++ b/blocks/xcos2xml/blocks/JKFLIPFLOP.xsl
@@ -41,7 +41,7 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<xsl:variable name="value1">
<xsl:choose>
@@ -49,7 +49,7 @@
<xsl:value-of select="SuperBlockDiagram/mxGraphModel/root
/BasicBlock[@interfaceFunctionName='DOLLAR_m']
/ScilabString[@as='exprs']
- /data[@column='0' and @line='0']/@value"/>
+ /data[@column='0' and @line='0']/@value" />
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="Array[@as='realParameters']
@@ -57,21 +57,21 @@
/Array[@scilabClass='ScilabMList']
/Array[@scilabClass='ScilabMList']
/ScilabString[@height='2' and @width='1']
- /data[@column='0' and @line='0']/@value"/>
+ /data[@column='0' and @line='0']/@value" />
</xsl:otherwise>
- </xsl:choose>
+ </xsl:choose>
</xsl:variable>
- <Object display_parameter="" as="displayProperties"/>
- <Object p000_value="{$value1}" as="parameter_values"/>
+ <Object display_parameter="" as="displayProperties" />
+ <Object p000_value="{$value1}" as="parameter_values" />
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/LOGBLK_f.xsl b/blocks/xcos2xml/blocks/LOGBLK_f.xsl
index 39946f75..67231906 100644
--- a/blocks/xcos2xml/blocks/LOGBLK_f.xsl
+++ b/blocks/xcos2xml/blocks/LOGBLK_f.xsl
@@ -41,27 +41,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/LOGIC.xsl b/blocks/xcos2xml/blocks/LOGIC.xsl
index 901716c6..426c93d0 100644
--- a/blocks/xcos2xml/blocks/LOGIC.xsl
+++ b/blocks/xcos2xml/blocks/LOGIC.xsl
@@ -1,9 +1,9 @@
<xsl:template match="*[@interfaceFunctionName = 'LOGIC']">
<xsl:variable name="explicitInputPorts">
- <xsl:variable name="value" select="*[@as='exprs']/data/@value"/>
- <xsl:variable name="count" select="string-length($value) - string-length(translate($value, ';, ', '')) + 1"/>
+ <xsl:variable name="value" select="*[@as='exprs']/data/@value" />
+ <xsl:variable name="count" select="string-length($value) - string-length(translate($value, ';, ', '')) + 1" />
<xsl:call-template name="log2">
- <xsl:with-param name="pX" select="$count"/>
+ <xsl:with-param name="pX" select="$count" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="implicitInputPorts">0</xsl:variable>
@@ -54,29 +54,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/LOGICAL_OP.xsl b/blocks/xcos2xml/blocks/LOGICAL_OP.xsl
index e9077986..2a3a8ac3 100644
--- a/blocks/xcos2xml/blocks/LOGICAL_OP.xsl
+++ b/blocks/xcos2xml/blocks/LOGICAL_OP.xsl
@@ -45,7 +45,7 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:variable name="exprsData" select="(*[@as='exprs']/data[1]/@value)" />
<xsl:variable name="displayParam1">
@@ -78,19 +78,19 @@
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/LOOKUP_f.xsl b/blocks/xcos2xml/blocks/LOOKUP_f.xsl
index 6122608b..8c383fb0 100644
--- a/blocks/xcos2xml/blocks/LOOKUP_f.xsl
+++ b/blocks/xcos2xml/blocks/LOOKUP_f.xsl
@@ -41,17 +41,17 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
- <Object display_parameter="" as="displayProperties"/>
- <Object as="parameter_values"/>
+ <xsl:apply-templates select="mxGeometry" />
+ <Object display_parameter="" as="displayProperties" />
+ <Object as="parameter_values" />
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/MATBKSL.xsl b/blocks/xcos2xml/blocks/MATBKSL.xsl
index c3846f07..2da354f5 100644
--- a/blocks/xcos2xml/blocks/MATBKSL.xsl
+++ b/blocks/xcos2xml/blocks/MATBKSL.xsl
@@ -41,27 +41,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/MATCATH.xsl b/blocks/xcos2xml/blocks/MATCATH.xsl
index 13c45b27..33ca79fd 100644
--- a/blocks/xcos2xml/blocks/MATCATH.xsl
+++ b/blocks/xcos2xml/blocks/MATCATH.xsl
@@ -1,6 +1,6 @@
<xsl:template match="*[@interfaceFunctionName = 'MATCATH']">
<xsl:variable name="explicitInputPorts">
- <xsl:value-of select="(*[@as='exprs']/data/@value)"/>
+ <xsl:value-of select="(*[@as='exprs']/data/@value)" />
</xsl:variable>
<xsl:variable name="implicitInputPorts">0</xsl:variable>
<xsl:variable name="explicitOutputPorts">1</xsl:variable>
@@ -43,27 +43,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/MATCATV.xsl b/blocks/xcos2xml/blocks/MATCATV.xsl
index 2b85e719..1bf38111 100644
--- a/blocks/xcos2xml/blocks/MATCATV.xsl
+++ b/blocks/xcos2xml/blocks/MATCATV.xsl
@@ -1,6 +1,6 @@
<xsl:template match="*[@interfaceFunctionName = 'MATCATV']">
<xsl:variable name="explicitInputPorts">
- <xsl:value-of select="(*[@as='exprs']/data/@value)"/>
+ <xsl:value-of select="(*[@as='exprs']/data/@value)" />
</xsl:variable>
<xsl:variable name="implicitInputPorts">0</xsl:variable>
<xsl:variable name="explicitOutputPorts">1</xsl:variable>
@@ -43,27 +43,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/MATDET.xsl b/blocks/xcos2xml/blocks/MATDET.xsl
index 392e5da2..0fb4aa78 100644
--- a/blocks/xcos2xml/blocks/MATDET.xsl
+++ b/blocks/xcos2xml/blocks/MATDET.xsl
@@ -41,27 +41,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/MATDIAG.xsl b/blocks/xcos2xml/blocks/MATDIAG.xsl
index 83d7d0e9..0d3ec82e 100644
--- a/blocks/xcos2xml/blocks/MATDIAG.xsl
+++ b/blocks/xcos2xml/blocks/MATDIAG.xsl
@@ -41,27 +41,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/MATDIV.xsl b/blocks/xcos2xml/blocks/MATDIV.xsl
index 54f0a56a..a1d1032f 100644
--- a/blocks/xcos2xml/blocks/MATDIV.xsl
+++ b/blocks/xcos2xml/blocks/MATDIV.xsl
@@ -41,27 +41,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/MATEIG.xsl b/blocks/xcos2xml/blocks/MATEIG.xsl
index 4bf9527c..6c1b091e 100644
--- a/blocks/xcos2xml/blocks/MATEIG.xsl
+++ b/blocks/xcos2xml/blocks/MATEIG.xsl
@@ -2,7 +2,7 @@
<xsl:variable name="explicitInputPorts">1</xsl:variable>
<xsl:variable name="implicitInputPorts">0</xsl:variable>
<xsl:variable name="explicitOutputPorts">
- <xsl:value-of select="*[@as='exprs']/data[2]/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data[2]/@value" />
</xsl:variable>
<xsl:variable name="implicitOutputPorts">0</xsl:variable>
<xsl:variable name="controlPorts">0</xsl:variable>
@@ -43,29 +43,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/MATEXPM.xsl b/blocks/xcos2xml/blocks/MATEXPM.xsl
index 5eed6b53..ce04f129 100644
--- a/blocks/xcos2xml/blocks/MATEXPM.xsl
+++ b/blocks/xcos2xml/blocks/MATEXPM.xsl
@@ -41,27 +41,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/MATINV.xsl b/blocks/xcos2xml/blocks/MATINV.xsl
index 1861d0b5..bdbd7861 100644
--- a/blocks/xcos2xml/blocks/MATINV.xsl
+++ b/blocks/xcos2xml/blocks/MATINV.xsl
@@ -41,27 +41,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/MATLU.xsl b/blocks/xcos2xml/blocks/MATLU.xsl
index 1f1999c2..214191d4 100644
--- a/blocks/xcos2xml/blocks/MATLU.xsl
+++ b/blocks/xcos2xml/blocks/MATLU.xsl
@@ -41,27 +41,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/MATMAGPHI.xsl b/blocks/xcos2xml/blocks/MATMAGPHI.xsl
index 8c6ec5eb..4b52c816 100644
--- a/blocks/xcos2xml/blocks/MATMAGPHI.xsl
+++ b/blocks/xcos2xml/blocks/MATMAGPHI.xsl
@@ -1,10 +1,10 @@
<xsl:template match="*[@interfaceFunctionName = 'MATMAGPHI']">
<xsl:variable name="explicitInputPorts">
- <xsl:value-of select="(*[@as='exprs']/data/@value)"/>
+ <xsl:value-of select="(*[@as='exprs']/data/@value)" />
</xsl:variable>
<xsl:variable name="implicitInputPorts">0</xsl:variable>
<xsl:variable name="explicitOutputPorts">
- <xsl:value-of select="3 - (*[@as='exprs']/data/@value)"/>
+ <xsl:value-of select="3 - (*[@as='exprs']/data/@value)" />
</xsl:variable>
<xsl:variable name="implicitOutputPorts">0</xsl:variable>
<xsl:variable name="controlPorts">0</xsl:variable>
@@ -45,27 +45,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/MATMUL.xsl b/blocks/xcos2xml/blocks/MATMUL.xsl
index 2eb68094..9fb69ec0 100644
--- a/blocks/xcos2xml/blocks/MATMUL.xsl
+++ b/blocks/xcos2xml/blocks/MATMUL.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/MATPINV.xsl b/blocks/xcos2xml/blocks/MATPINV.xsl
index a9b03c09..cf492924 100644
--- a/blocks/xcos2xml/blocks/MATPINV.xsl
+++ b/blocks/xcos2xml/blocks/MATPINV.xsl
@@ -41,27 +41,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/MATRESH.xsl b/blocks/xcos2xml/blocks/MATRESH.xsl
index 7cfb7bb7..e1a26e40 100644
--- a/blocks/xcos2xml/blocks/MATRESH.xsl
+++ b/blocks/xcos2xml/blocks/MATRESH.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/MATSING.xsl b/blocks/xcos2xml/blocks/MATSING.xsl
index af85b36f..11f48ab1 100644
--- a/blocks/xcos2xml/blocks/MATSING.xsl
+++ b/blocks/xcos2xml/blocks/MATSING.xsl
@@ -51,29 +51,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/MATSUM.xsl b/blocks/xcos2xml/blocks/MATSUM.xsl
index 398f74b3..d7cf9053 100644
--- a/blocks/xcos2xml/blocks/MATSUM.xsl
+++ b/blocks/xcos2xml/blocks/MATSUM.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/MATTRAN.xsl b/blocks/xcos2xml/blocks/MATTRAN.xsl
index 0fe1bbf0..7e428012 100644
--- a/blocks/xcos2xml/blocks/MATTRAN.xsl
+++ b/blocks/xcos2xml/blocks/MATTRAN.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/MATZCONJ.xsl b/blocks/xcos2xml/blocks/MATZCONJ.xsl
index 8fac5cbd..be1def01 100644
--- a/blocks/xcos2xml/blocks/MATZCONJ.xsl
+++ b/blocks/xcos2xml/blocks/MATZCONJ.xsl
@@ -41,17 +41,17 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
- <Object display_parameter="" as="displayProperties"/>
- <Object as="parameter_values"/>
+ <xsl:apply-templates select="mxGeometry" />
+ <Object display_parameter="" as="displayProperties" />
+ <Object as="parameter_values" />
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/MATZREIM.xsl b/blocks/xcos2xml/blocks/MATZREIM.xsl
index 52784a24..5b0231a7 100644
--- a/blocks/xcos2xml/blocks/MATZREIM.xsl
+++ b/blocks/xcos2xml/blocks/MATZREIM.xsl
@@ -1,10 +1,10 @@
<xsl:template match="*[@interfaceFunctionName = 'MATZREIM']">
<xsl:variable name="explicitInputPorts">
- <xsl:value-of select="(*[@as='exprs']/data/@value)"/>
+ <xsl:value-of select="(*[@as='exprs']/data/@value)" />
</xsl:variable>
<xsl:variable name="implicitInputPorts">0</xsl:variable>
<xsl:variable name="explicitOutputPorts">
- <xsl:value-of select="3 - (*[@as='exprs']/data/@value)"/>
+ <xsl:value-of select="3 - (*[@as='exprs']/data/@value)" />
</xsl:variable>
<xsl:variable name="implicitOutputPorts">0</xsl:variable>
<xsl:variable name="controlPorts">0</xsl:variable>
@@ -45,27 +45,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/MAXMIN.xsl b/blocks/xcos2xml/blocks/MAXMIN.xsl
index 75fb0f80..923240d1 100644
--- a/blocks/xcos2xml/blocks/MAXMIN.xsl
+++ b/blocks/xcos2xml/blocks/MAXMIN.xsl
@@ -1,6 +1,6 @@
<xsl:template match="*[@interfaceFunctionName = 'MAXMIN']">
<xsl:variable name="explicitInputPorts">
- <xsl:value-of select="(*[@as='exprs']/data[2]/@value)"/>
+ <xsl:value-of select="(*[@as='exprs']/data[2]/@value)" />
</xsl:variable>
<xsl:variable name="implicitInputPorts">0</xsl:variable>
<xsl:variable name="explicitOutputPorts">1</xsl:variable>
@@ -43,7 +43,7 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:variable name="exprsData" select="(*[@as='exprs']/data[1]/@value)" />
<xsl:variable name="displayParam1">
@@ -64,19 +64,19 @@
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/MAX_f.xsl b/blocks/xcos2xml/blocks/MAX_f.xsl
index 93564e76..16b8fbf9 100644
--- a/blocks/xcos2xml/blocks/MAX_f.xsl
+++ b/blocks/xcos2xml/blocks/MAX_f.xsl
@@ -41,27 +41,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/MBLOCK.xsl b/blocks/xcos2xml/blocks/MBLOCK.xsl
index 061cdbe9..62e8505d 100644
--- a/blocks/xcos2xml/blocks/MBLOCK.xsl
+++ b/blocks/xcos2xml/blocks/MBLOCK.xsl
@@ -41,17 +41,17 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
- <Object display_parameter="" as="displayProperties"/>
- <Object as="parameter_values"/>
+ <xsl:apply-templates select="mxGeometry" />
+ <Object display_parameter="" as="displayProperties" />
+ <Object as="parameter_values" />
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/MCLOCK_f.xsl b/blocks/xcos2xml/blocks/MCLOCK_f.xsl
index 20cae585..bc054ba0 100644
--- a/blocks/xcos2xml/blocks/MCLOCK_f.xsl
+++ b/blocks/xcos2xml/blocks/MCLOCK_f.xsl
@@ -41,7 +41,7 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<xsl:variable name="value1">
<xsl:choose>
@@ -49,7 +49,7 @@
<xsl:value-of select="SuperBlockDiagram/mxGraphModel/root
/BasicBlock[@interfaceFunctionName='MFCLCK_f']
/ScilabString[@as='exprs']
- /data[@column='0' and @line='0']/@value"/>
+ /data[@column='0' and @line='0']/@value" />
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="Array[@as='realParameters']
@@ -57,9 +57,9 @@
/Array[@scilabClass='ScilabMList']
/Array[@scilabClass='ScilabMList']
/ScilabString[@height='2' and @width='1']
- /data[@column='0' and @line='0']/@value"/>
+ /data[@column='0' and @line='0']/@value" />
</xsl:otherwise>
- </xsl:choose>
+ </xsl:choose>
</xsl:variable>
<xsl:variable name="value2">
@@ -68,7 +68,7 @@
<xsl:value-of select="SuperBlockDiagram/mxGraphModel/root
/BasicBlock[@interfaceFunctionName='MFCLCK_f']
/ScilabString[@as='exprs']
- /data[@column='0' and @line='1']/@value"/>
+ /data[@column='0' and @line='1']/@value" />
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="Array[@as='realParameters']
@@ -76,20 +76,20 @@
/Array[@scilabClass='ScilabMList']
/Array[@scilabClass='ScilabMList']
/ScilabString[@height='2' and @width='1']
- /data[@column='0' and @line='0']/@value"/>
+ /data[@column='0' and @line='0']/@value" />
</xsl:otherwise>
- </xsl:choose>
+ </xsl:choose>
</xsl:variable>
- <Object display_parameter="" as="displayProperties"/>
- <Object p000_value="{$value1}" p001_value="{$value2}" as="parameter_values"/>
+ <Object display_parameter="" as="displayProperties" />
+ <Object p000_value="{$value1}" p001_value="{$value2}" as="parameter_values" />
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/MFCLCK_f.xsl b/blocks/xcos2xml/blocks/MFCLCK_f.xsl
index 6414867c..e6487433 100644
--- a/blocks/xcos2xml/blocks/MFCLCK_f.xsl
+++ b/blocks/xcos2xml/blocks/MFCLCK_f.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/MIN_f.xsl b/blocks/xcos2xml/blocks/MIN_f.xsl
index 059d40ba..a2d3fe96 100644
--- a/blocks/xcos2xml/blocks/MIN_f.xsl
+++ b/blocks/xcos2xml/blocks/MIN_f.xsl
@@ -41,27 +41,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/MUX.xsl b/blocks/xcos2xml/blocks/MUX.xsl
index f02953f5..30232095 100644
--- a/blocks/xcos2xml/blocks/MUX.xsl
+++ b/blocks/xcos2xml/blocks/MUX.xsl
@@ -1,6 +1,6 @@
<xsl:template match="*[@interfaceFunctionName = 'MUX']">
<xsl:variable name="explicitInputPorts">
- <xsl:value-of select="(*[@as='exprs']/data/@value)"/>
+ <xsl:value-of select="(*[@as='exprs']/data/@value)" />
</xsl:variable>
<xsl:variable name="implicitInputPorts">0</xsl:variable>
<xsl:variable name="explicitOutputPorts">1</xsl:variable>
@@ -43,27 +43,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/MUX_f.xsl b/blocks/xcos2xml/blocks/MUX_f.xsl
index 6eb9da0e..fda9e6a8 100644
--- a/blocks/xcos2xml/blocks/MUX_f.xsl
+++ b/blocks/xcos2xml/blocks/MUX_f.xsl
@@ -41,27 +41,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/M_SWITCH.xsl b/blocks/xcos2xml/blocks/M_SWITCH.xsl
index aeb1207c..08054234 100644
--- a/blocks/xcos2xml/blocks/M_SWITCH.xsl
+++ b/blocks/xcos2xml/blocks/M_SWITCH.xsl
@@ -1,6 +1,6 @@
<xsl:template match="*[@interfaceFunctionName = 'M_SWITCH']">
<xsl:variable name="explicitInputPorts">
- <xsl:value-of select="(*[@as='exprs']/data/@value)+1"/>
+ <xsl:value-of select="(*[@as='exprs']/data/@value)+1" />
</xsl:variable>
<xsl:variable name="implicitInputPorts">0</xsl:variable>
<xsl:variable name="explicitOutputPorts">1</xsl:variable>
@@ -43,29 +43,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/M_freq.xsl b/blocks/xcos2xml/blocks/M_freq.xsl
index 81376ef6..e0717fee 100644
--- a/blocks/xcos2xml/blocks/M_freq.xsl
+++ b/blocks/xcos2xml/blocks/M_freq.xsl
@@ -9,12 +9,12 @@
<xsl:variable name="count" select="string-length($value) - string-length(translate($value, ';, ', '')) + 1" />
<xsl:variable name="power">
<xsl:call-template name="pow">
- <xsl:with-param name="pBase" select="2"/>
- <xsl:with-param name="pPower" select="$count"/>
+ <xsl:with-param name="pBase" select="2" />
+ <xsl:with-param name="pPower" select="$count" />
</xsl:call-template>
</xsl:variable>
- <xsl:variable name="integer-power" select="floor($power)"/>
- <xsl:value-of select="$integer-power - 1"/>
+ <xsl:variable name="integer-power" select="floor($power)" />
+ <xsl:value-of select="$integer-power - 1" />
</xsl:variable>
<xsl:element name="mxCell">
<xsl:attribute name="style">
@@ -52,29 +52,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/Modulo_Count.xsl b/blocks/xcos2xml/blocks/Modulo_Count.xsl
index 8c1f3db5..95c4b569 100644
--- a/blocks/xcos2xml/blocks/Modulo_Count.xsl
+++ b/blocks/xcos2xml/blocks/Modulo_Count.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data[2]/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data[2]/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/NEGTOPOS_f.xsl b/blocks/xcos2xml/blocks/NEGTOPOS_f.xsl
index b3f709eb..5300440d 100644
--- a/blocks/xcos2xml/blocks/NEGTOPOS_f.xsl
+++ b/blocks/xcos2xml/blocks/NEGTOPOS_f.xsl
@@ -41,17 +41,17 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
- <Object display_parameter="" as="displayProperties"/>
- <Object as="parameter_values"/>
+ <xsl:apply-templates select="mxGeometry" />
+ <Object display_parameter="" as="displayProperties" />
+ <Object as="parameter_values" />
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/NMOS.xsl b/blocks/xcos2xml/blocks/NMOS.xsl
index 5d08c704..c9b29e24 100644
--- a/blocks/xcos2xml/blocks/NMOS.xsl
+++ b/blocks/xcos2xml/blocks/NMOS.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/NPN.xsl b/blocks/xcos2xml/blocks/NPN.xsl
index 5be83d0a..521bb2ed 100644
--- a/blocks/xcos2xml/blocks/NPN.xsl
+++ b/blocks/xcos2xml/blocks/NPN.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/NRMSOM_f.xsl b/blocks/xcos2xml/blocks/NRMSOM_f.xsl
index c890823f..5e2ccdc0 100644
--- a/blocks/xcos2xml/blocks/NRMSOM_f.xsl
+++ b/blocks/xcos2xml/blocks/NRMSOM_f.xsl
@@ -1,6 +1,6 @@
<xsl:template match="*[@interfaceFunctionName = 'NRMSOM_f']">
<xsl:variable name="explicitInputPorts">
- <xsl:value-of select="(*[@as='exprs']/data/@value)"/>
+ <xsl:value-of select="(*[@as='exprs']/data/@value)" />
</xsl:variable>
<xsl:variable name="implicitInputPorts">0</xsl:variable>
<xsl:variable name="explicitOutputPorts">1</xsl:variable>
@@ -43,27 +43,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/OUTIMPL_f.xsl b/blocks/xcos2xml/blocks/OUTIMPL_f.xsl
index 8805c075..a5db4183 100644
--- a/blocks/xcos2xml/blocks/OUTIMPL_f.xsl
+++ b/blocks/xcos2xml/blocks/OUTIMPL_f.xsl
@@ -41,27 +41,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data[1]/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data[1]/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/OUT_f.xsl b/blocks/xcos2xml/blocks/OUT_f.xsl
index 555fb8c9..2cdb2a0c 100644
--- a/blocks/xcos2xml/blocks/OUT_f.xsl
+++ b/blocks/xcos2xml/blocks/OUT_f.xsl
@@ -41,27 +41,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data[1]/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data[1]/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data[1]/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data[1]/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/OpAmp.xsl b/blocks/xcos2xml/blocks/OpAmp.xsl
index a516e43c..914268c8 100644
--- a/blocks/xcos2xml/blocks/OpAmp.xsl
+++ b/blocks/xcos2xml/blocks/OpAmp.xsl
@@ -41,17 +41,17 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
- <Object display_parameter="" as="displayProperties"/>
- <Object as="parameter_values"/>
+ <xsl:apply-templates select="mxGeometry" />
+ <Object display_parameter="" as="displayProperties" />
+ <Object as="parameter_values" />
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/PDE.xsl b/blocks/xcos2xml/blocks/PDE.xsl
index a700edc6..a5103b51 100644
--- a/blocks/xcos2xml/blocks/PDE.xsl
+++ b/blocks/xcos2xml/blocks/PDE.xsl
@@ -41,17 +41,17 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
- <Object display_parameter="" as="displayProperties"/>
- <Object as="parameter_values"/>
+ <xsl:apply-templates select="mxGeometry" />
+ <Object display_parameter="" as="displayProperties" />
+ <Object as="parameter_values" />
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/PID.xsl b/blocks/xcos2xml/blocks/PID.xsl
index 3fa76e03..3618a37f 100644
--- a/blocks/xcos2xml/blocks/PID.xsl
+++ b/blocks/xcos2xml/blocks/PID.xsl
@@ -41,7 +41,7 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<xsl:variable name="value1">
<xsl:choose>
@@ -49,7 +49,7 @@
<xsl:value-of select="SuperBlockDiagram/mxGraphModel/root
/Summation[@interfaceFunctionName='SUMMATION']
/ScilabString[@as='exprs']
- /data[@column='0' and @line='0']/@value"/>
+ /data[@column='0' and @line='0']/@value" />
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="Array[@as='realParameters']
@@ -57,9 +57,9 @@
/Array[@scilabClass='ScilabMList']
/Array[@scilabClass='ScilabMList']
/ScilabString[@height='2' and @width='1']
- /data[@column='0' and @line='0']/@value"/>
+ /data[@column='0' and @line='0']/@value" />
</xsl:otherwise>
- </xsl:choose>
+ </xsl:choose>
</xsl:variable>
<xsl:variable name="value2">
@@ -68,7 +68,7 @@
<xsl:value-of select="SuperBlockDiagram/mxGraphModel/root
/Summation[@interfaceFunctionName='SUMMATION']
/ScilabString[@as='exprs']
- /data[@column='0' and @line='1']/@value"/>
+ /data[@column='0' and @line='1']/@value" />
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="Array[@as='realParameters']
@@ -76,9 +76,9 @@
/Array[@scilabClass='ScilabMList']
/Array[@scilabClass='ScilabMList']
/ScilabString[@height='2' and @width='1']
- /data[@column='0' and @line='1']/@value"/>
+ /data[@column='0' and @line='1']/@value" />
</xsl:otherwise>
- </xsl:choose>
+ </xsl:choose>
</xsl:variable>
<xsl:variable name="value3">
@@ -87,7 +87,7 @@
<xsl:value-of select="SuperBlockDiagram/mxGraphModel/root
/Summation[@interfaceFunctionName='SUMMATION']
/ScilabString[@as='exprs']
- /data[@column='0' and @line='2']/@value"/>
+ /data[@column='0' and @line='2']/@value" />
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="Array[@as='realParameters']
@@ -95,20 +95,20 @@
/Array[@scilabClass='ScilabMList']
/Array[@scilabClass='ScilabMList']
/ScilabString[@height='2' and @width='1']
- /data[@column='0' and @line='0']/@value"/>
+ /data[@column='0' and @line='0']/@value" />
</xsl:otherwise>
- </xsl:choose>
+ </xsl:choose>
</xsl:variable>
- <Object display_parameter="" as="displayProperties"/>
- <Object p000_value="{$value1}" p001_value="{$value2}" p002_value="{$value3}" as="parameter_values"/>
+ <Object display_parameter="" as="displayProperties" />
+ <Object p000_value="{$value1}" p001_value="{$value2}" p002_value="{$value3}" as="parameter_values" />
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/PMOS.xsl b/blocks/xcos2xml/blocks/PMOS.xsl
index 199135de..0a21cf1b 100644
--- a/blocks/xcos2xml/blocks/PMOS.xsl
+++ b/blocks/xcos2xml/blocks/PMOS.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/PNP.xsl b/blocks/xcos2xml/blocks/PNP.xsl
index e33655a4..ae490e1d 100644
--- a/blocks/xcos2xml/blocks/PNP.xsl
+++ b/blocks/xcos2xml/blocks/PNP.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/POSTONEG_f.xsl b/blocks/xcos2xml/blocks/POSTONEG_f.xsl
index 7c463544..08941da9 100644
--- a/blocks/xcos2xml/blocks/POSTONEG_f.xsl
+++ b/blocks/xcos2xml/blocks/POSTONEG_f.xsl
@@ -41,17 +41,17 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
- <Object display_parameter="" as="displayProperties"/>
- <Object as="parameter_values"/>
+ <xsl:apply-templates select="mxGeometry" />
+ <Object display_parameter="" as="displayProperties" />
+ <Object as="parameter_values" />
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/POWBLK_f.xsl b/blocks/xcos2xml/blocks/POWBLK_f.xsl
index d8aeef26..9ee20206 100644
--- a/blocks/xcos2xml/blocks/POWBLK_f.xsl
+++ b/blocks/xcos2xml/blocks/POWBLK_f.xsl
@@ -41,27 +41,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data[1]/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data[1]/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/PRODUCT.xsl b/blocks/xcos2xml/blocks/PRODUCT.xsl
index ab40c828..2b15ce8f 100644
--- a/blocks/xcos2xml/blocks/PRODUCT.xsl
+++ b/blocks/xcos2xml/blocks/PRODUCT.xsl
@@ -45,27 +45,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/PROD_f.xsl b/blocks/xcos2xml/blocks/PROD_f.xsl
index 64c8bdbf..5af156c3 100644
--- a/blocks/xcos2xml/blocks/PROD_f.xsl
+++ b/blocks/xcos2xml/blocks/PROD_f.xsl
@@ -41,17 +41,17 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
- <Object display_parameter="" as="displayProperties"/>
- <Object as="parameter_values"/>
+ <xsl:apply-templates select="mxGeometry" />
+ <Object display_parameter="" as="displayProperties" />
+ <Object as="parameter_values" />
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/PULSE_SC.xsl b/blocks/xcos2xml/blocks/PULSE_SC.xsl
index d6ab4d2b..a066dc05 100644
--- a/blocks/xcos2xml/blocks/PULSE_SC.xsl
+++ b/blocks/xcos2xml/blocks/PULSE_SC.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/PerteDP.xsl b/blocks/xcos2xml/blocks/PerteDP.xsl
index 0654a168..2d958b28 100644
--- a/blocks/xcos2xml/blocks/PerteDP.xsl
+++ b/blocks/xcos2xml/blocks/PerteDP.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/PotentialSensor.xsl b/blocks/xcos2xml/blocks/PotentialSensor.xsl
index 64f56189..5af228fe 100644
--- a/blocks/xcos2xml/blocks/PotentialSensor.xsl
+++ b/blocks/xcos2xml/blocks/PotentialSensor.xsl
@@ -41,27 +41,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/PuitsP.xsl b/blocks/xcos2xml/blocks/PuitsP.xsl
index 92a74d7b..59deac11 100644
--- a/blocks/xcos2xml/blocks/PuitsP.xsl
+++ b/blocks/xcos2xml/blocks/PuitsP.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/QUANT_f.xsl b/blocks/xcos2xml/blocks/QUANT_f.xsl
index f9c4c72e..4d69ed2a 100644
--- a/blocks/xcos2xml/blocks/QUANT_f.xsl
+++ b/blocks/xcos2xml/blocks/QUANT_f.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/RAMP.xsl b/blocks/xcos2xml/blocks/RAMP.xsl
index fa970372..0b5b4d3f 100644
--- a/blocks/xcos2xml/blocks/RAMP.xsl
+++ b/blocks/xcos2xml/blocks/RAMP.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/RAND_m.xsl b/blocks/xcos2xml/blocks/RAND_m.xsl
index b4a4f62d..997dc5f0 100644
--- a/blocks/xcos2xml/blocks/RAND_m.xsl
+++ b/blocks/xcos2xml/blocks/RAND_m.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/RATELIMITER.xsl b/blocks/xcos2xml/blocks/RATELIMITER.xsl
index 9d446f6f..b9c893d8 100644
--- a/blocks/xcos2xml/blocks/RATELIMITER.xsl
+++ b/blocks/xcos2xml/blocks/RATELIMITER.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/READAU_f.xsl b/blocks/xcos2xml/blocks/READAU_f.xsl
index cce491f7..b5f549d5 100644
--- a/blocks/xcos2xml/blocks/READAU_f.xsl
+++ b/blocks/xcos2xml/blocks/READAU_f.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/READC_f.xsl b/blocks/xcos2xml/blocks/READC_f.xsl
index 8d88fb3f..61f66f8a 100644
--- a/blocks/xcos2xml/blocks/READC_f.xsl
+++ b/blocks/xcos2xml/blocks/READC_f.xsl
@@ -7,7 +7,7 @@
<xsl:variable name="value" select="(*[@as='exprs']/data[1]/@value)" />
<xsl:variable name="commandPorts">
<xsl:choose>
- <xsl:when test="number($value) > 0">
+ <xsl:when test="number($value) &gt; 0">
<xsl:value-of select="$value" />
</xsl:when>
<xsl:otherwise>
@@ -51,29 +51,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/REGISTER.xsl b/blocks/xcos2xml/blocks/REGISTER.xsl
index c34d5dcf..e0bf71c0 100644
--- a/blocks/xcos2xml/blocks/REGISTER.xsl
+++ b/blocks/xcos2xml/blocks/REGISTER.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/REGISTER_f.xsl b/blocks/xcos2xml/blocks/REGISTER_f.xsl
index 22368498..26ee9a37 100644
--- a/blocks/xcos2xml/blocks/REGISTER_f.xsl
+++ b/blocks/xcos2xml/blocks/REGISTER_f.xsl
@@ -41,27 +41,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/RELATIONALOP.xsl b/blocks/xcos2xml/blocks/RELATIONALOP.xsl
index f7132e66..96a9d37d 100644
--- a/blocks/xcos2xml/blocks/RELATIONALOP.xsl
+++ b/blocks/xcos2xml/blocks/RELATIONALOP.xsl
@@ -41,7 +41,7 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:variable name="exprsData" select="(*[@as='exprs']/data[1]/@value)" />
<xsl:variable name="displayParam1">
@@ -74,19 +74,19 @@
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/RELAY_f.xsl b/blocks/xcos2xml/blocks/RELAY_f.xsl
index fc1b08f8..1f434f6d 100644
--- a/blocks/xcos2xml/blocks/RELAY_f.xsl
+++ b/blocks/xcos2xml/blocks/RELAY_f.xsl
@@ -1,12 +1,12 @@
<xsl:template match="*[@interfaceFunctionName = 'RELAY_f']">
<xsl:variable name="explicitInputPorts">
- <xsl:value-of select="(*[@as='exprs']/data/@value)"/>
+ <xsl:value-of select="(*[@as='exprs']/data/@value)" />
</xsl:variable>
<xsl:variable name="implicitInputPorts">0</xsl:variable>
<xsl:variable name="explicitOutputPorts">1</xsl:variable>
<xsl:variable name="implicitOutputPorts">0</xsl:variable>
<xsl:variable name="controlPorts">
- <xsl:value-of select="(*[@as='exprs']/data/@value)"/>
+ <xsl:value-of select="(*[@as='exprs']/data/@value)" />
</xsl:variable>
<xsl:variable name="commandPorts">0</xsl:variable>
<xsl:element name="mxCell">
@@ -45,29 +45,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/RFILE_f.xsl b/blocks/xcos2xml/blocks/RFILE_f.xsl
index 3c7e22a3..64898645 100644
--- a/blocks/xcos2xml/blocks/RFILE_f.xsl
+++ b/blocks/xcos2xml/blocks/RFILE_f.xsl
@@ -7,7 +7,7 @@
<xsl:variable name="value" select="(*[@as='exprs']/data[1]/@value)" />
<xsl:variable name="commandPorts">
<xsl:choose>
- <xsl:when test="number($value) > 0">
+ <xsl:when test="number($value) &gt; 0">
<xsl:value-of select="$value" />
</xsl:when>
<xsl:otherwise>
@@ -51,29 +51,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/RICC.xsl b/blocks/xcos2xml/blocks/RICC.xsl
index 490e57c2..3f6db8f3 100644
--- a/blocks/xcos2xml/blocks/RICC.xsl
+++ b/blocks/xcos2xml/blocks/RICC.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/ROOTCOEF.xsl b/blocks/xcos2xml/blocks/ROOTCOEF.xsl
index 5a38618c..cab897eb 100644
--- a/blocks/xcos2xml/blocks/ROOTCOEF.xsl
+++ b/blocks/xcos2xml/blocks/ROOTCOEF.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/Resistor.xsl b/blocks/xcos2xml/blocks/Resistor.xsl
index c6dd3314..925ce561 100644
--- a/blocks/xcos2xml/blocks/Resistor.xsl
+++ b/blocks/xcos2xml/blocks/Resistor.xsl
@@ -41,30 +41,30 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <!-- <xsl:value-of select="si-format(number(*[@as='exprs']/data[1]/@value), '0')"/> -->
+ <!-- <xsl:value-of select="si-format(number(*[@as='exprs']/data[1]/@value), '0')" /> -->
<xsl:call-template name="si-format">
- <xsl:with-param name="num" select="number(*[@as='exprs']/data[1]/@value)"/>
+ <xsl:with-param name="num" select="number(*[@as='exprs']/data[1]/@value)" />
</xsl:call-template>
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/SAMPHOLD_m.xsl b/blocks/xcos2xml/blocks/SAMPHOLD_m.xsl
index 83e80400..d1660b0a 100644
--- a/blocks/xcos2xml/blocks/SAMPHOLD_m.xsl
+++ b/blocks/xcos2xml/blocks/SAMPHOLD_m.xsl
@@ -41,27 +41,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/SATURATION.xsl b/blocks/xcos2xml/blocks/SATURATION.xsl
index 3e4ac114..8889ff59 100644
--- a/blocks/xcos2xml/blocks/SATURATION.xsl
+++ b/blocks/xcos2xml/blocks/SATURATION.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/SAWTOOTH_f.xsl b/blocks/xcos2xml/blocks/SAWTOOTH_f.xsl
index 9ab8d659..b8fbe2ef 100644
--- a/blocks/xcos2xml/blocks/SAWTOOTH_f.xsl
+++ b/blocks/xcos2xml/blocks/SAWTOOTH_f.xsl
@@ -41,27 +41,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/SCALAR2VECTOR.xsl b/blocks/xcos2xml/blocks/SCALAR2VECTOR.xsl
index 22c102db..e342f045 100644
--- a/blocks/xcos2xml/blocks/SCALAR2VECTOR.xsl
+++ b/blocks/xcos2xml/blocks/SCALAR2VECTOR.xsl
@@ -41,27 +41,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/SELECT_m.xsl b/blocks/xcos2xml/blocks/SELECT_m.xsl
index 652d43d0..561fa78e 100644
--- a/blocks/xcos2xml/blocks/SELECT_m.xsl
+++ b/blocks/xcos2xml/blocks/SELECT_m.xsl
@@ -1,12 +1,12 @@
<xsl:template match="*[@interfaceFunctionName = 'SELECT_m']">
<xsl:variable name="explicitInputPorts">
- <xsl:value-of select="(*[@as='exprs']/data[2]/@value)"/>
+ <xsl:value-of select="(*[@as='exprs']/data[2]/@value)" />
</xsl:variable>
<xsl:variable name="implicitInputPorts">0</xsl:variable>
<xsl:variable name="explicitOutputPorts">1</xsl:variable>
<xsl:variable name="implicitOutputPorts">0</xsl:variable>
<xsl:variable name="controlPorts">
- <xsl:value-of select="(*[@as='exprs']/data[2]/@value)"/>
+ <xsl:value-of select="(*[@as='exprs']/data[2]/@value)" />
</xsl:variable>
<xsl:variable name="commandPorts">0</xsl:variable>
<xsl:element name="mxCell">
@@ -45,29 +45,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/SELF_SWITCH.xsl b/blocks/xcos2xml/blocks/SELF_SWITCH.xsl
index 09671fbc..24d2d076 100644
--- a/blocks/xcos2xml/blocks/SELF_SWITCH.xsl
+++ b/blocks/xcos2xml/blocks/SELF_SWITCH.xsl
@@ -41,7 +41,7 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<xsl:variable name="value1">
<xsl:choose>
@@ -49,7 +49,7 @@
<xsl:value-of select="SuperBlockDiagram/mxGraphModel/root
/BasicBlock[@interfaceFunctionName='SWITCH_f']
/ScilabString[@as='exprs']
- /data[@column='0' and @line='0']/@value"/>
+ /data[@column='0' and @line='0']/@value" />
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="Array[@as='realParameters']
@@ -57,9 +57,9 @@
/Array[@scilabClass='ScilabMList']
/Array[@scilabClass='ScilabMList']
/ScilabString[@height='2' and @width='1']
- /data[@column='0' and @line='0']/@value"/>
+ /data[@column='0' and @line='0']/@value" />
</xsl:otherwise>
- </xsl:choose>
+ </xsl:choose>
</xsl:variable>
<Object>
@@ -80,15 +80,15 @@
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
- <Object p000_value="{$value1}" as="parameter_values"/>
+ <Object p000_value="{$value1}" as="parameter_values" />
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/SHIFT.xsl b/blocks/xcos2xml/blocks/SHIFT.xsl
index 0aa8f7e3..032ff41b 100644
--- a/blocks/xcos2xml/blocks/SHIFT.xsl
+++ b/blocks/xcos2xml/blocks/SHIFT.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data[2]/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data[2]/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/SIGNUM.xsl b/blocks/xcos2xml/blocks/SIGNUM.xsl
index 411745c9..1d271c04 100644
--- a/blocks/xcos2xml/blocks/SIGNUM.xsl
+++ b/blocks/xcos2xml/blocks/SIGNUM.xsl
@@ -41,27 +41,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/SINBLK_f.xsl b/blocks/xcos2xml/blocks/SINBLK_f.xsl
index aa70e5c4..bef18dc3 100644
--- a/blocks/xcos2xml/blocks/SINBLK_f.xsl
+++ b/blocks/xcos2xml/blocks/SINBLK_f.xsl
@@ -41,27 +41,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/SOM_f.xsl b/blocks/xcos2xml/blocks/SOM_f.xsl
index 5737c431..26219c7b 100644
--- a/blocks/xcos2xml/blocks/SOM_f.xsl
+++ b/blocks/xcos2xml/blocks/SOM_f.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/SQRT.xsl b/blocks/xcos2xml/blocks/SQRT.xsl
index de4ba21a..932226fc 100644
--- a/blocks/xcos2xml/blocks/SQRT.xsl
+++ b/blocks/xcos2xml/blocks/SQRT.xsl
@@ -41,27 +41,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/SRFLIPFLOP.xsl b/blocks/xcos2xml/blocks/SRFLIPFLOP.xsl
index d8d267d5..99fd810e 100644
--- a/blocks/xcos2xml/blocks/SRFLIPFLOP.xsl
+++ b/blocks/xcos2xml/blocks/SRFLIPFLOP.xsl
@@ -41,7 +41,7 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<xsl:variable name="value1">
<xsl:choose>
@@ -49,7 +49,7 @@
<xsl:value-of select="SuperBlockDiagram/mxGraphModel/root
/BasicBlock[@interfaceFunctionName='DOLLAR_m']
/ScilabString[@as='exprs']
- /data[@column='0' and @line='0']/@value"/>
+ /data[@column='0' and @line='0']/@value" />
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="Array[@as='realParameters']
@@ -57,21 +57,21 @@
/Array[@scilabClass='ScilabMList'][2]
/Array[@scilabClass='ScilabMList']
/ScilabString[@height='2' and @width='1']
- /data[@column='0' and @line='0']/@value"/>
+ /data[@column='0' and @line='0']/@value" />
</xsl:otherwise>
- </xsl:choose>
+ </xsl:choose>
</xsl:variable>
- <Object display_parameter="" as="displayProperties"/>
- <Object p000_value="{$value1}" as="parameter_values"/>
+ <Object display_parameter="" as="displayProperties" />
+ <Object p000_value="{$value1}" as="parameter_values" />
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/STEP.xsl b/blocks/xcos2xml/blocks/STEP.xsl
index b6eb59fe..3e94cab1 100644
--- a/blocks/xcos2xml/blocks/STEP.xsl
+++ b/blocks/xcos2xml/blocks/STEP.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/STEP_FUNCTION.xsl b/blocks/xcos2xml/blocks/STEP_FUNCTION.xsl
index 726475d5..19d5f4e7 100644
--- a/blocks/xcos2xml/blocks/STEP_FUNCTION.xsl
+++ b/blocks/xcos2xml/blocks/STEP_FUNCTION.xsl
@@ -41,15 +41,15 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
-
+ <xsl:apply-templates select="mxGeometry" />
+
<xsl:variable name="value1">
<xsl:choose>
<xsl:when test="SuperBlockDiagram">
<xsl:value-of select="SuperBlockDiagram/mxGraphModel/root
/BasicBlock[@interfaceFunctionName='STEP']
/ScilabString[@height='3' and @width='1']
- /data[@column='0' and @line='0']/@value"/>
+ /data[@column='0' and @line='0']/@value" />
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="Array[@as='realParameters']
@@ -57,9 +57,9 @@
/Array[@scilabClass='ScilabMList']
/Array[@scilabClass='ScilabMList']
/ScilabString[@height='3' and @width='1']
- /data[@column='0' and @line='0']/@value"/>
+ /data[@column='0' and @line='0']/@value" />
</xsl:otherwise>
- </xsl:choose>
+ </xsl:choose>
</xsl:variable>
<xsl:variable name="value2">
<xsl:choose>
@@ -67,7 +67,7 @@
<xsl:value-of select="SuperBlockDiagram/mxGraphModel/root
/BasicBlock[@interfaceFunctionName='STEP']
/ScilabString[@height='3' and @width='1']
- /data[@column='0' and @line='1']/@value"/>
+ /data[@column='0' and @line='1']/@value" />
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="Array[@as='realParameters']
@@ -75,7 +75,7 @@
/Array[@scilabClass='ScilabMList']
/Array[@scilabClass='ScilabMList']
/ScilabString[@height='3' and @width='1']
- /data[@column='0' and @line='1']/@value"/>
+ /data[@column='0' and @line='1']/@value" />
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
@@ -85,29 +85,29 @@
<xsl:value-of select="SuperBlockDiagram/mxGraphModel/root
/BasicBlock[@interfaceFunctionName='STEP']
/ScilabString[@height='3' and @width='1']
- /data[@column='0' and @line='2']/@value"/>
+ /data[@column='0' and @line='2']/@value" />
</xsl:when>
-
+
<xsl:otherwise>
<xsl:value-of select="Array[@as='realParameters']
/Array[@scilabClass='ScilabList']
/Array[@scilabClass='ScilabMList']
/Array[@scilabClass='ScilabMList']
/ScilabString[@height='3' and @width='1']
- /data[@column='0' and @line='2']/@value"/>
+ /data[@column='0' and @line='2']/@value" />
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
- <Object display_parameter="" as="displayProperties"/>
- <Object p000_value="{$value1}" p001_value="{$value2}" p002_value="{$value3}" as="parameter_values"/>
+ <Object display_parameter="" as="displayProperties" />
+ <Object p000_value="{$value1}" p001_value="{$value2}" p002_value="{$value3}" as="parameter_values" />
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/SUBMAT.xsl b/blocks/xcos2xml/blocks/SUBMAT.xsl
index 24ac78ad..01a7e3bf 100644
--- a/blocks/xcos2xml/blocks/SUBMAT.xsl
+++ b/blocks/xcos2xml/blocks/SUBMAT.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/SUMMATION.xsl b/blocks/xcos2xml/blocks/SUMMATION.xsl
index fe93cbab..38aebd06 100644
--- a/blocks/xcos2xml/blocks/SUMMATION.xsl
+++ b/blocks/xcos2xml/blocks/SUMMATION.xsl
@@ -74,7 +74,7 @@
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
</xsl:attribute>
@@ -82,25 +82,25 @@
</Object>
<Object>
<xsl:attribute name="{concat('p000', '_value')}">
- <xsl:value-of select="$parameters1"/>
+ <xsl:value-of select="$parameters1" />
</xsl:attribute>
<xsl:attribute name="{concat('p001', '_value')}">
- <xsl:value-of select="$parameters2"/>
+ <xsl:value-of select="$parameters2" />
</xsl:attribute>
<xsl:attribute name="{concat('p002', '_value')}">
- <xsl:value-of select="$parameters3"/>
+ <xsl:value-of select="$parameters3" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/SUM_f.xsl b/blocks/xcos2xml/blocks/SUM_f.xsl
index acb26ed2..3fa5891d 100644
--- a/blocks/xcos2xml/blocks/SUM_f.xsl
+++ b/blocks/xcos2xml/blocks/SUM_f.xsl
@@ -41,17 +41,17 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
- <Object display_parameter="" as="displayProperties"/>
- <Object as="parameter_values"/>
+ <xsl:apply-templates select="mxGeometry" />
+ <Object display_parameter="" as="displayProperties" />
+ <Object as="parameter_values" />
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/SUPER_f.xsl b/blocks/xcos2xml/blocks/SUPER_f.xsl
index 07ac8b17..5cf8492b 100644
--- a/blocks/xcos2xml/blocks/SUPER_f.xsl
+++ b/blocks/xcos2xml/blocks/SUPER_f.xsl
@@ -1,10 +1,10 @@
<xsl:template match="SuperBlock">
- <xsl:variable name="explicitInputPorts" select="count(SuperBlockDiagram/mxGraphModel/root/ExplicitOutBlock)"/>
- <xsl:variable name="implicitInputPorts" select="count(SuperBlockDiagram/mxGraphModel/root/ImplicitOutBlock)"/>
- <xsl:variable name="explicitOutputPorts" select="count(SuperBlockDiagram/mxGraphModel/root/ExplicitInBlock)"/>
- <xsl:variable name="implicitOutputPorts" select="count(SuperBlockDiagram/mxGraphModel/root/ImplicitInBlock)"/>
- <xsl:variable name="controlPorts" select="count(SuperBlockDiagram/mxGraphModel/root/EventInBlock)"/>
- <xsl:variable name="commandPorts" select="count(SuperBlockDiagram/mxGraphModel/root/EventOutBlock)"/>
+ <xsl:variable name="explicitInputPorts" select="count(SuperBlockDiagram/mxGraphModel/root/ExplicitOutBlock)" />
+ <xsl:variable name="implicitInputPorts" select="count(SuperBlockDiagram/mxGraphModel/root/ImplicitOutBlock)" />
+ <xsl:variable name="explicitOutputPorts" select="count(SuperBlockDiagram/mxGraphModel/root/ExplicitInBlock)" />
+ <xsl:variable name="implicitOutputPorts" select="count(SuperBlockDiagram/mxGraphModel/root/ImplicitInBlock)" />
+ <xsl:variable name="controlPorts" select="count(SuperBlockDiagram/mxGraphModel/root/EventInBlock)" />
+ <xsl:variable name="commandPorts" select="count(SuperBlockDiagram/mxGraphModel/root/EventOutBlock)" />
<xsl:element name="mxCell">
<xsl:attribute name="style">
<xsl:value-of select="@style" />
@@ -41,18 +41,18 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
- <Object display_parameter="" as="displayProperties"/>
- <Object as="parameter_values"/>
- <xsl:apply-templates select="SuperBlockDiagram/node()"/>
+ <xsl:apply-templates select="mxGeometry" />
+ <Object display_parameter="" as="displayProperties" />
+ <Object as="parameter_values" />
+ <xsl:apply-templates select="SuperBlockDiagram/node()" />
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/SWITCH2_m.xsl b/blocks/xcos2xml/blocks/SWITCH2_m.xsl
index aeb24c9c..1db0de1f 100644
--- a/blocks/xcos2xml/blocks/SWITCH2_m.xsl
+++ b/blocks/xcos2xml/blocks/SWITCH2_m.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/SWITCH_f.xsl b/blocks/xcos2xml/blocks/SWITCH_f.xsl
index 81b100ae..8aaae373 100644
--- a/blocks/xcos2xml/blocks/SWITCH_f.xsl
+++ b/blocks/xcos2xml/blocks/SWITCH_f.xsl
@@ -1,6 +1,6 @@
<xsl:template match="*[@interfaceFunctionName = 'SWITCH_f']">
<xsl:variable name="explicitInputPorts">
- <xsl:value-of select="(*[@as='exprs']/data/@value)"/>
+ <xsl:value-of select="(*[@as='exprs']/data/@value)" />
</xsl:variable>
<xsl:variable name="implicitInputPorts">0</xsl:variable>
<xsl:variable name="explicitOutputPorts">1</xsl:variable>
@@ -43,29 +43,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data[2]/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data[2]/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/SampleCLK.xsl b/blocks/xcos2xml/blocks/SampleCLK.xsl
index a8ec3724..3bd9ff9c 100644
--- a/blocks/xcos2xml/blocks/SampleCLK.xsl
+++ b/blocks/xcos2xml/blocks/SampleCLK.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/Sigbuilder.xsl b/blocks/xcos2xml/blocks/Sigbuilder.xsl
index 01bdd015..167e03b6 100644
--- a/blocks/xcos2xml/blocks/Sigbuilder.xsl
+++ b/blocks/xcos2xml/blocks/Sigbuilder.xsl
@@ -41,7 +41,7 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<xsl:variable name="value1">
<xsl:choose>
@@ -49,12 +49,12 @@
<xsl:value-of select="SuperBlockDiagram/mxGraphModel/root
/BasicBlock[@interfaceFunctionName='CURVE_c']
/ScilabString[@as='exprs']
- /data[@column='0' and @line='0']/@value"/>
+ /data[@column='0' and @line='0']/@value" />
</xsl:when>
<xsl:otherwise>
- <xsl:value-of select="3"/>
+ <xsl:value-of select="3" />
</xsl:otherwise>
- </xsl:choose>
+ </xsl:choose>
</xsl:variable>
<xsl:variable name="value2">
@@ -63,12 +63,12 @@
<xsl:value-of select="SuperBlockDiagram/mxGraphModel/root
/BasicBlock[@interfaceFunctionName='CURVE_c']
/ScilabString[@as='exprs']
- /data[@column='0' and @line='1']/@value"/>
+ /data[@column='0' and @line='1']/@value" />
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="'[0,1,2]'" />
</xsl:otherwise>
- </xsl:choose>
+ </xsl:choose>
</xsl:variable>
<xsl:variable name="value3">
@@ -77,12 +77,12 @@
<xsl:value-of select="SuperBlockDiagram/mxGraphModel/root
/BasicBlock[@interfaceFunctionName='CURVE_c']
/ScilabString[@as='exprs']
- /data[@column='0' and @line='2']/@value"/>
+ /data[@column='0' and @line='2']/@value" />
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="'[10,20,-30]'" />
</xsl:otherwise>
- </xsl:choose>
+ </xsl:choose>
</xsl:variable>
<xsl:variable name="value4">
@@ -91,12 +91,12 @@
<xsl:value-of select="SuperBlockDiagram/mxGraphModel/root
/BasicBlock[@interfaceFunctionName='CURVE_c']
/ScilabString[@as='exprs']
- /data[@column='0' and @line='3']/@value"/>
+ /data[@column='0' and @line='3']/@value" />
</xsl:when>
<xsl:otherwise>
- <xsl:value-of select="'y'"/>
+ <xsl:value-of select="'y'" />
</xsl:otherwise>
- </xsl:choose>
+ </xsl:choose>
</xsl:variable>
<xsl:variable name="value5">
@@ -105,24 +105,24 @@
<xsl:value-of select="SuperBlockDiagram/mxGraphModel/root
/BasicBlock[@interfaceFunctionName='CURVE_c']
/ScilabString[@as='exprs']
- /data[@column='0' and @line='4']/@value"/>
+ /data[@column='0' and @line='4']/@value" />
</xsl:when>
<xsl:otherwise>
- <xsl:value-of select="'n'"/>
+ <xsl:value-of select="'n'" />
</xsl:otherwise>
- </xsl:choose>
+ </xsl:choose>
</xsl:variable>
- <Object display_parameter="" as="displayProperties"/>
- <Object p000_value="{$value1}" p001_value="{$value2}" p002_value="{$value3}" p003_value="{$value4}" p004_value="{$value5}" as="parameter_values"/>
+ <Object display_parameter="" as="displayProperties" />
+ <Object p000_value="{$value1}" p001_value="{$value2}" p002_value="{$value3}" p003_value="{$value4}" p004_value="{$value5}" as="parameter_values" />
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/SineVoltage.xsl b/blocks/xcos2xml/blocks/SineVoltage.xsl
index bc9192b4..ac360230 100644
--- a/blocks/xcos2xml/blocks/SineVoltage.xsl
+++ b/blocks/xcos2xml/blocks/SineVoltage.xsl
@@ -41,7 +41,7 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:variable name="exprsData" select="*[@as='exprs']/data[1]/@value" />
<xsl:variable name="dataValue" select="*[@as='exprs']/data[1]/@value" />
@@ -53,19 +53,19 @@
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/SourceP.xsl b/blocks/xcos2xml/blocks/SourceP.xsl
index 2eaa694a..08f259e1 100644
--- a/blocks/xcos2xml/blocks/SourceP.xsl
+++ b/blocks/xcos2xml/blocks/SourceP.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/Switch.xsl b/blocks/xcos2xml/blocks/Switch.xsl
index 51275f37..68a07baf 100644
--- a/blocks/xcos2xml/blocks/Switch.xsl
+++ b/blocks/xcos2xml/blocks/Switch.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/TANBLK_f.xsl b/blocks/xcos2xml/blocks/TANBLK_f.xsl
index 70c9ca84..05776142 100644
--- a/blocks/xcos2xml/blocks/TANBLK_f.xsl
+++ b/blocks/xcos2xml/blocks/TANBLK_f.xsl
@@ -41,27 +41,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/TCLSS.xsl b/blocks/xcos2xml/blocks/TCLSS.xsl
index f0524552..ea033850 100644
--- a/blocks/xcos2xml/blocks/TCLSS.xsl
+++ b/blocks/xcos2xml/blocks/TCLSS.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/TEXT_f.xsl b/blocks/xcos2xml/blocks/TEXT_f.xsl
index 83e38eca..72e5ca91 100644
--- a/blocks/xcos2xml/blocks/TEXT_f.xsl
+++ b/blocks/xcos2xml/blocks/TEXT_f.xsl
@@ -39,27 +39,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/TIME_DELAY.xsl b/blocks/xcos2xml/blocks/TIME_DELAY.xsl
index 601a5226..9a466e0f 100644
--- a/blocks/xcos2xml/blocks/TIME_DELAY.xsl
+++ b/blocks/xcos2xml/blocks/TIME_DELAY.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/TIME_f.xsl b/blocks/xcos2xml/blocks/TIME_f.xsl
index a202cd65..8d9ab807 100644
--- a/blocks/xcos2xml/blocks/TIME_f.xsl
+++ b/blocks/xcos2xml/blocks/TIME_f.xsl
@@ -41,17 +41,17 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
- <Object display_parameter="" as="displayProperties"/>
- <Object as="parameter_values"/>
+ <xsl:apply-templates select="mxGeometry" />
+ <Object display_parameter="" as="displayProperties" />
+ <Object as="parameter_values" />
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/TKSCALE.xsl b/blocks/xcos2xml/blocks/TKSCALE.xsl
index aed85b25..c88d501a 100644
--- a/blocks/xcos2xml/blocks/TKSCALE.xsl
+++ b/blocks/xcos2xml/blocks/TKSCALE.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/TOWS_c.xsl b/blocks/xcos2xml/blocks/TOWS_c.xsl
index 56bb6c07..503c1048 100644
--- a/blocks/xcos2xml/blocks/TOWS_c.xsl
+++ b/blocks/xcos2xml/blocks/TOWS_c.xsl
@@ -48,7 +48,7 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:variable name="exprsData" select="*[@as='exprs']/data[2]/@value" />
<xsl:variable name="dataValue" select="*[@as='exprs']/data[1]/@value" />
@@ -60,19 +60,19 @@
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/TRASH_f.xsl b/blocks/xcos2xml/blocks/TRASH_f.xsl
index 372fe072..bfdbe4a1 100644
--- a/blocks/xcos2xml/blocks/TRASH_f.xsl
+++ b/blocks/xcos2xml/blocks/TRASH_f.xsl
@@ -41,27 +41,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/TrigFun.xsl b/blocks/xcos2xml/blocks/TrigFun.xsl
index 64046d93..6bfeaf6b 100644
--- a/blocks/xcos2xml/blocks/TrigFun.xsl
+++ b/blocks/xcos2xml/blocks/TrigFun.xsl
@@ -41,27 +41,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data[1]/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data[1]/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/VARIABLE_DELAY.xsl b/blocks/xcos2xml/blocks/VARIABLE_DELAY.xsl
index 02cd385a..fff2c654 100644
--- a/blocks/xcos2xml/blocks/VARIABLE_DELAY.xsl
+++ b/blocks/xcos2xml/blocks/VARIABLE_DELAY.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/VVsourceAC.xsl b/blocks/xcos2xml/blocks/VVsourceAC.xsl
index 9b742e37..02e6a9a5 100644
--- a/blocks/xcos2xml/blocks/VVsourceAC.xsl
+++ b/blocks/xcos2xml/blocks/VVsourceAC.xsl
@@ -41,27 +41,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data[1]/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data[1]/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/VanneReglante.xsl b/blocks/xcos2xml/blocks/VanneReglante.xsl
index c7161da0..ddfadbd1 100644
--- a/blocks/xcos2xml/blocks/VanneReglante.xsl
+++ b/blocks/xcos2xml/blocks/VanneReglante.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/VariableResistor.xsl b/blocks/xcos2xml/blocks/VariableResistor.xsl
index db0af9f3..3f739b4b 100644
--- a/blocks/xcos2xml/blocks/VariableResistor.xsl
+++ b/blocks/xcos2xml/blocks/VariableResistor.xsl
@@ -41,17 +41,17 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
- <Object display_parameter="" as="displayProperties"/>
- <Object as="parameter_values"/>
+ <xsl:apply-templates select="mxGeometry" />
+ <Object display_parameter="" as="displayProperties" />
+ <Object as="parameter_values" />
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/VirtualCLK0.xsl b/blocks/xcos2xml/blocks/VirtualCLK0.xsl
index d44bc9f9..f8d7de41 100644
--- a/blocks/xcos2xml/blocks/VirtualCLK0.xsl
+++ b/blocks/xcos2xml/blocks/VirtualCLK0.xsl
@@ -41,17 +41,17 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
- <Object display_parameter="" as="displayProperties"/>
- <Object as="parameter_values"/>
+ <xsl:apply-templates select="mxGeometry" />
+ <Object display_parameter="" as="displayProperties" />
+ <Object as="parameter_values" />
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/VoltageSensor.xsl b/blocks/xcos2xml/blocks/VoltageSensor.xsl
index f8c6402b..a059f969 100644
--- a/blocks/xcos2xml/blocks/VoltageSensor.xsl
+++ b/blocks/xcos2xml/blocks/VoltageSensor.xsl
@@ -41,17 +41,17 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
- <Object display_parameter="" as="displayProperties"/>
- <Object as="parameter_values"/>
+ <xsl:apply-templates select="mxGeometry" />
+ <Object display_parameter="" as="displayProperties" />
+ <Object as="parameter_values" />
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/VsourceAC.xsl b/blocks/xcos2xml/blocks/VsourceAC.xsl
index 1820d336..a5e172c3 100644
--- a/blocks/xcos2xml/blocks/VsourceAC.xsl
+++ b/blocks/xcos2xml/blocks/VsourceAC.xsl
@@ -41,7 +41,7 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:variable name="exprsData" select="*[@as='exprs']/data[1]/@value" />
<xsl:variable name="dataValue" select="*[@as='exprs']/data[2]/@value" />
@@ -53,19 +53,19 @@
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/WRITEAU_f.xsl b/blocks/xcos2xml/blocks/WRITEAU_f.xsl
index 9eab32f7..6b1b2c44 100644
--- a/blocks/xcos2xml/blocks/WRITEAU_f.xsl
+++ b/blocks/xcos2xml/blocks/WRITEAU_f.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/WRITEC_f.xsl b/blocks/xcos2xml/blocks/WRITEC_f.xsl
index a404780d..ce1e18a4 100644
--- a/blocks/xcos2xml/blocks/WRITEC_f.xsl
+++ b/blocks/xcos2xml/blocks/WRITEC_f.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/ZCROSS_f.xsl b/blocks/xcos2xml/blocks/ZCROSS_f.xsl
index 92800620..50eb0a00 100644
--- a/blocks/xcos2xml/blocks/ZCROSS_f.xsl
+++ b/blocks/xcos2xml/blocks/ZCROSS_f.xsl
@@ -41,27 +41,27 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:attribute name="p000_value">
- <xsl:value-of select="*[@as='exprs']/data/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data/@value" />
</xsl:attribute>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/c_block.xsl b/blocks/xcos2xml/blocks/c_block.xsl
index 1c9d4019..5a980af5 100644
--- a/blocks/xcos2xml/blocks/c_block.xsl
+++ b/blocks/xcos2xml/blocks/c_block.xsl
@@ -41,22 +41,22 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data[4]/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data[4]/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
- <Object as="parameter_values"/>
+ <Object as="parameter_values" />
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/fortran_block.xsl b/blocks/xcos2xml/blocks/fortran_block.xsl
index 4734e9d6..f764bd0a 100644
--- a/blocks/xcos2xml/blocks/fortran_block.xsl
+++ b/blocks/xcos2xml/blocks/fortran_block.xsl
@@ -41,10 +41,10 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data[4]/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data[4]/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
@@ -53,12 +53,12 @@
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/freq_div.xsl b/blocks/xcos2xml/blocks/freq_div.xsl
index 50b692ff..f3d288c5 100644
--- a/blocks/xcos2xml/blocks/freq_div.xsl
+++ b/blocks/xcos2xml/blocks/freq_div.xsl
@@ -41,17 +41,17 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
- <Object display_parameter="" as="displayProperties"/>
- <Object as="parameter_values"/>
+ <xsl:apply-templates select="mxGeometry" />
+ <Object display_parameter="" as="displayProperties" />
+ <Object as="parameter_values" />
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/generic_block3.xsl b/blocks/xcos2xml/blocks/generic_block3.xsl
index ba6d6fc7..bcd60f45 100644
--- a/blocks/xcos2xml/blocks/generic_block3.xsl
+++ b/blocks/xcos2xml/blocks/generic_block3.xsl
@@ -55,29 +55,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="*[@as='exprs']/data[1]/@value"/>
+ <xsl:value-of select="*[@as='exprs']/data[1]/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="*[@as='exprs']/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/blocks/scifunc_block_m.xsl b/blocks/xcos2xml/blocks/scifunc_block_m.xsl
index 96392861..fe6f0cb3 100644
--- a/blocks/xcos2xml/blocks/scifunc_block_m.xsl
+++ b/blocks/xcos2xml/blocks/scifunc_block_m.xsl
@@ -41,29 +41,29 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <xsl:apply-templates select="mxGeometry"/>
+ <xsl:apply-templates select="mxGeometry" />
<Object>
<xsl:attribute name="display_parameter">
- <xsl:value-of select="Array[@as='exprs']/ScilabString/data[11]/@value"/>
+ <xsl:value-of select="Array[@as='exprs']/ScilabString/data[11]/@value" />
</xsl:attribute>
<xsl:attribute name="as">displayProperties</xsl:attribute>
</Object>
<Object>
<xsl:for-each select="Array[@as='exprs']/ScilabString/data">
<xsl:attribute name="{concat('p', format-number(position() - 1, '000'), '_value')}">
- <xsl:value-of select="@value"/>
+ <xsl:value-of select="@value" />
</xsl:attribute>
</xsl:for-each>
<xsl:attribute name="as">parameter_values</xsl:attribute>
</Object>
</xsl:element>
<xsl:call-template name="port">
- <xsl:with-param name="id" select="@id"/>
- <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts"/>
- <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts"/>
- <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts"/>
- <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts"/>
- <xsl:with-param name="controlPorts" select="$controlPorts"/>
- <xsl:with-param name="commandPorts" select="$commandPorts"/>
+ <xsl:with-param name="id" select="@id" />
+ <xsl:with-param name="explicitInputPorts" select="$explicitInputPorts" />
+ <xsl:with-param name="explicitOutputPorts" select="$explicitOutputPorts" />
+ <xsl:with-param name="implicitInputPorts" select="$implicitInputPorts" />
+ <xsl:with-param name="implicitOutputPorts" select="$implicitOutputPorts" />
+ <xsl:with-param name="controlPorts" select="$controlPorts" />
+ <xsl:with-param name="commandPorts" select="$commandPorts" />
</xsl:call-template>
</xsl:template>
diff --git a/blocks/xcos2xml/foot.xsl b/blocks/xcos2xml/foot.xsl
index 850207ae..ed6345d2 100644
--- a/blocks/xcos2xml/foot.xsl
+++ b/blocks/xcos2xml/foot.xsl
@@ -1,7 +1,7 @@
<xsl:template match="mxCell[contains(@id, '#identifier')]" />
<xsl:template match="mxCell[@as = 'defaultParent']" />
<xsl:template match="mxPoint[@as = 'origin']" />
- <xsl:template match="Array[@as != 'points']"/>
+ <xsl:template match="Array[@as != 'points']" />
<xsl:template match="ScilabDouble" />
<xsl:template match="ScilabInteger" />
<xsl:template match="SuperBlockDiagram" />
diff --git a/blocks/xcos2xml/head.xsl b/blocks/xcos2xml/head.xsl
index 7b5331ed..0d2f3f9c 100644
--- a/blocks/xcos2xml/head.xsl
+++ b/blocks/xcos2xml/head.xsl
@@ -4,30 +4,30 @@
>
<xsl:template name="log2">
- <xsl:param name="pX"/>
- <xsl:param name="count" select="0"/>
+ <xsl:param name="pX" />
+ <xsl:param name="count" select="0" />
<xsl:choose>
<xsl:when test="$pX &lt;= 1">
- <xsl:value-of select="$count"/>
+ <xsl:value-of select="$count" />
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="log2">
- <xsl:with-param name="pX" select="$pX div 2"/>
- <xsl:with-param name="count" select="$count + 1"/>
+ <xsl:with-param name="pX" select="$pX div 2" />
+ <xsl:with-param name="count" select="$count + 1" />
</xsl:call-template>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="si-format">
- <xsl:param name="num"/>
+ <xsl:param name="num" />
<!-- Compute absolute value manually -->
<xsl:variable name="absNum">
<xsl:choose>
- <xsl:when test="$num &lt; 0"><xsl:value-of select="-$num"/></xsl:when>
- <xsl:otherwise><xsl:value-of select="$num"/></xsl:otherwise>
+ <xsl:when test="$num &lt; 0"><xsl:value-of select="-$num" /></xsl:when>
+ <xsl:otherwise><xsl:value-of select="$num" /></xsl:otherwise>
</xsl:choose>
</xsl:variable>
@@ -37,8 +37,8 @@
<xsl:when test="$absNum = 0">0</xsl:when>
<xsl:otherwise>
<xsl:call-template name="compute-exp">
- <xsl:with-param name="n" select="$absNum"/>
- <xsl:with-param name="exp" select="0"/>
+ <xsl:with-param name="n" select="$absNum" />
+ <xsl:with-param name="exp" select="0" />
</xsl:call-template>
</xsl:otherwise>
</xsl:choose>
@@ -47,56 +47,56 @@
<!-- Define SI prefixes -->
<xsl:choose>
<xsl:when test="$exponent &gt;= -2 and $exponent &lt;= 0">
- <xsl:value-of select="round($num div 1E-3)"/> m
+ <xsl:value-of select="round($num div 1E-3)" /> m
</xsl:when>
<xsl:when test="$exponent &gt;= -5 and $exponent &lt;= -3">
- <xsl:value-of select="round($num div 1E-6)"/> &#956; <!-- Unicode for μ -->
+ <xsl:value-of select="round($num div 1E-6)" /> &#956; <!-- Unicode for μ -->
</xsl:when>
<xsl:when test="$exponent &gt;= -8 and $exponent &lt;= -6">
- <xsl:value-of select="round($num div 1E-9)"/> n
+ <xsl:value-of select="round($num div 1E-9)" /> n
</xsl:when>
<xsl:when test="$exponent &gt;= -11 and $exponent &lt;= -9">
- <xsl:value-of select="round($num div 1E-12)"/> p
+ <xsl:value-of select="round($num div 1E-12)" /> p
</xsl:when>
<xsl:when test="$exponent &gt;= 1 and $exponent &lt;= 3">
- <xsl:value-of select="round($num div 1)"/>
+ <xsl:value-of select="round($num div 1)" />
</xsl:when>
<xsl:when test="$exponent &gt;= 4 and $exponent &lt;= 6">
- <xsl:value-of select="round($num div 1E3)"/> k</xsl:when>
+ <xsl:value-of select="round($num div 1E3)" /> k</xsl:when>
<xsl:when test="$exponent &gt;= 7 and $exponent &lt;= 9">
- <xsl:value-of select="round($num div 1E6)"/> M
+ <xsl:value-of select="round($num div 1E6)" /> M
</xsl:when>
<xsl:when test="$exponent &gt;= 10 and $exponent &lt;= 12">
- <xsl:value-of select="round($num div 1E9)"/> G
+ <xsl:value-of select="round($num div 1E9)" /> G
</xsl:when>
<xsl:when test="$exponent &gt;= 13 and $exponent &lt;= 15">
- <xsl:value-of select="round($num div 1E12)"/> T
+ <xsl:value-of select="round($num div 1E12)" /> T
</xsl:when>
<xsl:otherwise>
- <xsl:value-of select="$num"/> 10^<xsl:value-of select="$exponent"/>
+ <xsl:value-of select="$num" /> 10^<xsl:value-of select="$exponent " />
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<!-- Recursive template to compute the exponent -->
<xsl:template name="compute-exp">
- <xsl:param name="n"/>
- <xsl:param name="exp"/>
+ <xsl:param name="n" />
+ <xsl:param name="exp" />
<xsl:choose>
<xsl:when test="$n &lt; 1">
<xsl:call-template name="compute-exp">
- <xsl:with-param name="n" select="$n * 10"/>
- <xsl:with-param name="exp" select="$exp - 1"/>
+ <xsl:with-param name="n" select="$n * 10" />
+ <xsl:with-param name="exp" select="$exp - 1" />
</xsl:call-template>
</xsl:when>
<xsl:when test="$n &gt;= 10">
<xsl:call-template name="compute-exp">
- <xsl:with-param name="n" select="$n div 10"/>
- <xsl:with-param name="exp" select="$exp + 1"/>
+ <xsl:with-param name="n" select="$n div 10" />
+ <xsl:with-param name="exp" select="$exp + 1" />
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
- <xsl:value-of select="$exp"/>
+ <xsl:value-of select="$exp" />
</xsl:otherwise>
</xsl:choose>
</xsl:template>
@@ -125,17 +125,17 @@
</xsl:variable>
<xsl:template match="@*|node()">
<xsl:copy>
- <xsl:apply-templates select="@*|node()"/>
+ <xsl:apply-templates select="@*|node()" />
</xsl:copy>
</xsl:template>
- <xsl:template match="comment()"/>
+ <xsl:template match="comment()" />
<xsl:template match="XcosDiagram">
- <xsl:apply-templates select="node()"/>
+ <xsl:apply-templates select="node()" />
</xsl:template>
<xsl:template match="mxGraphModel">
<xsl:copy>
- <xsl:apply-templates select="@*[name(.)!='as']"/>
- <xsl:apply-templates select="node()"/>
+ <xsl:apply-templates select="@*[name(.)!='as']" />
+ <xsl:apply-templates select="node()" />
</xsl:copy>
</xsl:template>
<xsl:template match="mxCell[position()=1]">
@@ -150,9 +150,9 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <Object as="parameter_values"/>
- <Object as="displayProperties"/>
- <xsl:apply-templates select="node()"/>
+ <Object as="parameter_values" />
+ <Object as="displayProperties" />
+ <xsl:apply-templates select="node()" />
</xsl:copy>
</xsl:template>
<xsl:template match="mxCell[position()=2]">
@@ -165,9 +165,9 @@
<xsl:attribute name="targetVertex">0</xsl:attribute>
<xsl:attribute name="tarx">0</xsl:attribute>
<xsl:attribute name="tary">0</xsl:attribute>
- <Object as="parameter_values"/>
- <Object as="displayProperties"/>
- <xsl:apply-templates select="node()"/>
+ <Object as="parameter_values" />
+ <Object as="displayProperties" />
+ <xsl:apply-templates select="node()" />
</xsl:copy>
</xsl:template>
<xsl:template name="mxGeometry" match="mxGeometry">
@@ -183,7 +183,7 @@
<xsl:value-of select="format-number(@y+$originy,'0.0')" />
</xsl:attribute>
</xsl:if>
-
+
<xsl:if test="@width">
<xsl:attribute name="width">
<xsl:value-of select="@width" />
diff --git a/blocks/xcos2xml/links/ExplicitLink.xsl b/blocks/xcos2xml/links/ExplicitLink.xsl
index 3f712132..d2be431b 100644
--- a/blocks/xcos2xml/links/ExplicitLink.xsl
+++ b/blocks/xcos2xml/links/ExplicitLink.xsl
@@ -44,7 +44,7 @@
</xsl:attribute>
<xsl:attribute name="CellType">Unknown</xsl:attribute>
<xsl:apply-templates />
- <Object as="parameter_values"/>
- <Object as="displayProperties"/>
+ <Object as="parameter_values" />
+ <Object as="displayProperties" />
</mxCell>
</xsl:template>
diff --git a/blocks/xcos2xml/ports/port.xsl b/blocks/xcos2xml/ports/port.xsl
index 435db041..7d2d8bf7 100644
--- a/blocks/xcos2xml/ports/port.xsl
+++ b/blocks/xcos2xml/ports/port.xsl
@@ -1,11 +1,11 @@
<xsl:template match="ExplicitInputPort | ExplicitOutputPort | ImplicitInputPort | ImplicitOutputPort | ControlPort | CommandPort">
<xsl:copy>
- <xsl:copy-of select="@*"/>
+ <xsl:copy-of select="@*" />
</xsl:copy>
</xsl:template>
-
+
<xsl:template name="port">
<xsl:param name="id" />
<xsl:param name="explicitInputPorts" />
@@ -37,16 +37,16 @@
<mxGeometry>
<xsl:variable name="numerator" select="2 * @ordering - 1" />
<xsl:attribute name="y">
- <xsl:value-of select="$numerator div (2 * number($explicitInputPorts + $implicitInputPorts))"/>
+ <xsl:value-of select="$numerator div (2 * number($explicitInputPorts + $implicitInputPorts))" />
</xsl:attribute>
<xsl:attribute name="width">8</xsl:attribute>
<xsl:attribute name="height">8</xsl:attribute>
<xsl:attribute name="relative">1</xsl:attribute>
<xsl:attribute name="as">geometry</xsl:attribute>
- <mxPoint x="-8" y="-4" as="offset"/>
+ <mxPoint x="-8" y="-4" as="offset" />
</mxGeometry>
- <Object as="parameter_values"/>
- <Object as="displayProperties"/>
+ <Object as="parameter_values" />
+ <Object as="displayProperties" />
</xsl:element>
</xsl:for-each>
<xsl:for-each select="key('k-out', $id)">
@@ -73,16 +73,16 @@
<xsl:variable name="numerator" select="2 * @ordering - 1" />
<xsl:attribute name="x">1</xsl:attribute>
<xsl:attribute name="y">
- <xsl:value-of select="$numerator div (2 * number($explicitOutputPorts + $implicitOutputPorts))"/>
+ <xsl:value-of select="$numerator div (2 * number($explicitOutputPorts + $implicitOutputPorts))" />
</xsl:attribute>
<xsl:attribute name="width">8</xsl:attribute>
<xsl:attribute name="height">8</xsl:attribute>
<xsl:attribute name="relative">1</xsl:attribute>
<xsl:attribute name="as">geometry</xsl:attribute>
- <mxPoint y="-4" as="offset"/>
+ <mxPoint y="-4" as="offset" />
</mxGeometry>
- <Object as="parameter_values"/>
- <Object as="displayProperties"/>
+ <Object as="parameter_values" />
+ <Object as="displayProperties" />
</xsl:element>
</xsl:for-each>
<xsl:for-each select="key('k-command', $id)">
@@ -108,17 +108,17 @@
<mxGeometry>
<xsl:variable name="numerator" select="2 * @ordering - 1" />
<xsl:attribute name="x">
- <xsl:value-of select="$numerator div (2 * number($commandPorts))"/>
+ <xsl:value-of select="$numerator div (2 * number($commandPorts))" />
</xsl:attribute>
<xsl:attribute name="y">1</xsl:attribute>
<xsl:attribute name="width">8</xsl:attribute>
<xsl:attribute name="height">8</xsl:attribute>
<xsl:attribute name="relative">1</xsl:attribute>
<xsl:attribute name="as">geometry</xsl:attribute>
- <mxPoint x="-4" as="offset"/>
+ <mxPoint x="-4" as="offset" />
</mxGeometry>
- <Object as="parameter_values"/>
- <Object as="displayProperties"/>
+ <Object as="parameter_values" />
+ <Object as="displayProperties" />
</xsl:element>
</xsl:for-each>
<xsl:for-each select="key('k-control', $id)">
@@ -144,16 +144,16 @@
<mxGeometry>
<xsl:variable name="numerator" select="2 * @ordering - 1" />
<xsl:attribute name="x">
- <xsl:value-of select="$numerator div (2 * number($controlPorts))"/>
+ <xsl:value-of select="$numerator div (2 * number($controlPorts))" />
</xsl:attribute>
<xsl:attribute name="width">8</xsl:attribute>
<xsl:attribute name="height">8</xsl:attribute>
<xsl:attribute name="relative">1</xsl:attribute>
<xsl:attribute name="as">geometry</xsl:attribute>
- <mxPoint x="-4" y="-8" as="offset"/>
+ <mxPoint x="-4" y="-8" as="offset" />
</mxGeometry>
- <Object as="parameter_values"/>
- <Object as="displayProperties"/>
+ <Object as="parameter_values" />
+ <Object as="displayProperties" />
</xsl:element>
</xsl:for-each>
</xsl:template>