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

Re: A seemingly odd question: What is XML?

  • From: Wendell Piez <wapiez@wendellpiez.com>
  • To: "xml-dev@lists.xml.org" <xml-dev@lists.xml.org>
  • Date: Thu, 20 Mar 2014 11:44:56 -0400

Re:  A seemingly odd question: What is XML?
Hi,

The question is meaningless unless we accept XML's own particular
distinction between  "tag" and "text". In XML World, surely the text
is embedded in the tags, which is why I agree with John Cowan. (See
Production 1 of the XML Rec, where 'CharData' does not appear, but
'element' does.)

But outside XML World, the tags are text as much as the text is -- if
not more so, to a class of strange creatures that may include XML
parsers, since the tags are the only "text" they know how to read.

Cheers, Wendell

On Thu, Mar 20, 2014 at 10:03 AM, John Cowan <johnwcowan@gmail.com> wrote:
> On Thu, Mar 20, 2014 at 5:30 AM, Costello, Roger L. <costello@mitre.org>
> wrote:
>
>> Which is correct:
>>
>> (a) XML is a bunch of tags embedded in text.
>>
>> (b) XML is a bunch of text embedded in tags.
>
> Both are wrong, but (b) is less wrong.

-- 
Wendell Piez | http://www.wendellpiez.com
XML | XSLT | electronic publishing
Eat Your Vegetables
_____oo_________o_o___ooooo____ooooooo_^


[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.