[Home] [By Thread] [By Date] [Recent Entries]


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@m... | 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/    |
+----------------------------------+---------------------------------+

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member