<AxStyleName>

This configuration directive block is very similar to the above, only it specifies alternate stylesheets by name, which can then be requested via a StyleChooser:

<AxMediaType screen> <AxStyleName #default>
           AxAddProcessor text/xsl /styles/webpage_screen.xsl </AxStyleName>
           <AxStyleName printable> AxAddProcessor text/xsl
           /styles/webpage_printable.xsl </AxStyleName> </AxMediaType>

This and the above directive block can be nested and also contained within <Files> directives to give you even more control over the transformation of your XML.

Get XML Publishing with AxKit now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.