You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by vs...@apache.org on 2007/10/15 14:16:50 UTC
svn commit: r584763 -
/maven/sandbox/trunk/jxr/maven-jxr/maven-jxr-ant/src/main/resources/vizant/xml2tg.xsl
Author: vsiveton
Date: Mon Oct 15 05:16:49 2007
New Revision: 584763
URL: http://svn.apache.org/viewvc?rev=584763&view=rev
Log:
o bug fix to handle subgraph template
o indent the xml output
Modified:
maven/sandbox/trunk/jxr/maven-jxr/maven-jxr-ant/src/main/resources/vizant/xml2tg.xsl
Modified: maven/sandbox/trunk/jxr/maven-jxr/maven-jxr-ant/src/main/resources/vizant/xml2tg.xsl
URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/jxr/maven-jxr/maven-jxr-ant/src/main/resources/vizant/xml2tg.xsl?rev=584763&r1=584762&r2=584763&view=diff
==============================================================================
--- maven/sandbox/trunk/jxr/maven-jxr/maven-jxr-ant/src/main/resources/vizant/xml2tg.xsl (original)
+++ maven/sandbox/trunk/jxr/maven-jxr/maven-jxr-ant/src/main/resources/vizant/xml2tg.xsl Mon Oct 15 05:16:49 2007
@@ -1,26 +1,32 @@
<?xml version="1.0"?>
+
<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
- http://www.apache.org/licenses/LICENSE-2.0
+ http://www.apache.org/licenses/LICENSE-2.0
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
-->
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
- <xsl:output method = "xml" />
+
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+ <xsl:output method = "xml" version="1.0" encoding="iso-8859-1" indent="yes"/>
<xsl:template match="graph">
<TOUCHGRAPH_LB version="1.20">
<NODESET>
<xsl:apply-templates select="node"/>
+ <xsl:apply-templates select="subgraph"/>
</NODESET>
<EDGESET>
<xsl:apply-templates select="edge" />
@@ -34,14 +40,14 @@
</TOUCHGRAPH_LB>
</xsl:template>
<!--
- <xsl:template match="attributes">
- <h3><xsl:value-of select="@type" /></h3>
- <xsl:apply-templates select="attribute"/>
- </xsl:template>
-
- <xsl:template match="attribute">
- <xsl:value-of select="@name" />"="<xsl:value-of select="@value" /><br />
- </xsl:template>
+ <xsl:template match="attributes">
+ <h3><xsl:value-of select="@type" /></h3>
+ <xsl:apply-templates select="attribute"/>
+ </xsl:template>
+
+ <xsl:template match="attribute">
+ <xsl:value-of select="@name" />"="<xsl:value-of select="@value" /><br />
+ </xsl:template>
-->
<xsl:template match="node">
<NODE>