|
|
Moving elements on the template tree
|
|
|
Code
|
<section >
<initial >
<foo colour="orange" subcolour="white" />
<foo colour="purple" subcolour="green" >
<bar designation="unit01" />
</foo>
<foo colour="red" >
<bar class="production" />
</foo>
<foo colour="black" __context="brief" />
Text content
<anotherelement />
</initial>
</section>
<_move source="$section\initial\foo" target="$section\move" />
# $section.__content #
|
Output
|
<section >
<initial >
<foo colour="orange" subcolour="white" />
<foo colour="purple" subcolour="green" >
<bar designation="unit01" />
</foo>
<foo colour="red" >
<bar class="production" />
</foo>
<foo colour="black" />
Text content
<anotherelement />
</initial>
</section>
<initial >
Text content
<anotherelement />
</initial>
<move ><foo colour="orange" subcolour="white" /><foo colour="purple" subcolour="green" >
<bar designation="unit01" />
</foo><foo colour="red" >
<bar class="production" />
</foo><foo colour="black" __context="brief" /></move>
|
Ref
|
x.8501
|
XML Script homepage
| Documentation home
| XML Script docs
| Command list
| Function list
| X-Tract docs
X-Stream, X-Tract and XML Script are trade marks of DecisionSoft Limited © Copyright 1998-2000 DecisionSoft Limited
|