Peter Flynn <[email protected]> writes:

> On 13/01/11 18:36, Csanyi Pal wrote:
>> I have downloaded a Docbook that is in xml format.
>> I wish to convert it into sgml format.
>> Are there any tool for this?
>
> I'm not aware of one. The first thing I'd try is to run the file
> through osgmlnorm (part of the OpenSP/Jade package):
>
> $ osgmlnorm -wxml xml.dec yourfile.xml

I did try and got error message at the and of process:

$ osgmlnorm -wxml xml.dec manual.xml
osgmlnorm:E: cannot find "xml.dec"; tried "xml.dec",
"/usr/local/share/sgml/xml.dec", "/usr/share/sgml/xml.dec"  
osgmlnorm:/usr/share/xml/docbook/schema/dtd/4.3/docbookx.dtd:112:15:W:
named character reference 
osgmlnorm:/usr/share/xml/docbook/schema/dtd/4.3/docbookx.dtd:112:17:E:
"X20AC" is not a function name 
osgmlnorm:/usr/share/xml/entities/xml-iso-entities-8879.1986/ISOamsa.ent:40:17:W:
named character reference 
osgmlnorm:/usr/share/xml/entities/xml-iso-entities-8879.1986/ISOamsa.ent:40:19:E:
"X21B6" is not a function name 
 ...
osgmlnorm:I: maximum number of errors (200) reached; change with -E
option 

When I ask for a tool that can convert a xml file to sgml, then I thought
for a free software tool. Unfortunately XMetal and Arbortext are not
free softwares. My system is a GNU/Linux system. :)

-- 
Regards, Paul
<http://csanyi-pal.info>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to