Quantcast
Channel: PTC Community: Message List - Arbortext
Viewing all articles
Browse latest Browse all 3717

Re: batch file for saving as xml from sgml

$
0
0

You should be able to do this with ACL.

 

There is a handy ACL command to save SGML as XML. Something like this would work...

 

xmlName = {your XML name}

if (doc_kind() == "sgml"){

          save_as -xml xmlName           

}

 

You would just need to write the bit that reads file from a target directory. Have Editor open each file, run save_as, and close it.

 

This assumes your SGML is in good order and will save cleanly to XML. If it was authored in Editor, you shouldn't have any problems.

 

Hope that helps!


Viewing all articles
Browse latest Browse all 3717

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>