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

RE: words (RE: extensibility in XSchema?)

  • From: Peter Murray-Rust <peter@u...>
  • To: <xml-dev@i...>
  • Date: Thu, 25 Jun 1998 03:53:40

RE: words (RE: extensibility in XSchema?)
I think Rick and I are on the same wavelength

At 00:25 24/06/98 +1000, Rick Jelliffe wrote:
>
>> 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?

This [JES] is an interesting view - I see what you are getting at. That it
should be formally impossible to use XML to describe any actions or
implementations. I think is too purist. The Perl hackers out there (e.g.
me) don't and won't think this way and they will assume that XML has a way
of 'doing what they want'.

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

Wow! This is standard? in XML? If so, it requires a smarter bear than me to
dig it out of the spec :-). But - if all the SGML gurus say 'yes, of
course, we meant you to do that all along' great. But *please* let's have
it in some examples somewhere in big letters.

And, of course, if it's standard, I have to implement it. So when parsing I
have to think about whether an attribute is of type entity and all the
things it might do. Please can I have a list... :-)

	P.

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

Yup. 

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


Ah! If this is really on the way, and we can bind MIME types to
stylesheets, I suspect my problem is soluble. But we need to publicise it :-)

	P.

Peter Murray-Rust, Director Virtual School of Molecular Sciences, domestic
net connection
VSMS http://www.nottingham.ac.uk/vsms, Virtual Hyperglossary
http://www.venus.co.uk/vhg

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