Writing an optional element

Subject: Writing an optional element
From: "Nestor Boscan" <nestor.boscan@xxxxxxxxxx>
Date: Mon, 5 Jul 2004 15:38:17 -0400
I have an XSL template that has to write an element depending on a
If Condition is true
... continue processing ...
If Condition is false
... continue processing ...
Is there a better way to do it than:
  <xsl:when test="condition">
      ... processing instructions ...
      ... repeat processing instructions ...
Thanks in advance

Current Thread