topical media & game development

talk show tell print

basic-xml-07-Employees3.xsl / xsl

   xmlns:xsl="" >
  <xsl:template match="/">
     <title>This demonstrates the preceding axis.</title>
     <h3>Preceding axis demo.</h3>
     <xsl:apply-templates select="/Employees/Person[3]/DateOfBirth" />
  <xsl:template match="DateOfBirth">
   <xsl:for-each select="preceding::*">
    <p><xsl:value-of select="name(.)" /> which contains the text "<xsl:value-of select='.' />".</p>

(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.