UserPreferences

TransformLinkTag


Used as in LinkTagMeaning

An option for the <link> element that can provide a different representation of the feed.

<feed>
   <link rel="transform.input"  type="[source type]" href="[stylesheet URI]" id="stylesheet ID" />
...
   <link rel="transform.output" type="[target type]" href="[stylesheet ID]" />

This tells the client that if you take *this* feed and apply the XSLT transformation [stylesheet URI], you can consider the result of the mime type [target type]

Example:

<feed>
   <link rel="transform.input"  type="text/xsl" href="http://example.org/atom2xhtml.xslt" id="trans" />
   <link rel="transform.output" type="application/xhtml+xml" href="#trans" />
...

This says the client can obtain an XHTML representation of this feed by passing the data through atom2xhtml.xslt

Note that there's divergence with the use of @type from the other LinkTagMeaning - the type here is that of the transformed data, not the material at the URI in href.


Is XSLT the only transformation technology available? What if there were different techs - how would the client know which processor to use?


See also :

[WWW]Atom <info> proposal [WWW]RDF in XHTML Proposal [WWW]Simple Semantic Resolution