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

RE: Scripting and XML

  • From: "Simon St.Laurent" <SimonStL@c...>
  • To: "Xml-Dev (E-mail)" <xml-dev@i...>, "Rick Jelliffe" <ricko@a...>
  • Date: Sun, 19 Oct 97 18:01:49 UT

how to start xml scripting
It seems like the complexities of SGML that XML stripped away are still 
haunting XML.  

>The CDATA idea does work for what it is intended to be used for.
>Text with no subelements, entity references or other markup. 

>In default SGML, a CDATA element's data is terminated by "</" 
>followed by any valid name start character (or the end of the
>entity). In XML, there is no name-start checking and every 
>start-tag must have a corresponding end-tag.

Excellent.  Now we know what the SGML developers were thinking - now we just 
need to figure out why this is relevant to XML.  Why is it so difficult to 
create CDATA elements - which have to be marked clearly in XML by start and 
end tags?  There is no need in XML to stop CDATA at just any </ sequence, just 
the </ sequence which turns into the full end tag of the element.  Of course, 
this would probably break compatibility with all my favorite SGML parsers, at 
least if I wrote scripts that used </ at some point.

Oh well.  We'll have to see what all the 'bozos' think of this when they start 
working with it.  I suspect that more than a few will write < as &lt;, > as 
&gt;, and & as &amp;.  Should make for some very readable code.

Simon St.Laurent
Dynamic HTML: A Primer


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


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.