ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <hol...@yahoo.com>
Subject Re: Quotes in tokens/values
Date Sat, 08 Sep 2001 16:29:07 GMT
--- Christian Cryder <christianc@enhydra.org> wrote:
> Let's say I'm trying to use a simple replacefilter...how do I specify a
> token or value that has a quote in it? For instance, if I wanted to find
> a token of 'She said "Hi There"', do I need to represent the " as &quot;
> or something else?

Just use single-quotes around the token string (and the value string, if
you want to include double-quotes in that as well). Eg:
      <replacefilter
        token='"aples"'
        value='"apples"'/>

Diane

=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com

Mime
View raw message