Copy all siblings and childs to the genshi template tree
Created originally on Bitbucket by bjoernricks (Björn Ricks)
Was already merged in Bitbucket before import, marked as merged by the import user
Hi Florent,
in my template I had the problem of having several p and span elements at the same level of the paragraph of the closing link tag. As a result the generated template xml for genshi didn't contain all necessary variables to be replaced. It would be nice if you could review my changes and merges them into the next version of py3o.template.
XML:
#!xml
<text:p text:style-name="P44">
<text:a xlink:type="simple" xlink:href="py3o://for="praktika in rg_praktika"">
<text:span text:style-name="T71">for="praktika in rg_praktika"</text:span>
</text:a>
</text:p>
<text:p text:style-name="P44">
<text:span text:style-name="T57">Praktika der/des Studierenden </text:span>
</text:p>
<text:p text:style-name="P45">
<text:span text:style-name="T57"><text:tab/></text:span>
<text:span text:style-name="T57">
<text:user-field-get text:name="py3o.praktika.rg_praktika_punkte">rg_praktika_punkte</text:user-field-get>
</text:span>
<text:span text:style-name="T57"><text:line-break/></text:span>
<text:a xlink:type="simple" xlink:href="py3o:///for">
<text:span text:style-name="T71">/for</text:span>
</text:a>
</text:p>