A fair approach as long as the XML document hasn't already been processed and re-written by some nasty container such as WebSphere or Weblogic (coz they always strip out comments).
I like the idea of the external XmlTask task mentioned by Jan. Phil :n) On Thu, 2005-06-09 at 15:13 +0100, Steve Loughran wrote: > Phil Weighill-Smith wrote: > > As to your varying new content, simply handle this with parameters to > > your XSLT or something like that (perhaps even having different > > conditional targets that handle different EJB configuration setups in > > addition to parameterized XSLTs). > > > > Don't panic, take a deep breath and think about just what you're trying > > to do. Look at the Ant manual's list of core and optional tasks and work > > out how you can use them address your problem using them. > > > > Phil > > > > I've been abusing XML docs recently with replaceregexp; patching > comments in and out to produce 'normative' docs from 'usable docs with > local schemalocations'. Surprisingly simple. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]