Alternatively you could change the template. The header of the xml file is found in the top of the hibernate.vm file.
.eivind On Sun, 22 Aug 2004, Russell Simpkins wrote: > Use ant. Ant has two tasks that should fit the bill. Translate is an > optional task that will change encodings. Replace is a core task that > will allow you to do search and replace. > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Ivan > Hern�ndez Serrano > Sent: Friday, August 20, 2004 6:54 PM > To: [EMAIL PROTECTED] > Subject: [Middlegen-user] xml encoding > > Hi, I am using middlegen to generate hibernate hbm.xml files from my > postgresql database, everything goes smooth ... the question is, what do > I have to do in order to get my xml files with the encoding set to > iso-8859-1? I mean I want all my xml files begin with something like > this > > <?xml version="1.0" encoding="iso-8859-1"?> > > thanks in advance > ivan > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > middlegen-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/middlegen-user > > ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ middlegen-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/middlegen-user
