[Petal] Replace contents of tag only if value is set

Holland, Mark Mark.Holland@commerzbankib.com
Sun, 27 Oct 2002 21:30:11 +0100


Hi,

I have a tag, the	contents of which I only want to replace if a value
is set.

e.g.
<tag petal:content="custom_message">Original Message</tag>

will output <tag>Original Message</tag> unless custom_message is true.

Is there someway of doing this with a custom modifier? 
Can the original contents of the tag be passed to the process routine of a
modifier?

Cheers,
Mark