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

Re: RDDL(2): new version up


Re:  RDDL(2): new version up
On Sun, 2004-01-18 at 23:49, Jonathan Borden wrote:

> I see your objection. Would the following be acceptable:
> 
> <div rddl:nature="..."
> 	rddl:purpose="...">
> ...
> </div>
> 
> alternatively:
> 
> <rddl:resource
> 	rddl:nature="..."
> 	rddl:purpose="...">
> ....
> </rddl:resource>

Hmmm... How would we link the nature and purpose to the link target
then?

RDDL 1.0 lets you define several <a/> links in a rddl:resource, such as
in:

<rddl:resource id="v0.2" 
  xlink:arcrole="http://www.rddl.org/purposes#prior-version" 
  xlink:role="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict" 
  xlink:href="/0/2/" xlink:type="simple" xlink:show="none" 
  xlink:embed="none">
<div class="resource">
<h3><a href="/0/2/">V0.2</a></h3>
<ul>
  <li>Addition of several sections (limitations, acknowledgements, history and legal) </li>
  <li>Clarifications after comments through xml-dev and private mails.</li>
  <li>Addition of an history section in <a href="compile.xsl">compile.xsl</a></li>
  <li>Creation of a W3C XML Schema for examplotron (<a href="examplotron.xsd">examplotron.xsd</a>).</li>
  <li>Start to feed the resources section.</li>
</ul>
</div>
</rddl:resource>

I find that very handy, but how would you know which @href should be
chosen when there are multiple <a/> in a single rddl:resource without 
giving separate definitions?

And if we had to write :

<rddl:resource id="v0.2" 
  rddl:purpose="http://www.rddl.org/purposes#prior-version" 
  rddl:nature="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict" 
  rddl:link="/0/2/">

Or even

<div id="v0.2" 
  rddl:purpose="http://www.rddl.org/purposes#prior-version" 
  rddl:nature="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict" 
  rddl:link="/0/2/">

The difference with the current syntax seems pretty much limited to a
boycott of XLink which doesn't seem to be a benefit by itself to me!

The current version is verbose, but I think that this verbosity is
required for its expressive power. 

Note that it can easily be compacted for edition when needed: I use a
"RDDL compact XML syntax" which is XSLT transformed into plain RDDL for
publication and this lets me add extra goodies such as TOC and indexes
generation.

Eric
-- 
Freelance consulting and training.
                                            http://dyomedea.com/english/
Upcoming XML schema languages tutorial:
 - Santa Clara  -half day- (15/03/2004)        http://masl.to/?J24916E96
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
(ISO) RELAX NG   ISBN:0-596-00421-4 http://oreilly.com/catalog/relax
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------


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.