I'm trying to replace a crlf in a property using the string::replace function.
The reason for this is because of a different xsltproc program that I'm using (I'm trying to switch from the cygwin version to the windows version and it won't accept linefeeds in the command). Here is my property: <property name="params.pdf" value="--stringparam fop.extensions 1 --param admon.graphics.path "'${admon.graphics.path}'" --param admon.graphics ${admon.graphics} --param paper.type "'USletter'" --param make.year.ranges 1 --param generate.index 1 " /> I'd like to keep the initial property assignment WITH the lines, so it's easier to read, and strip them out before using the command. This didn't work as I had hoped :-( <property name="params.htmlhelp" value="${string::replace(params.htmlhelp, '\n', '')}" /> <echo message="${params.htmlhelp}" /> Is there a way to do this without a custom function? Thanks, John ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users