1## 2# Licensed to the Apache Software Foundation (ASF) under one 3# or more contributor license agreements. See the NOTICE file 4# distributed with this work for additional information 5# regarding copyright ownership. The ASF licenses this file 6# to you under the Apache License, Version 2.0 (the "License"); 7# you may not use this file except in compliance with the License. 8# You may obtain a copy of the License at 9# 10# http://www.apache.org/licenses/LICENSE-2.0 11# 12# Unless required by applicable law or agreed to in writing, software 13# distributed under the License is distributed on an "AS IS" BASIS, 14# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15# See the License for the specific language governing permissions and 16# limitations under the License. 17## 18# 19# $Id: media.properties 470420 2006-11-02 17:14:05Z minchau $ 20# 21# This property file is used by com.lotus.xsl.server.DefaultApplyXSL. 22# 23# Each line below specifies a mapping rule between a value contained in the HTTP request's user-Agent 24# field and a value to be scanned for in XSL stylesheet(s) associated with the XML data. This mapping 25# enables relationships to be defined between client capabilities and stylesheets capable of acting 26# on these capabilities. 27# 28# The rules defined below are order-significant. In other words, if the first rule is unsuccessful, 29# the second rule will be tried, etc. The media value "unknown" will be used when no rules are 30# satisfied. 31# 32# Example: 33# 34# Mapping rules of... 35# 36# MSIE=explorer 37# MSPIE=pocketexplorer 38# 39# ...and XML data that contains XSL stylesheet associations of... 40# 41# <?xml-stylesheet media="explorer" href="alldata.xsl" type="text/xsl"?> 42# <?xml-stylesheet alternate="yes" media="pocketexplorer" href="somedata.xsl" type="text/xsl"?> 43# 44# ...and an HTTP request that contains a user-Agent value of... 45# 46# foo MSPIE bar 47# 48# ...will apply the XSL stylesheet somedata.xsl. 49# 50MSIE=explorer 51MSPIE=pocketexplorer 52HandHTTP=handweb 53Mozilla=netscape 54Lynx=lynx 55Opera=opera 56Java=java 57AvantGo=avantgo 58Nokia=nokia 59UP.Browser=up 60DoCoMo=imode 61