How do i store an XSL stylesheet in Tamino?

How do I store a stylesheet in Tamino?
Once i apply the stylesheet to the query , how do i print out the result in a browser?
Thanks,
Parth

You can use the following TSD3 schema to store a stylesheet in Tamino (unfortunately there is a bug in the Tamino documentation):

<?xml version = "1.0" encoding = "UTF-8"?>
<xs:schema xmlns:xs = “http://www.w3.org/2001/XMLSchema
xmlns:tsd = “http://namespaces.softwareag.com/tamino/TaminoSchemaDefinition
xmlns:xsl = “http://www.w3.org/1999/XSL/Transform
targetNamespace = “http://www.w3.org/1999/XSL/Transform” >
xs:annotation
xs:appinfo
<tsd:schemaInfo name = “stylesheet”>
<tsd:collection name = “stylesheets”/>
<tsd:doctype name = “xsl:stylesheet”>
tsd:logical
tsd:contentclosed</tsd:content>
</tsd:logical>
</tsd:doctype>
</tsd:schemaInfo>
</xs:appinfo>
</xs:annotation>
<xs:element name = “stylesheet”/>
</xs:schema>

A query like

http://localhost/tamino/db/collection?_xql/…/stylesheets/xsl:stylesheet/styleName=yourQuery

should then embed a xml-stylesheet directive into the result of yourQuery. The stylesheet must be stored in Tamino in collection “stylesheets”, doctype “xsl:stylesheet” using the docname “styleName”. Instead of the styleName you can also use “@ino:id”, ofcourse.