[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: RE: Sky is falling again...


Re: RE:  Sky is falling again...
10/8/2002 11:28:14 AM, Sam Hunting <shunting@e...> wrote:

> I remember writing a DTD several years ago that
>implemented the Bluebook standard for legal citations using
>SHORTREF. Since it was SGML, no "custom code" was required to handle it,
>and if you wanted SGML angle brackets, you used sgmlnorm. (This could be
>viewed as a recognition that whitespace and punctujation were the first
>forms of markup.)
>
>It should be stressed that such a document was in fact 100% valid
>SGML, even though it looked like (and was) also a little language. It
>didn't need to be transformed into order to be valid, that is.

I meant "transformation" loosely enough to cover what you're talking about :-)

So, I think you answered my question: One can write an SGML DTD using
SHORTREFs that defines a "little language", and use the sp tools to 
"transform" it into something an XML parser might handle.  

Next question -- what arguments might one offer to someone who would
prefer to whip up a yacc grammar or some Perl/Python regexp code (c.f.
the one-line Python parser for RSS 3.0) rather than use SGML to define
the little language?




PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.