OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] XLink 2.0 Requirements

[ Lists Home | Date Index | Thread Index ]

At 12:47 AM -0700 8/12/02, Micah Dubinko wrote:


>For example, it's not clear how the following could be recast to use XLink:
><xhtml:form action="http://submit.example.com"; method="post">
><!-- form submission is a link, sort of -->

<xhtml:form xlink:type="simple" 
xlink:type="http://submit.example.com"; 
xlink:arcrole="http://www.example.com/post";>


><xhtml:object href="http://link.example.com";
>longdesc="http://desc.example.com"/>
><!-- two different variations on 'onRequest' activation -->


This calls for an extended link; e.g.

<xhtml:object xlink:type=""extended">
   <href xlink:type="locator" xlink:href="http://link.example.com"/>
   <longdesc xlink:type="locator" xlink:href="http://desc.example.com"/>
</xhtml:object>

(Yes, you could do this in a more complicated fashion with labels and 
arcs too, but I think this works for XHTML.)

I don't know that I'd say this is better than what XHTML has now, but 
it is absolutely possible.

-- 

+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo@metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
|          XML in a  Nutshell, 2nd Edition (O'Reilly, 2002)          |
|              http://www.cafeconleche.org/books/xian2/              |
|  http://www.amazon.com/exec/obidos/ISBN%3D0596002920/cafeaulaitA/  |
+----------------------------------+---------------------------------+
|  Read Cafe au Lait for Java News:  http://www.cafeaulait.org/      |
|  Read Cafe con Leche for XML News: http://www.cafeconleche.org/    |
+----------------------------------+---------------------------------+




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS