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="whatever[@LINKED='true']">
<a href="...">
content
</a>
</xsl:template>
<xsl:template match="whatever">
content
</xsl:template>
cheers
--
Torsten
---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org
|