home *** CD-ROM | disk | FTP | other *** search
/ 11 Top Anwendungen / CD_ROM_MAGAZIN.iso / MoneyMethod-Demo / Beispiel / source / XML / mailform.xsl < prev    next >
Encoding:
Extensible Markup Language  |  2000-05-29  |  995 b   |  31 lines

  1. <xsl:stylesheet
  2.   version="1.0"
  3.   xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  4.   xmlns:xt="http://www.jclark.com/xt">
  5. <xsl:output method="html"/>
  6.  
  7. <xsl:strip-space elements="*"/>
  8.  
  9. <xsl:template name="makemailform">
  10. <xt:document href="{concat($filepath, 'mailform.htm')}">
  11. <html><head><title></title>
  12. <meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type"/>
  13. </head>
  14. <script src="scripts/xslcheck.js">
  15. </script>
  16. <xsl:element name="body" use-attribute-sets="page-style">
  17. <xsl:attribute name="text"><xsl:value-of select="$row-font-st/param[@name='color']/@value"/></xsl:attribute>
  18. <xsl:element name="font" use-attribute-sets="row-font-style">
  19. <script>                                                                                     
  20. if(parent.shop.isScriptLoaded) {
  21.     parent.shop.printOrder(self,0,0);
  22.     parent.shop.printUserData(self,0,1);
  23. }
  24. </script>
  25. </xsl:element>
  26. </xsl:element>
  27. </html>
  28. </xt:document>
  29. </xsl:template>
  30.  
  31. </xsl:stylesheet>