topical media & game development

talk show tell print

basic-xml-08-Objects3.xsl / xsl

  <?xml version='1.0'?>
  <xsl:template match="/">
     <title>Object Characteristics</title>
    <xsl:apply-templates select="/Objects/Object" >
     <xsl:sort select="@name" />
  <xsl:template match="Object">
    <h3>Characteristics of <xsl:value-of select="@name" /></h3>
   <xsl:for-each select="Characteristic">
   <xsl:sort select="." order="descending" />
    <li><xsl:value-of select="." /></li>

(C) Æliens 20/2/2008

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.