No you cant. That section is processed while xml parsing and therefore before Ant can do anything.
But have you had a look at <import>? Jan > -----Ursprüngliche Nachricht----- > Von: Antti Luoma [mailto:[EMAIL PROTECTED] > Gesendet: Montag, 28. Januar 2008 11:05 > An: Ant Users List > Betreff: Re: can we use an ANT property in the DOCTYPE settings? > > I don't think it's possible. Maybe you should generate > another ant file from > main build and call the subbuild from there. Maybe generating > subbuild.xmllike this: > > <filter token="service" value="${service}"/> > <copy file="subbuild-src.xml "tofile="subbuild.xml" > filtering="true" /> > </filter> > > After copying/filttering you can then call it via > <ant antfile="subproject/subbuild.xml" target="compile"/> > > subbuild-src.xml should contain something like this: > > <!DOCTYPE project [ > <!ENTITY service SYSTEM "modules/@SERVICE@"> > ]> > > Not tested this actually, but I thin :) it should work.. > > > > -- > -Antti- > > > 2008/1/28, Nagender Kumar Mallik <[EMAIL PROTECTED]>: > > > > Hey everyone, > > > > can we use an ANT property in the Doctype settings? > > > > I basically want to do: > > <!DOCTYPE project [ > > <!ENTITY service SYSTEM "modules/${service}"> > > ]> > > > > regards, > > Nagender > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]