By: Gabriel - acharat
Problem with && logical operator
2002-10-07 07:02
If I try this code:
<printWhenExpression>
new Boolean(true && true)
</printWhenExpression>
I receive an error with this message:
'The entity name must immediately follow the '&' in the entity reference.'
What can I do ?
Thanks,
Acharat
By: Teodor Danciu - teodord
RE: Problem with && logical operator
2002-10-09 01:34
Hi,
Use this special XML syntax that lets you use XML special
character in the body of an XML element:
<printWhenExpression>
<![CDATA[
new Boolean(true && true)
]]>
</printWhenExpression>
But this would be more appropriate:
<printWhenExpression>Boolean.TRUE</printWhenExpression>
Good luck!
Teodor
Problem with && logical operator
2002-10-07 07:02
If I try this code:
<printWhenExpression>
new Boolean(true && true)
</printWhenExpression>
I receive an error with this message:
'The entity name must immediately follow the '&' in the entity reference.'
What can I do ?
Thanks,
Acharat
By: Teodor Danciu - teodord
RE: Problem with && logical operator
2002-10-09 01:34
Hi,
Use this special XML syntax that lets you use XML special
character in the body of an XML element:
<printWhenExpression>
<![CDATA[
new Boolean(true && true)
]]>
</printWhenExpression>
But this would be more appropriate:
<printWhenExpression>Boolean.TRUE</printWhenExpression>
Good luck!
Teodor
0 Answers:
No answers yet