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

Re: XML=WAP? And DOA?


doa dtd

> > OK, OK, really nice thing should allow both, because
> > some people need to edit it in a GUI HTML editor,
> > but some people are editing templates in vi / notepad
> > And  I think that there is no possible markup that
> > would be good for *both* cases.
>
> You might want to have a look at SGML - you can support both syntaxes by
simply
> defining two SGML declarations. The DTD remains the same for both markup
> schemes but the instances are different. On top of that, you can assign
context
> sensitive behaviour to particular characters from within the DTD, allowing
you
> to process a csv file with a DTD.
>
> This may not be as archaic as it sounds. If you are able to separate the
data
> capture/modification/markup from the downstream usage with a normalisation
> process, then why not? We routinely still use SGML tools at the start of
XML
> projects - when the objective is simply an XML file, pragmatism beats
> standardisation every time.

Can you 'configure' SGML to use *both* { and <%
'mixed'  in a same file? Can you 'configure' SGML
for some other tricks with 'separators' ?

If yes, then, perhaps, it may be not a crazy idea
to try re-factoring  SGML into XML++ or XML--.
;-)

Maybe, SGML already has all the answers, it
is just hard to understand what was better to throw
out of it and it is the macroprocessing part of
SGML that should not be thrown out  ;-)

Rgds.Paul.

PS. I'd greatly appreciate a URL to something like
"SGML Cookbook".  Google is good, but some advice
from human being is always better.

Many thanks.

PPS. 'Worse is better' means "no namespaces, but
unique prefixes are sufficient".

So it looks like  there is at least one thing that
SGML got 'right' and XML did not.

Hmm... Scary...




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.