Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!uunet!microsoft!philsp From: philsp@microsoft.UUCP (Phil SPENCER) Newsgroups: comp.text.sgml Subject: Re: Writing SGML Applications Keywords: lex, yacc, sobemap, parser Message-ID: <60104@microsoft.UUCP> Date: 28 Dec 90 21:19:50 GMT References: <767@npdiss1.StPaul.NCR.COM> Reply-To: philsp@microsoft.UUCP (Phil SPENCER) Organization: Microsoft Corp., Redmond WA Lines: 34 I have a little trouble figuring out what people mean when they say they are writing an SGML application, but I guess that is what I am doing. I use SGML as an archive format for text databases to be put online. SGML is very useful for this. I can specify a lot of complexity in my Data Dictionary and make it very easy to build a useful online database. I guess my SGML application would be taking this SGML instance and turning into an online database. I use the XTRAN parser from Software Exoterica to turn my SGML into another format. XTRAN is a fairly powerful language for working with SGML. Our first traslation was writen in C, but it quickly became hard to maintain. Any change to the DTD meant rewriting C code. XTRAN is a data driven language and changes to the DTD don't require much change to the XTRAN. I do think that using SGML will help in making products across platorms and OS. The SGML is platform independant. The traslation creates the platform dependancies. Hopefully we will eventually have independant online databases, but not yet. I would be interested in hearing what other people are doing with SGML. I was at SGML '90 and found that a lot of people were thinking about how SGML could help there publishing system. Well, we are doing that now. And overall I think SGML was a smart decision. Phil Spencer Production Eng. Multimedia Publishing Microsoft Corp. Oh, yea IMHO.