[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Qualifying links
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! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|