1

I want to convert SGML to XML and i have searched so many things many people are advising to use OpenSp tool https://sourceforge.net/projects/openjade/files/opensp/1.5.2/. included OpenSP-1.5.2-win32.zip which has osx.exe
and http://openjade.sourceforge.net/doc/index.htm. for its documentation,
so using this link I got source file and instruction but my problem is i am not able to understand how to use this tool and build-win32.bat and how to execute the given command in this link, if anyone knows about it please help me.

Mayank Pandey
  • 185
  • 1
  • 11
  • 1
    You don't need build-win32.bat. You already have the osx.exe executable. To convert from SGML to XML, execute it, like this: `osx.exe input.sgml > output.xml`. – mzjn Jul 31 '16 at 14:47
  • thanks for your comment but nothing is happening, what i did just downloaded that file where osx.exe was available, opened osx.exe command prompt and as you suggested executed like same way "osx.exe input.sgml > output.xml" and enter after that nothing happened no error, no message. – Mayank Pandey Jul 31 '16 at 18:02
  • Is there a file called output.xml (or whatever you chose to call it)? Is there anything in it? – mzjn Aug 01 '16 at 05:59
  • There is nothing only osx.exe. – Mayank Pandey Aug 01 '16 at 06:09
  • Don't you have an SGML file as input? – mzjn Aug 01 '16 at 06:13
  • Yes i have the file named 556101601_ATA.SGM. Is there any way that i can show you this file? – Mayank Pandey Aug 01 '16 at 06:58
  • 1
    And is that file in the same directory as osx.exe? If you run `osx.exe 556101601_ATA.SGM` does anything happen? – mzjn Aug 01 '16 at 07:12
  • yes both .SGML file and osx.exe are in same folder but nothing is happening. – Mayank Pandey Aug 01 '16 at 07:16
  • Is it working for you? – Mayank Pandey Aug 01 '16 at 07:23
  • All I know is that I have been able to use osx.exe before. I don't have it now. And I cannot explain your problem. I am very sorry. – mzjn Aug 01 '16 at 08:20
  • 1
    instead of using osx command prompt i executed your given command osx.exe input.sgml > output.xml in windows command prompt now its working.Thanks – Mayank Pandey Aug 04 '16 at 09:23

0 Answers0