Answer 2:

<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

  <xsl:template match="NAME">
    <h2><xsl:value-of select="."/></h2>
  </xsl:template>

 <xsl:template match="ATOMIC_WEIGHT">
    <p><xsl:value-of select="."/></p>
  </xsl:template>

  <xsl:template match="ATOMIC_NUMBER">
    <p><xsl:value-of select="."/></p>
  </xsl:template>

 <xsl:template match="OXIDATION_STATES">
    <p><xsl:value-of select="."/></p>
  </xsl:template>

 <xsl:template match="BOILING_POINT">
    <p><xsl:value-of select="."/></p>
  </xsl:template>

 <xsl:template match="SYMBOL">
    <p><xsl:value-of select="."/></p>
  </xsl:template>

 <xsl:template match="DENSITY">
    <p><xsl:value-of select="."/></p>
  </xsl:template>

 <xsl:template match="ELECTRON_CONFIGURATION">
    <p><xsl:value-of select="."/></p>
  </xsl:template>

 <xsl:template match="ELECTRONEGATIVITY">
    <p><xsl:value-of select="."/></p>
  </xsl:template>

 <xsl:template match="ATOMIC_RADIUS">
    <p><xsl:value-of select="."/></p>
  </xsl:template>

 <xsl:template match="ATOMIC_VOLUME">
    <p><xsl:value-of select="."/></p>
  </xsl:template>

 <xsl:template match="IONIZATION_POTENTIAL">
    <p><xsl:value-of select="."/></p>
  </xsl:template>

  <xsl:template match="THERMAL_CONDUCTIVITY">
    <p><xsl:value-of select="."/></p>
  </xsl:template>
  
</xsl:stylesheet>
View Transformed Document in Browser
Previous | Next | Top | Cafe con Leche

Copyright 2002, 2003 Elliotte Rusty Harold
Elliotte Rusty Harold
Last Modified October 14, 2002