<s> import xmldataset <EOL> import pprint <EOL> ppsetup = pprint . PrettyPrinter ( indent = <NUM_LIT:4> ) <EOL> pp = ppsetup . pprint <EOL> xml = """<STR_LIT>""" <EOL> def to_upper ( value ) : <EOL> return value . upper ( ) <EOL> profile = """<STR_LIT>""" <EOL> output = xmldataset . parse_using_profile ( xml , profile , process = { '<STR_LIT>' : to_upper } ) <EOL> pp ( output ) </s>
