Translate XML into system properties using Scala

Ginger

New Member
Using Scala, what is the best approach for converting\[code\]<myapp> <username>bill</username> <password>secret123</password> <background>#FFFFFF</background></myapp>\[/code\]into the following system properties:\[code\]myapp.username=billmyapp.password=secret123myapp.background=#FFFFFF\[/code\]assuming the converter appends to sys.props?
 
Back
Top