PDA

View Full Version : ASCII File Update Wizard bean



Ken Alverson
05-30-2003, 07:39 AM
So far, I have not been able to get this bean to work. The file I am trying to update is in unix format, i.e. - there are no 0x0d carriage returns. The rest of the file is in ascii format (not unicode format), so it should look like one big line without a carrage return to the bean. The file is conf\server.xml and I am trying to change the "THE_PORT" text to a real port number. It is not working though. So my question is, will the bean not work if there is not at least one carrage return in the file?

Jeff Dillon
05-31-2003, 04:22 PM
If you are modifying an XML file, you may want to take a look at the XML File Update bean which applies an XSL transform to an XML file at runtime.

http://www.installshield.com/downloads/beans.asp?prod=mpf