A.30 AxStyleName

     

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



XML Publishing with AxKit
XML Publishing with Axkit
ISBN: 0596002165
EAN: 2147483647
Year: 2003
Pages: 109
Authors: Kip Hampton

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net