Any XML DTD available?
jasper at xfce.org
Tue May 10 09:02:50 CEST 2005
On Mon, May 09, 2005 at 11:40:10PM -0700, Keith Dart wrote:
> On Tue, May 10, 2005 at 07:50:48AM +0200, Jasper Huijsmans wrote:
> > Keith Dart wrote:
> > > Greetings. I just joined the xfce user list. Thanks to the developers
> > > for a great window manager.
> > >
> > > I see that most of the config and menu files are in XML-like format. I
> > > would like to get a DTD for these document types. Are there any
> > > available? If not, are there plans to make them available?
> > >
> > > Thanks.
> > >
> > That's a no to both questions, I guess. They aren't meant to be editted
> > manually, so I don't think it would buy us much, would it?
> If you expect to ever validate them, it does.
> I don't want the DTD to edit manually. I was going to write a tool (in
> Python) to create menu files. The XML system I use requires a DTD to
> "compile" into objects, and validates the results.
Ok, for the menu system I can see that, the other settings less so. For the
panel it will be very hard since plugins can basically do whatever they want.
> If it doesn't have a DTD, or a XML Schema, then it's not XML.
Well, we don't necessarily care what it is called, as long as it does what we
> I can create a DTD from the description in the comments.
That would be very nice, thanks. For 4.4 we are supposedly moving to a fully
freedesktop.org menu spec compliant system, but that is still some time off.
More information about the Xfce