# HG changeset patch # User Edouard Tisserant # Date 1518989375 -3600 # Node ID 95fa4e05e30f2ca92d8d88a86ee3b6a17665b43d # Parent 90bf6bd94b94a7c7a0978b7f9ba1b9f9508b0eeb Avoid endline escaping in multiline xpath epressions in xslt. ' ' Is apparently ignored but never know... diff -r 90bf6bd94b94 -r 95fa4e05e30f plcopen/instances_path.xslt --- a/plcopen/instances_path.xslt Sun Feb 18 21:51:33 2018 +0100 +++ b/plcopen/instances_path.xslt Sun Feb 18 22:29:35 2018 +0100 @@ -45,7 +45,7 @@ - + @@ -92,7 +92,7 @@ - + diff -r 90bf6bd94b94 -r 95fa4e05e30f plcopen/instances_path.ysl2 --- a/plcopen/instances_path.ysl2 Sun Feb 18 21:51:33 2018 +0100 +++ b/plcopen/instances_path.ysl2 Sun Feb 18 22:29:35 2018 +0100 @@ -45,7 +45,7 @@ } otherwise { variable "type_name" > «@typeName» - apply """$all/ppx:types/ppx:pous/ppx:pou[@name=$type_name] | + apply """$all/ppx:types/ppx:pous/ppx:pou[@name=$type_name] | \ $all/ppx:types/ppx:dataTypes/ppx:dataType[@name=$type_name]""" { with "instance_path" > «$pou_instance_path» } @@ -83,7 +83,7 @@ } otherwise { variable "type_name" > «@name» - apply """$all/ppx:types/ppx:pous/ppx:pou[@name=$type_name] | + apply """$all/ppx:types/ppx:pous/ppx:pou[@name=$type_name] | \ $all/ppx:types/ppx:dataTypes/ppx:dataType[@name=$type_name]""" { with "instance_path" > «$variable_path» } diff -r 90bf6bd94b94 -r 95fa4e05e30f plcopen/pou_variables.xslt --- a/plcopen/pou_variables.xslt Sun Feb 18 21:51:33 2018 +0100 +++ b/plcopen/pou_variables.xslt Sun Feb 18 22:29:35 2018 +0100 @@ -264,7 +264,7 @@ - + diff -r 90bf6bd94b94 -r 95fa4e05e30f plcopen/pou_variables.ysl2 --- a/plcopen/pou_variables.ysl2 Sun Feb 18 21:51:33 2018 +0100 +++ b/plcopen/pou_variables.ysl2 Sun Feb 18 22:29:35 2018 +0100 @@ -237,9 +237,9 @@ template "*[self::ppx:type or self::ppx:baseType]/ppx:derived", mode="var_debug" { variable "type_name", "@name"; - variable "datatype_infos", """ - $project/ppx:types/ppx:pous/ppx:pou[@name=$type_name] | - $all/ppx:types/ppx:dataTypes/ppx:dataType[@name=$type_name] + variable "datatype_infos", """ \ + $project/ppx:types/ppx:pous/ppx:pou[@name=$type_name] | \ + $all/ppx:types/ppx:dataTypes/ppx:dataType[@name=$type_name] \ """; choose { when "$datatype_infos" {