example.js
---------------
exports.GET = function(env) {
  return {
      headers: {
          "Content-Type": "application/xrds+xml"
      },
      data: {
        myvar: "foo"
      }
  };
}
example.html
--------------------
<?xml version="1.0" encoding="UTF-8"?>
<xrds:XRDS xmlns:xrds="xri://$xrds" xmlns="xri://$xrd*($v*2.0)">
  .......
</xrds:XRDS>
Wouldn't it be nicer if the template could be called  example.xml ?
Or is there already a better way to handle this ?
--
You received this message because you are subscribed to the Google Groups "nitro-devel" group.
To post to this group, send email to nitro...@googlegroups.com.
To unsubscribe from this group, send email to nitro-devel...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/nitro-devel?hl=en.