[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Writing a DTD
"Hanson, Jon" wrote: > > then such expressions would not be valid xml, so you can't really write a > DTD for them. > an XML equivalent of what you appear to be attempting might be something > like:- > > <lambda> > <name>fred</name> > <body>xyz</body> > </lambda> If you're trying to express a DTD-constrained lisp grammar in XML, that's probably the approach to take. SGML, by virtue of its configurable concrete syntax, lets you get a bit closer to the original lisp syntax. I would never recommend that anybody actually use this for anything, but you can find a toy example of lisp-in-SGML at: http://www.blnz.com/lml/ Enjoy, Bill
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|