topical media & game development

talk show tell print

professional-ajax-04-XSLT-IE-AddParameterBooks.xsl / xsl

  <?xml version="1.0" encoding="UTF-8" ?>
  <xsl:stylesheet version="1.0" xmlns:xsl="">
    <xsl:output method="xml" omit-xml-declaration="yes" indent="yes" />
    <xsl:param name="message" />
    <xsl:template match="/">
          <link rel="stylesheet" type="text/css" href="books.css" />
          <div align="center">
              <xsl:value-of select="message" />
          <xsl:apply-templates />
    <xsl:template match="book">
      <div class="bookContainer">
        <xsl:variable name="isbn" select="@isbn" />
        <xsl:variable name="title" select="title" />
        <img class="bookCover" alt="title" src="images/{isbn}.png" />
        <div class="bookContent">
            <xsl:value-of select="title" />
          Written by: <xsl:value-of select="author" /><br />
          ISBN #<xsl:value-of select="isbn" />
          <div class="bookPublisher">
            <xsl:value-of select="publisher" />

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