O'Reilly logo

XML Publishing with AxKit by Kip Hampton

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

<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.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required