1*705deb1aSAndrew Rist/**************************************************************
2*705deb1aSAndrew Rist *
3*705deb1aSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*705deb1aSAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*705deb1aSAndrew Rist * distributed with this work for additional information
6*705deb1aSAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*705deb1aSAndrew Rist * to you under the Apache License, Version 2.0 (the
8*705deb1aSAndrew Rist * "License"); you may not use this file except in compliance
9*705deb1aSAndrew Rist * with the License.  You may obtain a copy of the License at
10*705deb1aSAndrew Rist *
11*705deb1aSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*705deb1aSAndrew Rist *
13*705deb1aSAndrew Rist * Unless required by applicable law or agreed to in writing,
14*705deb1aSAndrew Rist * software distributed under the License is distributed on an
15*705deb1aSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*705deb1aSAndrew Rist * KIND, either express or implied.  See the License for the
17*705deb1aSAndrew Rist * specific language governing permissions and limitations
18*705deb1aSAndrew Rist * under the License.
19*705deb1aSAndrew Rist *
20*705deb1aSAndrew Rist *************************************************************/
21cdf0e10cSrcweir
22cdf0e10cSrcweir<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:UML = 'org.omg.xmi.namespace.UML' xml:space="default">
23cdf0e10cSrcweir<xsl:output indent="yes"/>
24cdf0e10cSrcweir<xsl:template match="/">
25cdf0e10cSrcweir  <xsl:for-each select="//UML:Class[@xmi.id]">
26cdf0e10cSrcweir    <xsl:value-of select="@xmi.id"/>
27cdf0e10cSrcweir    <xsl:text>&#xa;</xsl:text>
28cdf0e10cSrcweir  </xsl:for-each>
29cdf0e10cSrcweir  <xsl:value-of select="count(//UML:Class)"/>
30cdf0e10cSrcweir</xsl:template>
31*705deb1aSAndrew Rist</xsl:stylesheet>
32