Code: Select all
<?xml version="1.0" encoding="utf-8" ?>
<mdscript name="A" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<cues>
<cue name="B">
<SomeOtherStuff></SomeOtherStuff>
<cues>
<SomeOtherStuff></SomeOtherStuff>
<cue name="C">
<do_if value="$XX">Doing stuff</do_if>
<do_if value="$YY">
<do_if value="$YY.macro.name == readtext.{20101}.{40101}">Doing stuff</do_if>
<!-- I want to add my new condition here -->
<do_elseif value="$YY.macro.name == readtext.{20101}.{42601}">Doing stuff</do_elseif>
Code: Select all
<?xml version="1.0" encoding="utf-8" ?>
<diff>
<Add sel="/mdscript[@name='A']/cues/cue[@name='B']/cues/cue[@name='C']/do_if[@value='$YY']/do_elseif[@value='$YY.macro.name == readtext.{20101}.{42601}']" pos="before">
<do_elseif value="$YY.macro.name == readtext.{1}.{1111}">Doing my own stuff</do_elseif>
</add>
</diff>