[stringtemplate-interest] multivalue checking
John RW
rw1836 at yahoo.com
Thu May 25 13:13:39 PDT 2006
I have a 'namespaces' attribute, which holds a set of namespaces, each having a 'prefix' and a 'uri', now in my template, I want to check if there is a default namespace (with prefix=null), if so I generate a tag with that uri, if there is not, I generate a tag with a default value.
So it boils down to checking if any of the attributes has certain value. I don't know how to do that in stringtemplate. Thanks.
John.
---------------------------------
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail Beta.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org:8080/pipermail/stringtemplate-interest/attachments/20060525/a071d5ab/attachment.html
More information about the stringtemplate-interest
mailing list