[
Lists Home |
Date Index |
Thread Index
]
- From: james anderson <James.Anderson@mecom.mixx.de>
- To: "xml-dev@ic.ac.uk" <xml-dev@ic.ac.uk>
- Date: Thu, 25 Jun 1998 09:47:22 +0200
?
i thought you could do this with unparsed (that is, external) entities only.
(i don't understand why, but that's what i thought the rec says)
?
and, what's the difference between the cited example and the following (modulo
validation constraints)?
<!ATTLIST object PI CDATA #IMPLIED >
<object PI="&x">A wooden horsey</object>
Peter Murray-Rust wrote:
>
> At 00:25 24/06/98 +1000, Rick Jelliffe wrote:
> >
> >
> >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@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)
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)
|