Re: writing a DTD with TDTD and using it with psgml
Peter Flynn <[email protected]> Fri, 06 Feb 2004 00:32:22 +0000
| Newsgroups | gmane.emacs.psgml.user |
|---|---|
| Organization | Silmaril Consultants |
| Message-ID | <[email protected]> |
On Thu, 2004-02-05 at 23:46, Jochen Hayek wrote: > Hi, > > I dived into that TDTD tutorial today, > and I thought I could start from there writing a DTD for gnupod -- these are utilities to manage the iPod under Linux. > I DO have some SGML background (I have been using DocBook with psgml for a couple of years now), > but even with the example DTD from that TDTD tutorial I didn't manage to get started with an XML file using that DTD under psgml. > > I am quite sure, it is only a matter of setting it up correctly, but I am desperate now ;-) There isn't anything to set up...TDTD-mode won't write a DTD for you, it just provides some syntax highlighting and a few bells and whistles. You still have to know how to write a DTD. It's not like Near&Far or XML Spy. > Does anybody also use TDTD and psgml together? Yes, all day. > Would it be possible to create a minimal XML file using that TDTD tutorial DTD, so that I can use that as a starter to edit it with psgml? I've never looked at it. But James Clark has a tool somewhere I think that takes a DTD and creates a minimally valid instance. You should also be able to just open a new file in psgml-mode, which references the DTD, and just use Element Insert to see what is needed. ///Peter ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn