Maybe I should explain myself a little better :)
Firstly, I need to be able to convert an input SGML file to XML and
store it.
Secondly, the XML content may change during its lifecycle (the client
may wish to modify the XML content).
Finally, I need to be able to convert the XML file back into SGML if
the client desires to do so. (This conversion "should" be into the
same/similiar SGML language as the original SGML file).
Forgive me, for my knowledge of SGML is somewhat lacking. Are you
suggesting that because XML is a fairly clean subset of SGML, that the
existing SGML parser should have no problem in handling the converted
XML?
Joe Kesselman wrote:
ji**************@gmail.com wrote:From what I've seen on the web so far, James Clark's SP software can
convert SGML to XML, but thus far I cannot find anything that will go
the other way.
XML was originally a fairly clean subset of SGML, and most XML should
run happily through an XML parser. Do you have a specific problem, or is
the problem that you want to convert to a specific SGML language which
is different from the XML language the file is starting in?
(If the latter... that's a transcoding problem, and XSLT might be all
you need.)