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

Re: [SML] Re: SML ?!?

  • From: "James Tauber" <jtauber@j...>
  • To: <xml-dev@i...>
  • Date: Sat, 27 Nov 1999 00:26:36 -0500

Re: [SML] Re: SML ?!?
> > The character data content of an element is content. The value of an
> > attribute is markup.
>
> > Attributes, like other markup, provide information in
> That is subjective, and I don't agree.

Which bit is subjective? The fact that attributes are markup? No, the spec
indirectly says that.

> I agree that attributes can be useful, and that there are several
> sets of conventions when make a distinction between "content" and
> "markup" in some way that may consider attributes to be part of
> markup.

Attributes are markup and not content in the sense that those words are
using in the XML spec. Whether the distinction between markup and content in
the sense used in the spec is useful semantically is the issue.

>
> However, let's not make the mistake of saying that that's the only
> way to use XML.

I never said that's the only way of using XML. What I said was that it is
*a* way of using XML and so attributes do have some use (for those people
that adopt conventions that make the content/markup distinction)

It is not clear cut, as Robin's post demonstrates, but I have always seen
somewhat of a continuum where property/value data stuff (at one end) is
completely blurred and document markup stuff (at  the other end) is clearer
(although not complete clear).

Of course, content almost always has its own structure in some non-XML
notation. And as I argued at SGML/XML Asia Pacific 1998, the distinction
between what you leave as content and what you make markup is very
application-specific.

<dog>Max</dog>

my be more usefully marked up as

<dog>
  <word>
    <letter name="m" capitalized="yes"/>
    <letter name="a"/>
    <letter name="x"/>
  </word>
</dog>

for some applications.

James

PS Boy am I going to be glad when Joe Stephenson gets back! :-)




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/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo@i... the following message;
unsubscribe 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.