in reply to using perl to convert to xml file
if it doesn't directly correspond to those tags, you can always translate the resulting XML using XML::Twig , XML::Simple or another XML processing module (or even XSLT).perl -pe 's/\[\[/</g; s/\]\]/>/g;' <infile >outfile
|
|---|