Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » How to escape "<",">" in jet2?
icon4.gif  How to escape "<",">" in jet2? [message #496445] Tue, 10 November 2009 07:05 Go to next message
Kyle is currently offline Kyle
Messages: 7
Registered: November 2009
Junior Member
Hi guys,
I'm using the below jet2 expressions, but of course I'm failed with the char ">". Any suggestion?

<c:if test="count($root/child)>2">
</c:if>
Re: How to escape "<",">" in jet2? [message #496546 is a reply to message #496445] Tue, 10 November 2009 13:57 Go to previous messageGo to next message
Paul Elder is currently offline Paul Elder
Messages: 849
Registered: July 2009
Senior Member
Kyle:

You need to use a backslash before the >:

<c:if test="count($root/child)\>2">
</c:if>
Re: How to escape "<",">" in jet2? [message #496983 is a reply to message #496546] Thu, 12 November 2009 04:56 Go to previous message
Kyle is currently offline Kyle
Messages: 7
Registered: November 2009
Junior Member
Thanks Paul. It works.
Previous Topic:Should I be using the "middleend"?
Next Topic:XSD & Xpand (for xmt2test)
Goto Forum:
  


Current Time: Sat Oct 25 23:49:26 GMT 2014

Powered by FUDForum. Page generated in 0.04072 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software