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

Re: Many different syntaxes in XML - is that good languagedesi

  • From: Peter Flynn <peter@silmaril.ie>
  • To: xml-dev@lists.xml.org
  • Date: Mon, 7 Mar 2022 20:28:22 +0000

Re:  Many different syntaxes in XML - is that good languagedesi
On 07/03/2022 15:52, Pete Cordell wrote:
On 07/03/2022 14:20, Norman Gray wrote:
[...] only two characters which shift to 'markup' (TeX, which is
doing the same thing in a way, has 16 different categories of
character).
And probably many more users in the document markup field than XML, and while I get many complaints about LaTeX, the plethora of markup characters isn't a FAQ :-)

The following 'markup declaration' could be 'DOCTYPE' or '[CDATA[' (and a couple more).
Quite a lot more.

- "<" means escape from text flow

- If "<" is followed by a "!" it is a standard defined "meta" data item / directive.
A Declaration which can only occur in a DTD (except for a comment or a CDATA Marked Section).

(It does make me wonder why the CDATA section 'directive' wasn't just <!CDATA[...]>.  Even more curious, given all the SGML things that got dropped, is how it got included in XML.  It creates just as many problems as it solves.)
If you write tech doc about markup it is the one marked section that is essential. While it is possible to include chunks of examples done with &lt; it's error-prone and tedious. A CDATA Marked Section allows you to drop in a chunk of markup and know that it won't be parsed despite the occurrence of < and & characters. I'm not aware of any problems.

Peter


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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.