1<?xml version="1.0" encoding="ISO-8859-1"?> 2 3<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> 4 5<xsl:output method="html"/> 6 7 8 9 <!-- FileName: entref01 --> 10 11 <!-- Document: http://www.w3.org/TR/xslt --> 12 13 <!-- DocVersion: 19991116 --> 14 15 <!-- Section: 16.2 HTML Output Method --> 16 17 <!-- Purpose: ESC of non-ASCII chars in URI attribute values using method 18 19 cited in Section B.2.1 of HTML 4.0 Spec. --> 20 21 22 23<xsl:template match="/"> 24 25 <out> 26 27 28 29 1. "&" <A HREF="&"/> 30 31 2. "<" <A href="<"/> 32 33 3. ">" <A href=">"/> 34 35 4. """ <A href="""/> 36 37 5. "'" <A href="'"/> 38 39 6. "©" <A HREF="©"/> <!-- Copyright --> 40 41 7. "#" <A href="#"/> <!-- Hashmark --> 42 43 8. "¥" <A href="¥"/> <!-- yen --> 44 45 9. " " <A href=" "/> <img src="Test 31 Gif.gif"/> 46 47 10."%" <A href="%"/> <!-- percent --> 48 49 11."	" <A href="	"/> <!-- tab --> 50 51 12."" <A href=""/> <!-- delete --> 52 53 13."Ñ" <A href="Ñ"/> <!-- N-tilde --> 54 55 14."Œ" <A href="Œ"/> <!-- OE Ligature --> 56 57 <A href="phnix.html">test1</A> 58 59 <A href="phŒnix.html">test2</A> 60 61 </out> 62 63</xsl:template> 64 65 <!-- 66 * Licensed to the Apache Software Foundation (ASF) under one 67 * or more contributor license agreements. See the NOTICE file 68 * distributed with this work for additional information 69 * regarding copyright ownership. The ASF licenses this file 70 * to you under the Apache License, Version 2.0 (the "License"); 71 * you may not use this file except in compliance with the License. 72 * You may obtain a copy of the License at 73 * 74 * http://www.apache.org/licenses/LICENSE-2.0 75 * 76 * Unless required by applicable law or agreed to in writing, software 77 * distributed under the License is distributed on an "AS IS" BASIS, 78 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 79 * See the License for the specific language governing permissions and 80 * limitations under the License. 81 --> 82 83</xsl:stylesheet> 84