OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [SML] Re: SML ?!?

[ Lists Home | Date Index | Thread Index ]
  • From: "James Tauber" <jtauber@jtauber.com>
  • To: <xml-dev@ic.ac.uk>
  • Date: Sat, 27 Nov 1999 00:26:36 -0500

> > 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@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo@ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)






 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS