ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roman Rytov" <rry...@entopia.com>
Subject RE: Several questions
Date Mon, 04 Aug 2003 09:02:39 GMT
> 1. HTML-Decoding: 
> copy the original file to temp and replace the decoded 
> characters by their 'real' value.
> See: <copy>, <regexp>, <filterchain>

Ok, it's not a problem.

> 
> 2. XPath parsing: better reading properties from xml Use the 
> <xmlproperty/> for that.
I'll try it. Does it allow to specify a pattern? 
 
> 3. File saving
> You can create a file with <echo file="" append="true"/> or 
> on use with a common prefix <echoproperties/> or for java 
> property files <propertyfile>.

How to exclude from printing "build successful" at the end?

Roman

> 
> 
> 
> Jan
> 
> 
> > -----Original Message-----
> > From: Roman Rytov [mailto:rrytov@entopia.com]
> > Sent: Sunday, August 03, 2003 1:48 PM
> > To: Ant Users List
> > Subject: Several questions
> > 
> > 
> > I have an XML that is HTML-encoded (&lt; instead of < and 
> so on). This 
> > XML is stored in a property.
> > I need: 
> > 
> > 1. To decode it;
> > 2. Parse and get certain values and attributes; 3. Replace in a 
> > template file some strings by the parsed data; 4. Save the replaced 
> > template.
> > 
> > In these targets I'm lack of the following tasks
> > 
> > 1. HTML-Decoding
> > 2. XPath parsing
> > 3. File saving
> > 
> > 
> > 
> > Is there a standard way to achieve it or I have to write my 
> own task 
> > to do it?
> > 
> > 
> > _________
> > RomanR
> > 
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For 
> additional 
> > commands, e-mail: user-help@ant.apache.org
> > 
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message