File handling of XML and YAML format in System Verilog

In reply to Yogaraj Selvalingam:

SV doesn’t have any special provision for reading xml files, SV supports ASCII file reading/writing. One way I have used in similar problems is to devlop an python/perl script which parses the xml files and dump the data into a file in simpler format of key value pair. Then parse this generated file using $fscanf or $fgets. To support runtime conversion you can call this script from env itself using $system.

-Rohit