7 character(len=1000) :: xml, temp_line
13 open (unit = 2, file =
"description.xml")
15 read(2,
"(A)",iostat=k) temp_line
17 xml=trim(xml)//trim(temp_line)//new_line(
"A")
24 write(*,*)
"Data fields", parsed_configuration%number_of_data_field,
"Handling rules", parsed_configuration%number_of_rules
25 do k=1,parsed_configuration%number_of_data_field
26 write(*,*)
"Field",k,parsed_configuration%fields(k)%name
28 do k=1, parsed_configuration%number_of_rules
29 write(*,*)
"Rule ",k,parsed_configuration%rules(k)%name,
"triggers",parsed_configuration%rules(k)%number_of_triggers, &
30 "actions", parsed_configuration%rules(k)%number_of_actions