| 1 |
<!-- |
| 2 |
Licensed to the Apache Software Foundation (ASF) under one or more |
| 3 |
contributor license agreements. See the NOTICE file distributed with |
| 4 |
this work for additional information regarding copyright ownership. |
| 5 |
The ASF licenses this file to You under the Apache License, Version 2.0 |
| 6 |
(the "License"); you may not use this file except in compliance with |
| 7 |
the License. You may obtain a copy of the License at |
| 8 |
|
| 9 |
http://www.apache.org/licenses/LICENSE-2.0 |
| 10 |
|
| 11 |
Unless required by applicable law or agreed to in writing, software |
| 12 |
distributed under the License is distributed on an "AS IS" BASIS, |
| 13 |
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 |
See the License for the specific language governing permissions and |
| 15 |
limitations under the License. |
| 16 |
--> |
| 17 |
<!-- $Id$ --> |
| 18 |
<xsl:stylesheet version="1.0" |
| 19 |
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
| 20 |
xmlns:lxslt="http://xml.apache.org/xslt" |
| 21 |
xmlns:redirect="org.apache.xalan.xslt.extensions.Redirect" |
| 22 |
extension-element-prefixes="redirect"> |
| 23 |
|
| 24 |
<xsl:import href="elements.xsl"/> |
| 25 |
|
| 26 |
<xsl:output method="xml" /> |
| 27 |
|
| 28 |
<xsl:template match="elements"> |
| 29 |
<property-list> |
| 30 |
<xsl:attribute name="family"> |
| 31 |
<xsl:call-template name="capall"><xsl:with-param name="str" select="$prefixVal"/></xsl:call-template> |
| 32 |
</xsl:attribute> |
| 33 |
<generic-property-list> |
| 34 |
<xsl:apply-templates select="*//attribute"/> |
| 35 |
</generic-property-list> |
| 36 |
</property-list> |
| 37 |
</xsl:template> |
| 38 |
|
| 39 |
<xsl:template match="*//attribute"> |
| 40 |
<property> |
| 41 |
<name><xsl:apply-templates/></name> |
| 42 |
<use-generic ispropclass="true">SVGStringProperty</use-generic> |
| 43 |
</property> |
| 44 |
</xsl:template> |
| 45 |
|
| 46 |
|
| 47 |
</xsl:stylesheet> |