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

Re: XLink/XHTML consensus?

xlink xhtml
Notations and External Unparsed Entities provide a place to attach two 
pieces of arbitrary semantics to an element, via an attribute declared of 

<object href="http://example.org/1.gif" />

can have this in the DTD:

<!NOTATION stdlink PUBLIC "xlink: show=new actuate=onLoad" >
<!ENTITY std_href SYSTEM "@href" NDATA stdlink>
<!ATTLIST object
      LINKS ENTITIES "std_href"

The "LINKS" attribute has a list of linking entities to be used for this 

The SYSTEM Identifier for the entity specifies a local attribute or child 
element, the value of which is the remote target of the link.

The PUBLIC Identifier on the NOTATION specifies the sematics and behavior 
associated with this link.

Those who love RDF and the Semantic Web can change the ad-hoc syntax I used 
above for the system and public IDs into proper URIs.

Inspiration for this suggestion was provided by the "Datatypes for DTDs" 
note [http://www.w3.org/TR/dt4dtd].

Downsides to this system:
   1. It uses DTDs
   2. It uses Notations
   3. It requires a non-xml syntax to be created (to represent link behavour 
and semantics, with is then stuffed into a Notation's Public ID)

-Wayne Steele

>From: John Cowan <jcowan@r...>
>To: xmlmaster@h... (Wayne Steele)
>CC: xml-dev@l...
>Subject: Re:  XLink/XHTML consensus?
>Date: Thu, 19 Sep 2002 17:07:52 -0400 (EDT)
>Wayne Steele scripsit:
> > I have an idea of a mechanism that would accomplish this, but it does 
> > "Stupid DTD Tricks", which may be anethema to some.
> >
> > Does anyone care? or are DTDs beyond the pale these days?
>Well, of course we care.  Spill the beans already.
>John Cowan       http://www.ccil.org/~cowan        
>         You tollerday donsk?  N.  You tolkatiff scowegian?  Nn.
>         You spigotty anglease?  Nnn.  You phonio saxo?  Nnnn.
>                 Clear all so!  `Tis a Jute.... (Finnegans Wake 16.5)

MSN Photos is the easiest way to share and print your photos: 


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.
First Name
Last Name
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.