Hi,Can somebody throw some light on converting the DCRs which were generated with dcr4.5dtd format to datacapture6.0.dtd format. To give more insight on the problem, i have DCRs generated of dcr-type='iwov' and iam migrating the DCRs to a new server which has dcr-type='xml'. Is this feasible.
#!/iwhome/iw-perl/bin/iwperluse strict;use warnings;use TeamSite::Config;use TeamSite:CRnode;my $iwhome = TeamSite::Config::iwgethome();my $fname = shift;open(IN, '<', $fname) || die " '$fname' ($!)";my $dcr = do { local $/; <IN> };close(IN);my $rootnode = TeamSite:CRnode->new($dcr);rename($fname, "$fname.old") || die "[rename] '$fname' - '$fname.old' ($!)";open(OUT, '>', $fname) || die " '$fname' ($!)";print OUT $rootnode->get_xml();close(OUT);#... set EA on $fnameunlink("$fname.old");exit 0;
while it is doable, is this a mandatory requirement? You can still use that old 'legacy' format.