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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: words (RE: extensibility in XSchema?)

[ Lists Home | Date Index | Thread Index ]
  • From: "Rick Jelliffe" <ricko@allette.com.au>
  • To: <xml-dev@ic.ac.uk>
  • Date: Wed, 24 Jun 1998 00:25:47 +1000


> From: John E. Simpson

> Peter, I think you've got a bootstrapping problem here (or an illustration
> of Godel's theorem :). XML, like SGML, explicitly separates considerations
> of presentation from those of content ("presentation" covering a whole
> gamut of "things you can or should DO with this content"). It seems to me
> that you're asking for some generic way of making the separation go away,
> no? But shouldn't this be *impossible* under the very terms by which XML
> makes its way in the world?

No, because the processing instructions are just as much a part of XML (and
SGML) as elements. In the early days of SGML there was a lot of polemic
against PIs, to correct the prevailing RTF/TeX view--you can see from Steve
N's recent comments that the concern to stop XML people from confusing
generic markup with procedural markup is very strong still. Similarly there
is still a reductionist view that we just need elements for everything: that
PIs and entity references are impure or inelegant.

There is a currently a way to bind a PI to an element:
..
<!ENTITY x "<?RJ take this and shove it ?>" >
<!ATTLIST object   PI ENTITY #IMPLIED >
...
<object  PI="x">A wooden horsey</object>

Thus I think you can make that "separation" go away. But it does not
compromise the element structure of the document.



What Peter is asking, I think, is for some agreed on PI notation which can
be used to launch particular applications, based on an attribute in them.
This is no different than
	<?xml:stylesheet href="www.blah/blah" type="application/java"
title="JUMBEAUX"?>
	<?xml:stylesheet href="www.blort/blort" type="text/css" title="Simple" ?>

But rather than just being limited to just stylesheets to be run in the
current browser, he wants to be able to invoke other browsers.

This is already under W3C consideration: see James Clark's note on
stylesheets http://www.w3.org/TR/NOTE-xml-stylesheet.

Rick Jelliffe


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/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe 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