PREVIOUS UP  Technologies Internet et Education, © TECFA
  10. Executive summary

10. Executive summary

  1. 1. Create a XSLT stylesheet file: xxx.xsl
  2. 2. Copy/paste the XSLT header and root element below (decide encoding as you like)
<?xml version="1.0" encoding="ISO-8859-1" ?>
 
<xsl:stylesheet version="1.0"   xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

 
</xsl:stylesheet>
  1. Write a rule that deals with your XML root element
<xsl:template match="page">
  <html> 
  <head> <title> <xsl:value-of select="title"/> 
</title> </head>
  <body bgcolor="#ffffff">
     <xsl:apply-templates/>
  </body>
  </html>
</xsl:template>
  1. 4. Write rules for each (!!) of your XML elements,
  2. 5. Associate this stylesheet with your XML file using:

PREVIOUSUP -- TIE