Home | History | Annotate | Download | only in serializer
      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: output_html.properties 468654 2006-10-28 07:09:23Z minchau $
     20 #
     21 # Specify defaults when method="html".  These defaults use output_xml.properties 
     22 # as a base.
     23 #
     24 
     25 # XSLT properties do not need namespace qualification.
     26 method=html
     27 indent=yes
     28 media-type=text/html
     29 version=4.0
     30 
     31 # Xalan-specific output properties.  These can be overridden in the stylesheet 
     32 # assigning a xalan namespace.  For example:
     33 # <xsl:stylesheet version="1.0"
     34 #          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     35 #          xmlns:xalan="http://xml.apache.org/xalan">
     36 #  <xsl:output method="html" encoding="UTF-8"
     37 #              xalan:content-handler="MyContentHandler"/>
     38 #  ...
     39 # Note that the colon after the protocol needs to be escaped.
     40 {http\u003a//xml.apache.org/xalan}indent-amount=0
     41 {http\u003a//xml.apache.org/xalan}content-handler=org.apache.xml.serializer.ToHTMLStream
     42 {http\u003a//xml.apache.org/xalan}entities=org/apache/xml/serializer/HTMLEntities
     43 {http\u003a//xml.apache.org/xalan}use-url-escaping=yes
     44 {http\u003a//xml.apache.org/xalan}omit-meta-tag=no
     45