On 17.05.2010 21:47, James Snell wrote:
> <link rel="alternate" href="foo" type="text/plain">
>    <data type="text">this is a representation of the data</data>
> </link>
It can be used with XInclude, e.g.
<link rel="alternate" href="foo" type="text/plain">
<data type="text" xmlns:xi="http://www.w3.org/2001/XInclude";><xi:include href="something.txt" parse="text"/></data>
</link>
>
> <link rel="alternate" href="foo" type="application/atom+xml">
>    <data type="markup">
>      <feed>...</feed>
>    </data>
> </link>
Or
<link rel="alternate" href="foo" type="text/plain">
<data type="markup" xmlns:xi="http://www.w3.org/2001/XInclude";><xi:include href="something.xml" parse="xml"/></data>
</link>

> <link rel="alternate" href="foo" type="image/jpeg">
>    <data type="encoded">abc...def==</data>  <!-- base64 -->
> </link>
There are many methods of encoding. It should be declare Base16, Base32, or Base64 [1].

[1] http://www.ietf.org/rfc/rfc3548.txt

Regards,

Dominik Tomaszuk


Reply via email to