W3C home > Mailing lists > Public > www-forms@w3.org > February 2002

Using xlink:href in caption/hint/help

From: Tomayko, Ryan <Ryan_Tomayko@stercomm.com>
Date: Sun, 17 Feb 2002 21:11:48 -0500
Message-ID: <5FD6397E455FD4118BAE000629383540035955A6@scidubmsg02.amr.stercomm.com>
To: www-forms@w3.org
Section "8.12.4 Common Child Elements" of the WD states:

Instead of supplying such metadata e.g., the label for a form control as
inline content of the contained element caption, the metadata can be pointed
to by using a simple XLink attribute xlink:href on these elements. Notice
that systematic use of this feature can be exploited in internationalizing
XForms user interfaces by: 

Factoring all human readable messages to a separate resource XML file.

* Using URIs into this XML resource bundle within individual caption
elements *

Finally, an XForms processor can use content negotiation to obtain the
appropriate XML resource bundle, e.g., based on the accept-language headers
from the client, to serve up the user interface with messages localized to
the client's locale.

My question is in regards to the second bullet stating that the xlink:href
attribute may contain a URI *into* the XML resource bundle. What should this
URI look like? 

Do I use XPointer?

" />

..or maybe just the id of an XML element?

<caption xlink:href="http://www.foo.com/bundles/captions.xml#quantity" />

In any case, the addressing scheme should be specified.

My apologies if this is specified elsewhere.

- Ryan
Received on Sunday, 17 February 2002 21:15:49 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:36:05 UTC