[stringtemplate-interest] nulls & templates...

Hill, Robert rhill03 at eds.com
Tue Oct 31 23:42:27 PST 2006


Oh yeh, that's right, gang up on me all at once ;)

Cheers Kunle. :)

Rob

<cough>ST3-C#</cough>

Robert Hill
Information Engineer
EDS	UKIMEA DWP ACU, Hallamshire Business Park, 100 Napier St,
Sheffield. S11 8HD
email:	rhill03 at eds.com
Office:	+44 114 291 1928
Mobile:	+44 7903 185 516

 

>-----Original Message-----
>From: stringtemplate-interest-bounces at antlr.org 
>[mailto:stringtemplate-interest-bounces at antlr.org] On Behalf 
>Of Kunle Odutola
>Sent: 01 November 2006 02:00
>To: 'StringTemplate'
>Subject: Re: [stringtemplate-interest] nulls & templates...
>
>> Instead of this..
>> <if(mem.explicitSql)><mem.explicitSql><else>:<userType.name><endif>
>> 
>> I'd like to do
>> <mem.explicitSql; null=":<userType.name>">
>
><mem.explicitSql; null={:<userType.name>}>
>
>> Is there anyway you can incorporate templates to be expanded in the 
>> null= attribute? Also, in the separator= would be good?
>
>separator={...}
>
>> Since they're strings.... and its.. well, string-template, 
>you'd kind 
>> of assume it would be a good idea to accept templates 
>anywhere string 
>> are accepted right? What with all this recursive-mumbo-jumbo.. :)
>> 
>> How cool would that be?. I'll tell you. Damn cool.
>> 
>> Its late. Im off to bed, cos someone's going to point out the syntax 
>> is wrong, and it already does it.
>
>;-)
>
>Kunle
>
>_______________________________________________
>stringtemplate-interest mailing list
>stringtemplate-interest at antlr.org
>http://www.antlr.org:8080/mailman/listinfo/stringtemplate-interest
>


More information about the stringtemplate-interest mailing list