On Fri, 17 Sep 2004 17:32:51 -0700, dan tran <[EMAIL PROTECTED]> wrote: > I am getting closer with this code: > > <j:file name="junk.xml" prettyPrint="true" xmlns="dummy"> > <u:file var="xmlFile" name="classic.configuration.xml" /> > <x:parse var="doc" xml="${xmlFile}"/> > <x:set var="versions" > select="$doc/configuration/configuration-id/@version" /> > <j:set var="version" value="${versions[0]}" /> > <j:set var="newVersionStr" value="${version.getValue() + 1}" /> > ${version.setValue('${newVersionStr}')}
The above line is wrong. it should be: ${version.setValue(newVersionStr)} quoted stuff is a literal string. -- http://www.multitask.com.au/people/dion/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]