The manual [1] shows example for an xml based propertiesfile. The first sentence "Loads property values from a valid xml file." must be read as it is (otherwise itīs not written in there :-):
"from a valid xml file" There are no other restrictions, no DTD, no schema, ... A <root><properties><foo/></properties></root> is ok, but <project><property name="" value=""/><target/></property> too :-) You can think about the <xmlproperty> task as a way how to access nodes/attributes in a xml file. Jan [1] http://ant.apache.org/manual-1.6beta/CoreTasks/xmlproperty.html > -----Original Message----- > From: gglefoncede gglefoncede [mailto:[EMAIL PROTECTED] > Sent: Monday, November 24, 2003 5:50 PM > To: [EMAIL PROTECTED] > Subject: How to create a xml properties file > > > For the moment, i use a .properties file and i would like to > use an xml file > for my properties. > I saw that i have to call this file from my ant script with > XMLProperty > task... > > But i didn't find a example of a properties.xml file. > Do someone could give an example how to make this file ? > > Thanks > Greg > > _________________________________________________________________ > MSN Messenger http://g.msn.fr/FR1001/866 : dialoguez en direct et > gratuitement avec vos amis ! > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >