Re: [Xmltask-users] XML entities in attributes
Brought to you by:
bagnew
From: Brian A. <br...@oo...> - 2005-09-13 14:27:14
|
If I do the following: <attr path="/a" attr="x" value=">"/> my resultant attribute looks like: <a x=">"> which looks ok to me ? (JDK 1.5, Ant 1.6.x). Have you tried &gt; , btw ? Brian Christoph Jaehnigen wrote: > Hi, > > i want to write an ant property including XML entities (< >) > into an attribute of a new or existing node. But with the <attr> task > the entities get replaced to < or > and i get invalid XML. Is there a > way to supress the replacement or to 'escape' the entities somehow? > > Thanks, Christoph Jaehnigen > > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle > Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing > & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Xmltask-users mailing list > Xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmltask-users > -- Brian Agnew http://www.oopsconsultancy.com OOPS Consultancy Ltd brian @ oopsconsultancy.com Tel: +44 (0)7720 397526 Fax: +44 (0)20 8682 0012 |