xmlizer wrote:
Hello

As I am writing XSLT documents, i was in a some case in this situation :

In one case, i want to surround an element with another one, in another case i don't

example :

if (@LINKED=='true') {
    <a href="....">
        content
    </a>
} else {
    content
}

What about

<xsl:template match="[EMAIL PROTECTED]'true']">
  <a href="...">
    content
  </a>
</xsl:template>

<xsl:template match="whatever">
  content
</xsl:template>

cheers
--
Torsten

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to