topical media & game development

talk show tell print

basic-xml-07-Employees2.xsl / xsl

   xmlns:xsl="" >
  <xsl:template match="/">
     <title>This demonstrates the following-sibling axis.</title>
     <h3>Following-sibling axis demo.</h3>
     <xsl:apply-templates select="/Employees/Person[1]/FirstName" />
  <xsl:template match="FirstName">
   <xsl:for-each select="following-sibling::*">
    <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.