plcopen/pou_block_instances.ysl2
changeset 1339 6adf05c4508d
parent 1338 c1e6c712cc35
child 1344 2eaa84c37f10
equal deleted inserted replaced
1338:c1e6c712cc35 1339:6adf05c4508d
   337                 when "ppx:reference" > «ppx:reference/@name»
   337                 when "ppx:reference" > «ppx:reference/@name»
   338                 when "ppx:inline" > «ppx:inline/ppx:ST/xhtml:p/text()»
   338                 when "ppx:inline" > «ppx:inline/ppx:ST/xhtml:p/text()»
   339                 otherwise > 
   339                 otherwise > 
   340             }
   340             }
   341         }
   341         }
       
   342         variable "qualifier" {
       
   343             choose {
       
   344                 when "@qualifier" > «@qualifier»
       
   345                 otherwise > N
       
   346             }
       
   347         }
   342         variable "actionBlock_action" {
   348         variable "actionBlock_action" {
   343             > «ns:AddAction(@qualifier, $type, $value, @duration, @indicator)»
   349             > «ns:AddAction($qualifier, $type, $value, @duration, @indicator)»
   344         }
   350         }
   345     }
   351     }
   346     
   352     
   347     template "ppx:actionBlock" {
   353     template "ppx:actionBlock" {
   348         variable "type" > «local-name()»
   354         variable "type" > «local-name()»