1*1212f9a0SAndroid Build Coastguard Worker<?xml version="1.0"?> 2*1212f9a0SAndroid Build Coastguard Worker<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" 3*1212f9a0SAndroid Build Coastguard Worker xmlns:bogus="http://www.bogus_ns.com" 4*1212f9a0SAndroid Build Coastguard Worker xmlns:lotus="http://www.lotus.com" 5*1212f9a0SAndroid Build Coastguard Worker xmlns:ped="www.ped.com"> 6*1212f9a0SAndroid Build Coastguard Worker 7*1212f9a0SAndroid Build Coastguard Worker <!-- FileName: namespace23 --> 8*1212f9a0SAndroid Build Coastguard Worker <!-- Document: http://www.w3.org/TR/xslt --> 9*1212f9a0SAndroid Build Coastguard Worker <!-- DocVersion: 19991116 --> 10*1212f9a0SAndroid Build Coastguard Worker <!-- Section: 2.1 XSLT Namespace --> 11*1212f9a0SAndroid Build Coastguard Worker <!-- Creator: Paul Dick --> 12*1212f9a0SAndroid Build Coastguard Worker <!-- Purpose: Testing an attribute not from the XSLT namespace, which is 13*1212f9a0SAndroid Build Coastguard Worker legal provided that the expanded name of the attribute has a non-null 14*1212f9a0SAndroid Build Coastguard Worker namespace URI. This tests for many xslt elements, apparent code path 15*1212f9a0SAndroid Build Coastguard Worker are different for numerous elements. Should actually output a "bogus" 16*1212f9a0SAndroid Build Coastguard Worker stylesheet. --> 17*1212f9a0SAndroid Build Coastguard Worker 18*1212f9a0SAndroid Build Coastguard Worker<xsl:import href="test1.xsl" ped:a="a"/> 19*1212f9a0SAndroid Build Coastguard Worker<xsl:include href="test2.xsl" ped:b="b"/> 20*1212f9a0SAndroid Build Coastguard Worker<xsl:output method="xml" indent="yes" lotus:c="c"/> 21*1212f9a0SAndroid Build Coastguard Worker 22*1212f9a0SAndroid Build Coastguard Worker<xsl:key name="sprtest" match="TestID" use="Name" lotus:d="d"/> 23*1212f9a0SAndroid Build Coastguard Worker 24*1212f9a0SAndroid Build Coastguard Worker<xsl:strip-space elements="a" ped:e="e"/> 25*1212f9a0SAndroid Build Coastguard Worker<xsl:preserve-space elements="b" lotus:f="f"/> 26*1212f9a0SAndroid Build Coastguard Worker 27*1212f9a0SAndroid Build Coastguard Worker<xsl:variable name="Var1" ped:g="g"> 28*1212f9a0SAndroid Build Coastguard WorkerDefaultValueOfVar1 29*1212f9a0SAndroid Build Coastguard Worker</xsl:variable> 30*1212f9a0SAndroid Build Coastguard Worker 31*1212f9a0SAndroid Build Coastguard Worker<xsl:param name="Param1" lotus:h="h"> 32*1212f9a0SAndroid Build Coastguard WorkerDefaultValueOfParam1 33*1212f9a0SAndroid Build Coastguard Worker</xsl:param> 34*1212f9a0SAndroid Build Coastguard Worker 35*1212f9a0SAndroid Build Coastguard Worker<xsl:attribute-set name="my-style" ped:i="i"> 36*1212f9a0SAndroid Build Coastguard Worker <xsl:attribute name="my-size" lotus:j="j">12pt</xsl:attribute> 37*1212f9a0SAndroid Build Coastguard Worker <xsl:attribute name="my-weight">bold</xsl:attribute> 38*1212f9a0SAndroid Build Coastguard Worker</xsl:attribute-set> 39*1212f9a0SAndroid Build Coastguard Worker 40*1212f9a0SAndroid Build Coastguard Worker<xsl:namespace-alias stylesheet-prefix="bogus" result-prefix="xsl" ped:k="k"/> 41*1212f9a0SAndroid Build Coastguard Worker<xsl:decimal-format decimal-separator="," grouping-separator=" " lotus:l="l" /> 42*1212f9a0SAndroid Build Coastguard Worker 43*1212f9a0SAndroid Build Coastguard Worker<xsl:template match="/"> 44*1212f9a0SAndroid Build Coastguard Worker <bogus:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> 45*1212f9a0SAndroid Build Coastguard Worker <bogus:template match="/"> 46*1212f9a0SAndroid Build Coastguard Worker <out> 47*1212f9a0SAndroid Build Coastguard Worker Yeee ha 48*1212f9a0SAndroid Build Coastguard Worker </out> 49*1212f9a0SAndroid Build Coastguard Worker </bogus:template> 50*1212f9a0SAndroid Build Coastguard Worker </bogus:stylesheet> 51*1212f9a0SAndroid Build Coastguard Worker</xsl:template> 52*1212f9a0SAndroid Build Coastguard Worker 53*1212f9a0SAndroid Build Coastguard Worker 54*1212f9a0SAndroid Build Coastguard Worker <!-- 55*1212f9a0SAndroid Build Coastguard Worker * Licensed to the Apache Software Foundation (ASF) under one 56*1212f9a0SAndroid Build Coastguard Worker * or more contributor license agreements. See the NOTICE file 57*1212f9a0SAndroid Build Coastguard Worker * distributed with this work for additional information 58*1212f9a0SAndroid Build Coastguard Worker * regarding copyright ownership. The ASF licenses this file 59*1212f9a0SAndroid Build Coastguard Worker * to you under the Apache License, Version 2.0 (the "License"); 60*1212f9a0SAndroid Build Coastguard Worker * you may not use this file except in compliance with the License. 61*1212f9a0SAndroid Build Coastguard Worker * You may obtain a copy of the License at 62*1212f9a0SAndroid Build Coastguard Worker * 63*1212f9a0SAndroid Build Coastguard Worker * http://www.apache.org/licenses/LICENSE-2.0 64*1212f9a0SAndroid Build Coastguard Worker * 65*1212f9a0SAndroid Build Coastguard Worker * Unless required by applicable law or agreed to in writing, software 66*1212f9a0SAndroid Build Coastguard Worker * distributed under the License is distributed on an "AS IS" BASIS, 67*1212f9a0SAndroid Build Coastguard Worker * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 68*1212f9a0SAndroid Build Coastguard Worker * See the License for the specific language governing permissions and 69*1212f9a0SAndroid Build Coastguard Worker * limitations under the License. 70*1212f9a0SAndroid Build Coastguard Worker --> 71*1212f9a0SAndroid Build Coastguard Worker 72*1212f9a0SAndroid Build Coastguard Worker</xsl:stylesheet> 73