Closed pr-apes closed 1 year ago
This is what execute=later is for:
<Layout xmlns="urn:speedata.de:2009/publisher/en"
xmlns:sd="urn:speedata:2009/publisher/functions/en">
<SetVariable variable="whatever" execute="later">
<Output>
<Text>
<Paragraph>
<Value>This shouldn't be displayed</Value>
</Paragraph>
</Text>
</Output>
</SetVariable>
<SetVariable variable="only" execute="later">
<Output>
<Text>
<Paragraph>
<Value>Only this should be displayed</Value>
</Paragraph>
</Text>
</Output>
</SetVariable>
<Record element="data">
<Copy-of select="$only"/>
</Record>
</Layout>
Sorry, I totally forgot that.
Completely my fault.
@pgundlach,
would it be possible that the simplest method to invoke a variable could work?
I mean, only get the contents of
<SetVariable>
when<Copy-of>
invokes it name.Many thanks for your help.