How to read the date in <!&mdash; [% IF TEST %] --> in xml file

111111q

New Member
I want do some unite tests which has to use the date defined in xml file.But there two dates in xml file like this:\[code\]<!-- File Max(100000) --><!-- [% IF !TEST %] --><integer name="cm_config_max">100000</integer><!-- [% END %] --><!-- [% IF TEST %] --><!--<integer name="cm_config_max">10</integer> --><!-- [% END %] -->\[/code\]And I do not want to prepare 100000 files, and just want use the date under*\[code\]<!-- [% IF TEST %] --><!--<integer name="cm_config_max">10</integer> --><!-- [% END %] -->\[/code\]witch has "\[code\]<!---->\[/code\]". Is there a chance I could use that date? Or I have to delete the "\[code\]<!---->\[/code\]", and whether it will make error in my project?Thank you all.
 
Back
Top