XSL has xsl:if and xsl:choose tags that can be used for conditional logic.

cheers,
barneyb

On 6/6/07, Dave Francis <[EMAIL PROTECTED]> wrote:
>         I use xmlTransform to turn a taxonomy into a "tree" of html
> checkboxes. For later editing, I need to set those checkboxes which were
> previously checked.
>
>       I can achieve this with some pretty ugly cf-generated javascript, but
> would prefer to do it in the xsl. Unfortunately, when I put a <cfif.> in the
> xsl, I get this error message:
>
>       Element type "cfif" must be followed by either attribute
> specifications, ">" or "/>"
>
>        .which I can more-or-less understand why. But I'd like to know if
> there's any way around it. Or any way to achieve what I need without the
> javascript.
>
>         As always, TIA
>         Dave
>
>
>
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:280260
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
  • cfif in xsl Dave Francis
    • Re: cfif in xsl Barney Boisvert

Reply via email to