Scala Lift - LiftRules.loadResourceAsXml extract value

samdy

New Member
I have the following:\[code\]LiftRules.loadResourceAsXml("/config.xml")\[/code\]I'm trying to extract values from the following xml sheet:\[code\]<?xml version="1.0" encoding="ISO-8859-1"?><config> <webroot>/opt/tomcat/webapps/ROOT</webroot> <broadcast> <quality> <primary>15</primary> <secondary>2</secondary> </quality> </broadcast></config>\[/code\]Thanks in advance for any help, much appreciated :)EDIT : Added root tag
 
Back
Top