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

Qualifying links

  • From: Julian Reschke <julian.reschke@g...>
  • To: xml-dev@l...
  • Date: Thu, 04 Oct 2001 23:44:50 +0200

href tel
Say we have a protocol that reports a list of URIs in the following format:

	<container>
		<href>mailto:julian.reschke@g...</href>
		<href>tel:+49 1234 56788</href>
		<href>tel:+49 1234 56789</href>
		<href>http://www.greenbytes.de</href>
	</container>

The set of href elements is unbounded and can carry multiple types of URIs.

Obviously, given that this information exists, it would be nice to pass
additional information, like:

	<container>
		<href type="email">mailto:julian.reschke@g...</href>
		<href type="voice">tel:+49 1234 56788</href>
		<href type="fax">tel:+49 1234 56789</href>
		<href type="homepage">http://www.greenbytes.de</href>
	</container>

Obviously, it's easy to invent your own format, but I'm looking for a more
standardized way.

XLink comes to mind (namely the xlink:role attribute), but after a quick
search I couldn't find a standardized set of role names for my example.

BTW: it seems that XLink *requires* the links to sit in the xlink:href
attribute, so that the format would need to change to:

	<container>
		<href xlink:href="mailto:julian.reschke@f..."/>
		<href xlink:href="tel:+49 1234 56788"/>
		<href xlink:href="tel:+49 1234 56789"/>
		<href xlink:href="http://www.greenbytes.de"/>
	</container>

(or did I miss something?)


Feedback appreciated.



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.