You Are Here: Home / Building the Web / Using server-config documents in XSLISAPI.dll
Web Log | Building the Web | Photos | Everything else... | Site Index | About | Feedback
Using server-config to select stylesheets on the basis of browser or target markup
<?xml version="1.0" ?>
<server-styles-config>
<!--
Translating from XML to WML or HDML in XSL can only
be done for the most trivial of cases. However, everyone
uses WML as a target in their examples.
-->
<device target-markup="WML1.1">
<stylesheet href="wml11Style.xsl"/>
</device>
<--
The names used for the target-markup and browser attributes
are those defined in the browscap.ini file.
%windowsfolder%system32inetsrvbrowscap.ini
-->
<device browser="IE" version="5.0">
<stylesheet href="ie50Style.xsl"/>
</device>
<device browser="IE" version="3.0">
<stylesheet href="ie30Style.xsl"/>
</device>
</server-styles-config>
Chaining style sheets using server-config
<device browser="Netscape" version="4.0">
<stylesheet href="firstPassTransform.xsl"/>
<stylesheet href="secondPassTransform.xsl"/>
<stylesheet href="netscapeStyling.xsl"/>
</device>
Last modified on 9/30/00; 9:37:49 PM.
Contact WHUMP dot COM.
Copyright © 1995-2000, Bill Humphries