Hello,

I'd like to write a macro, which wraps some sections with a complex
element. 

Here is an example:
-------------------

This are my sections, I want to wrap:
        <sect>test</sect>
        <sect>test</sect>
        <sect>test</sect>
        <sect>test</sect>

This is the complex element:
        <randziffer>
                <rz-zaehlung/>
                <sect/>
        </randziffer>

This should be the result:
        <randziffer>
                <rz-zaehlung/>
                <sect>test</sect>
                <sect>test</sect>
                <sect>test</sect>
                <sect>test</sect>
        </randziffer>

Is this possible?

Kind regards, 
Monika

Reply via email to