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

Re: XLink resource confusion (long)

  • From: "Thomas B. Passin" <tpassin@h...>
  • To: xml-dev@l...
  • Date: Sun, 06 May 2001 13:59:09 -0400

traversal attributes
We're not quite there yet with Cris's example, because the "to" and "from"
values on the arc are supposed to be locator or resource reference
labels,not URIs.

From the CR:

"5.7 Traversal Attributes (label, from, and to)
The traversal attributes are label, from, and to. The label attribute may be
used on the resource- and locator-type elements. The from and to attributes
may be used on the arc-type element.

Constraint: label, from, and to Values

The value of a label, from, or to attribute must be an NCName. If a value is
supplied for a from or to attribute, it must correspond to the same value
for some label attribute on a locator- or resource-type element that appears
as a direct child inside the same extended-type element as does the arc-type
element. "

Cheers,

Tom P

[Christopher R. Maden]

> <section id="sec1"
>                xlink:type="extended">
>    <loc xlink:type="locator" xlink:role="http://www.example.com/xlns/from"
>            xlink:href="#sec1"/>
>    <loc xlink:type="locator" xlink:role="http://www.example.com/xlns/to"
>            xlink:href="http://www.someplace.org/something.html"/>
>    <arc xlink:type="arc" xlink:from="http://www.example.com/xlns/from"
>            xlink:to="http://www.example.com/xlns/to" />
>    <title>Que se yo?</title>
>    <par>
>        No hay nada de interes en este parafo.
>    </par>
>    <list>
>       <item>Nada</item>
>       <item>Aun menos</item>
>    </list>
>    <!-- Lots more 'par', 'list', 'table', 'figure' elements etc. -->
>    <par>
>        Esto es aburrido. Y ademas, faltan los acentos.
>    </par>
> </section>
>
> This does not have local resources, and includes two loc elements and one
> arc element within the beginning resource that weren't there in the other
> example, but is otherwise equivalent.
>



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.