author | fyuan |
Mon, 19 Dec 2016 11:13:32 +0800 | |
changeset 42805 | 857b5e6eef37 |
parent 25868 | 686eef1e7a79 |
permissions | -rw-r--r-- |
6 | 1 |
########################################################################### |
42805
857b5e6eef37
8087303: LSSerializer pretty print does not work anymore
fyuan
parents:
25868
diff
changeset
|
2 |
# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. |
6 | 3 |
########################################################################### |
42805
857b5e6eef37
8087303: LSSerializer pretty print does not work anymore
fyuan
parents:
25868
diff
changeset
|
4 |
## |
857b5e6eef37
8087303: LSSerializer pretty print does not work anymore
fyuan
parents:
25868
diff
changeset
|
5 |
# Licensed to the Apache Software Foundation (ASF) under one |
857b5e6eef37
8087303: LSSerializer pretty print does not work anymore
fyuan
parents:
25868
diff
changeset
|
6 |
# or more contributor license agreements. See the NOTICE file |
857b5e6eef37
8087303: LSSerializer pretty print does not work anymore
fyuan
parents:
25868
diff
changeset
|
7 |
# distributed with this work for additional information |
857b5e6eef37
8087303: LSSerializer pretty print does not work anymore
fyuan
parents:
25868
diff
changeset
|
8 |
# regarding copyright ownership. The ASF licenses this file |
857b5e6eef37
8087303: LSSerializer pretty print does not work anymore
fyuan
parents:
25868
diff
changeset
|
9 |
# to you under the Apache License, Version 2.0 (the "License"); |
6 | 10 |
# you may not use this file except in compliance with the License. |
11 |
# You may obtain a copy of the License at |
|
12 |
# |
|
13 |
# http://www.apache.org/licenses/LICENSE-2.0 |
|
14 |
# |
|
15 |
# Unless required by applicable law or agreed to in writing, software |
|
16 |
# distributed under the License is distributed on an "AS IS" BASIS, |
|
17 |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
18 |
# See the License for the specific language governing permissions and |
|
19 |
# limitations under the License. |
|
42805
857b5e6eef37
8087303: LSSerializer pretty print does not work anymore
fyuan
parents:
25868
diff
changeset
|
20 |
## |
6 | 21 |
# |
42805
857b5e6eef37
8087303: LSSerializer pretty print does not work anymore
fyuan
parents:
25868
diff
changeset
|
22 |
# Specify defaults when method="html". These defaults use output_xml.properties |
6 | 23 |
# as a base. |
24 |
# |
|
25 |
||
26 |
# XSLT properties do not need namespace qualification. |
|
27 |
method=html |
|
28 |
indent=yes |
|
29 |
media-type=text/html |
|
30 |
version=4.0 |
|
31 |
||
32 |
# Xalan-specific output properties. These can be overridden in the stylesheet |
|
33 |
# assigning a xalan namespace. For example: |
|
34 |
# <xsl:stylesheet version="1.0" |
|
35 |
# xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
|
36 |
# xmlns:xalan="http://xml.apache.org/xalan"> |
|
37 |
# <xsl:output method="html" encoding="UTF-8" |
|
38 |
# xalan:content-handler="MyContentHandler"/> |
|
39 |
# ... |
|
40 |
# Note that the colon after the protocol needs to be escaped. |
|
42805
857b5e6eef37
8087303: LSSerializer pretty print does not work anymore
fyuan
parents:
25868
diff
changeset
|
41 |
{http\u003a//xml.apache.org/xalan}indent-amount=4 |
6 | 42 |
{http\u003a//xml.apache.org/xalan}content-handler=com.sun.org.apache.xml.internal.serializer.ToHTMLStream |
43 |
{http\u003a//xml.apache.org/xalan}entities=com/sun/org/apache/xml/internal/serializer/HTMLEntities |
|
44 |
{http\u003a//xml.apache.org/xalan}use-url-escaping=yes |
|
45 |
{http\u003a//xml.apache.org/xalan}omit-meta-tag=no |