James; The output of clsRow.master is a Jena Literal, so you will
need to add the ^^<xsd type> in the comparison. For example:
<c:if test="${clsRow.master == 'true^^http://www.w3.org/2001/
XMLSchema#boolean'}">true</c:if>
-- Scott
On Nov 17, 10:26 am, jlapalme <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have a JSP template with the following code.
> <b><sparql:out node="${clsRow.master}" /></b>
> <c:if test="${clsRow.master == 'true'}">true</c:if>
>
> Here the master variable commes from a dataproperty of type bool.
> The sparql:out works but the if doesn't
>
> the output should be true true and I get true.
>
> Cheers,
>
> James
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TopBraid Composer Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/topbraid-composer-users?hl=en
-~----------~----~----~----~------~----~------~--~---