ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject stripping cr/lf off the properties from a xmlproperty command
Date Fri, 24 Sep 2004 14:53:49 GMT
I have an XML configuration file written by users it looks something like

some users enter it like this:

the white space gets cleared off the command but the line terminators are
still there.
the value I get is
Does anyone know of a way to strip the line terminators and just get the
value "test"?

I searched the archives but could not find anything on this.
P.S. I'm not afraid to write a custom task if needed.

Mark Russell

The contents of this email are the property of PNC. If it was not addressed
to you, you have no legal right to read it. If you think you received it in
error, please notify the sender. Do not forward or copy without permission
of the sender.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message